diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-02-12 20:53:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-02-12 20:53:49 +0000 |
commit | 9a455e6bd67051474d2f9a0c3e03960e53511256 (patch) | |
tree | 3a576a23abb15573f38abb8d9b3eae6744f065a6 /binutils | |
parent | 46b6795a39d7068d71836f51e5d41884f6311cff (diff) | |
download | gdb-9a455e6bd67051474d2f9a0c3e03960e53511256.zip gdb-9a455e6bd67051474d2f9a0c3e03960e53511256.tar.gz gdb-9a455e6bd67051474d2f9a0c3e03960e53511256.tar.bz2 |
* deflex.l: Accept '?' in symbol names, for VC++ mangled names.
From Mikey <jeffdb@netzone.com>.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 3 | ||||
-rw-r--r-- | binutils/deflex.l | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d8b7c0b..e1d6fea 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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. diff --git a/binutils/deflex.l b/binutils/deflex.l index 6b758b6..ab49e19 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; } |