Update year range in copyright notice of all files owned by the GDB project.
[deliverable/binutils-gdb.git] / binutils / deflex.l
index bd8fbdc8f290361ee3cae73d17b1e5c68b3eaa72..0a9a0d94abb7ebe1b777d257cdf9ebee98570fe8 100644 (file)
@@ -1,7 +1,8 @@
+%option noinput nounput
+
 %{/* deflex.l - Lexer for .def files */
 
-/* Copyright 1995, 1997, 1998, 1999, 2002, 2003, 2004, 2005, 2007
-   Free Software Foundation, Inc.
+/* Copyright (C) 1995-2014 Free Software Foundation, Inc.
    
    This file is part of GNU Binutils.
    
@@ -28,8 +29,6 @@
 #include "defparse.h"
 #include "dlltool.h"
 
-#define YY_NO_UNPUT
-
 int linenumber;
 
 %}
@@ -64,7 +63,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;
                }
@@ -86,6 +85,7 @@ int linenumber;
 "\t"           { }
 "\r"           { }
 "\n"           { linenumber ++ ;}
+"=="           { return EQUAL;}
 "="            { return '=';}
 "."            { return '.';}
 "@"            { return '@';}
This page took 0.023725 seconds and 4 git commands to generate.