]> ocean-lang.org Git - ocean/blobdiff - csrc/indent_test.mdc
parsergen: allow $$OUT as well as $$NEWLINE
[ocean] / csrc / indent_test.mdc
index 6ba2479e58ecbd449811c6a355295cb4b7b629a8..88e93914aa6f88a7b49638e230c3d99e372019eb 100644 (file)
@@ -162,7 +162,7 @@ $*statement
                | Open SimpleStatements } ${ $0 = $<2; }$
                | : SimpleStatements $$NEWLINE ${ $0 = $<2; }$
                | : StatementBlock ${ $0 = $<2; }$
-       StatementBlock -> Statementlist $$NEWLINE ${ $0 = $<1; }$
+       StatementBlock -> Statementlist $$OUT ${ $0 = $<1; }$
 
        SimpleStatements -> SimpleStatements ; SimpleStatement ${
                        {