godump.c (go_define): Ignore macros whose definitions include two adjacent operands.
* godump.c (go_define): Ignore macros whose definitions include two adjacent operands. From-SVN: r169385
This commit is contained in:
parent
dafc8f50f2
commit
9b798ac5b8
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-01-28 Ian Lance Taylor <iant@google.com>
|
||||||
|
|
||||||
|
* godump.c (go_define): Ignore macros whose definitions include
|
||||||
|
two adjacent operands.
|
||||||
|
|
||||||
2011-01-28 Jakub Jelinek <jakub@redhat.com>
|
2011-01-28 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR target/42894
|
PR target/42894
|
||||||
|
|
|
@ -142,6 +142,9 @@ go_define (unsigned int lineno, const char *buffer)
|
||||||
const char *start;
|
const char *start;
|
||||||
char *n;
|
char *n;
|
||||||
|
|
||||||
|
if (saw_operand)
|
||||||
|
goto unknown;
|
||||||
|
|
||||||
start = p;
|
start = p;
|
||||||
while (ISALNUM (*p) || *p == '_')
|
while (ISALNUM (*p) || *p == '_')
|
||||||
++p;
|
++p;
|
||||||
|
|
Loading…
Add table
Reference in a new issue