* deflex.l: Accept '?' in symbol names, for VC++ mangled names.
From Mikey <jeffdb@netzone.com>.
This commit is contained in:
parent
46b6795a39
commit
9a455e6bd6
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue