* deflex.l: Accept '?' in symbol names, for VC++ mangled names.
authorIan Lance Taylor <ian@airs.com>
Thu, 12 Feb 1998 20:53:49 +0000 (20:53 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 12 Feb 1998 20:53:49 +0000 (20:53 +0000)
From Mikey <jeffdb@netzone.com>.

binutils/ChangeLog
binutils/deflex.l

index d8b7c0b4a6dae1c66eda9c4d0a38ad52daee5c2f..e1d6fea8d7007e775196cac673478f0af2ba3e7d 100644 (file)
@@ -1,5 +1,8 @@
 Thu Feb 12 14:13:46 1998  Ian Lance Taylor  <ian@cygnus.com>
 
+       * deflex.l: Accept '?' in symbol names, for VC++ mangled names.
+       From Mikey <jeffdb@netzone.com>.
+
        * addr2line.c (usage): Update bug-gnu-utils address.
        * ar.c (usage): Likewise.
        * nlmconv.c (show_usage): Likewise.
index 6b758b65ea39c5a2280be1005a8ed02c21878e20..ab49e19d715ace4d9ba907e9c3d559aa97f6c871 100644 (file)
@@ -42,7 +42,7 @@ int linenumber;
 "SECTIONS"     { return SECTIONS;}
 "EXPORTS"      { return EXPORTS;}
 "IMPORTS"      { return IMPORTS;}
-"VERSION"      { return VERSION;}
+"VERSION"      { return VERSIONK;}
 "BASE"         { return BASE;}
 "CONSTANT"     { return CONSTANT; }
 "NONAME"       { return NONAME; }
@@ -54,7 +54,7 @@ int linenumber;
 [0-9][x0-9A-Fa-f]* { yylval.number = strtol (yytext,0,0); 
                return NUMBER; }
 
-[A-Za-z$:\-\_][A-Za-z0-9/$:\-\_@]+ {   
+[A-Za-z$:\-\_?][A-Za-z0-9/$:\-\_@?]+ {         
                yylval.id =  xstrdup (yytext);
                return ID;
                }