Patch from David Mosberger.
[deliverable/binutils-gdb.git] / opcodes / cgen-asm.c
index 05b62bf49e1926830e1ccd0a399d82c176e68413..c71c70de08ed1cf4bd5270dc59344f90114859c6 100644 (file)
@@ -225,7 +225,9 @@ cgen_parse_keyword (cd, strp, keyword_table, valuep)
   /* Allow letters, digits, and any special characters.  */
   while (((p - start) < (int) sizeof (buf))
         && *p
-        && (ISALNUM (*p) || strchr (keyword_table->nonalpha_chars, *p)))
+        && (ISALNUM (*p)
+            || *p == '_'
+            || strchr (keyword_table->nonalpha_chars, *p)))
     ++p;
 
   if (p - start >= (int) sizeof (buf))
This page took 0.024243 seconds and 4 git commands to generate.