Fix language of compilation unit with unknown file extension
[deliverable/binutils-gdb.git] / gdb / ada-lex.l
index c50f5a83bdb67fe817869d601ee83e6431dfe27c..1a93a5ce96051b4af172ad99a3d59870a7b9cd6d 100644 (file)
@@ -1,5 +1,5 @@
 /* FLEX lexer for Ada expressions, for GDB.
-   Copyright (C) 1994-2014 Free Software Foundation, Inc.
+   Copyright (C) 1994-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -205,7 +205,7 @@ false               { return FALSEKEYWORD; }
 
         /* ATTRIBUTES */
 
-{TICK}[a-zA-Z][a-zA-Z]+ { return processAttribute (yytext+1); }
+{TICK}[a-zA-Z][a-zA-Z]+ { BEGIN INITIAL; return processAttribute (yytext+1); }
 
        /* PUNCTUATION */
 
This page took 0.023167 seconds and 4 git commands to generate.