From: Ian Lance Taylor Date: Thu, 12 Feb 1998 20:53:49 +0000 (+0000) Subject: * deflex.l: Accept '?' in symbol names, for VC++ mangled names. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a455e6bd67051474d2f9a0c3e03960e53511256;p=binutils-gdb.git * deflex.l: Accept '?' in symbol names, for VC++ mangled names. From Mikey . --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d8b7c0b4a6d..e1d6fea8d70 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,8 @@ Thu Feb 12 14:13:46 1998 Ian Lance Taylor + * deflex.l: Accept '?' in symbol names, for VC++ mangled names. + From Mikey . + * addr2line.c (usage): Update bug-gnu-utils address. * ar.c (usage): Likewise. * nlmconv.c (show_usage): Likewise. diff --git a/binutils/deflex.l b/binutils/deflex.l index 6b758b65ea3..ab49e19d715 100644 --- a/binutils/deflex.l +++ b/binutils/deflex.l @@ -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; }