aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lex.l
diff options
context:
space:
mode:
authorPaul N. Hilfinger <hilfinger@adacore.com>2004-10-03 08:35:57 +0000
committerPaul N. Hilfinger <hilfinger@adacore.com>2004-10-03 08:35:57 +0000
commit7dc1ef8d9d5104579c1e07f47f870ab51f466479 (patch)
treedea98ad1d682a3894a3860649fd25b510e200698 /gdb/ada-lex.l
parenta988509aa986640530a23e1ce53460b46019d7eb (diff)
downloadgdb-7dc1ef8d9d5104579c1e07f47f870ab51f466479.zip
gdb-7dc1ef8d9d5104579c1e07f47f870ab51f466479.tar.gz
gdb-7dc1ef8d9d5104579c1e07f47f870ab51f466479.tar.bz2
* Makefile.in (.l.c): Modify rule for compatibility with recent
versions of flex, and remove most command-line options. * ada-lex.l: Add %options line in place of -I -i and -s command-line options.
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r--gdb/ada-lex.l5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l
index 6ecd849..1087058 100644
--- a/gdb/ada-lex.l
+++ b/gdb/ada-lex.l
@@ -26,9 +26,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* each successive token and places a semantic value into yylval */
/* (ada-lval), defined by the parser. */
-/* Run flex with (at least) the -i option (case-insensitive), and the -I */
-/* option (interactive---no unnecessary lookahead). */
-
DIG [0-9]
NUM10 ({DIG}({DIG}|_)*)
HEXDIG [0-9a-f]
@@ -89,6 +86,8 @@ static int find_dot_all (const char *);
%}
+%option case-insensitive interactive nodefault
+
%s IN_STRING BEFORE_QUAL_QUOTE
%%