Commit 9b798ac5 by Ian Lance Taylor Committed by Ian Lance Taylor

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
parent dafc8f50
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) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment