add anchor token ')'
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 21 Aug 2008 12:58:25 +0000 (12:58 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 21 Aug 2008 12:58:25 +0000 (12:58 +0000)
[r21313]

parser.c

index 538e736..d3912f0 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -7445,7 +7445,9 @@ static asm_argument_t *parse_asm_arguments(bool is_out)
 
                argument->constraints = parse_string_literals();
                expect('(');
+               add_anchor_token(')');
                expression_t *expression = parse_expression();
+               rem_anchor_token(')');
                if (is_out) {
                        /* Ugly GCC stuff: Allow lvalue casts.  Skip casts, when they do not
                         * change size or type representation (e.g. int -> long is ok, but