Adds support for fastcall symbols as used on Microsoft Windows platforms

(i386)
This commit is contained in:
Nick Clifton
2002-11-06 19:36:20 +00:00
parent ac835424b5
commit c9e3887989
20 changed files with 627 additions and 389 deletions

View File

@@ -1,6 +1,6 @@
%{/* deflex.l - Lexer for .def files */
/* Copyright 1995, 1997, 1998, 1999 Free Software Foundation, Inc.
/* Copyright 1995, 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -61,7 +61,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;
}