_12-braced-malformed.M1pp (483B)
1 # Malformed: unmatched `{` inside a macro call. 2 # 3 # Expected behavior: the m1pp expander MUST exit non-zero. parse_args detects 4 # that the outer RPAREN closes the call while brace_depth is still > 0 and 5 # reports "unbalanced braces". 6 # 7 # No `.expected` file is needed — the leading underscore in the filename 8 # causes m1pp/test.sh to skip this fixture. Run by hand to observe the 9 # non-zero exit with "unbalanced braces". 10 11 %macro F(a, b) 12 a b 13 %endm 14 15 %F(first, { never_closed ) 16 17 END