projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44581f
)
Improve error recovery in parse_asm_arguments().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 8 Nov 2012 13:23:02 +0000
(14:23 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 8 Nov 2012 14:01:28 +0000
(15:01 +0100)
There is not need to abort parsing arguments, if we failed to parse the name for an asm argument.
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
16e388d
..
01aac6b
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-8651,8
+8651,6
@@
static asm_argument_t *parse_asm_arguments(bool is_out)
argument->symbol = expect_identifier("while parsing asm argument", NULL);
rem_anchor_token(']');
expect(']');
- if (!argument->symbol)
- return NULL;
}
argument->constraints = parse_string_literals("asm argument");