another operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174141
138bc75d-0d04-0410-961f-
82ee72b054a4
2011-05-24 Ian Lance Taylor <iant@google.com>
+ * godump.c (go_define): Don't accept a string immediately after
+ another operand.
+
+2011-05-24 Ian Lance Taylor <iant@google.com>
+
* godump.c (struct godump_container): Add invalid_hash field.
(go_format_type): Return false if type is found in invalid_hash.
(go_output_typedef): Add invalid type to invalid_hash.
case '"':
case '\'':
{
- char quote = *p;
+ char quote;
+
+ if (saw_operand)
+ goto unknown;
+ quote = *p;
*q++ = *p++;
while (*p != quote)
{