diff options
author | Nick Clifton <nickc@redhat.com> | 2002-11-06 19:36:20 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-11-06 19:36:20 +0000 |
commit | fb3643f4833378632c66a745912f0d0f8c9b2cea (patch) | |
tree | a973ce4b9ee36feed2308d9a3490df1d7aa8b168 /binutils/deflex.l | |
parent | 02becfee199d4ccfa4e73e97f1d5cac81f952e91 (diff) | |
download | binutils-redhat-fb3643f4833378632c66a745912f0d0f8c9b2cea.tar.gz |
Adds support for fastcall symbols as used on Microsoft Windows platforms
(i386)
Diffstat (limited to 'binutils/deflex.l')
-rw-r--r-- | binutils/deflex.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/deflex.l b/binutils/deflex.l index 8ff72b8aec..d4888bc9b4 100644 --- a/binutils/deflex.l +++ b/binutils/deflex.l @@ -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; } |