aboutsummaryrefslogtreecommitdiff
path: root/binutils/rclex.l
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-03-25 00:33:29 +0000
committerIan Lance Taylor <ian@airs.com>1998-03-25 00:33:29 +0000
commit48c9f0ebd554966dd52cf54f0f0ee933de085102 (patch)
tree845a1221d1ed8b9f088fe998ce5ca3c489913a70 /binutils/rclex.l
parente855e57637eda6c0869e6dfda9cf41c32a65a379 (diff)
downloadgdb-48c9f0ebd554966dd52cf54f0f0ee933de085102.zip
gdb-48c9f0ebd554966dd52cf54f0f0ee933de085102.tar.gz
gdb-48c9f0ebd554966dd52cf54f0f0ee933de085102.tar.bz2
* rclex.l: Accept { and } as synonyms for BEGIN and END.
Diffstat (limited to 'binutils/rclex.l')
-rw-r--r--binutils/rclex.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/rclex.l b/binutils/rclex.l
index d84ec47..50ef185 100644
--- a/binutils/rclex.l
+++ b/binutils/rclex.l
@@ -1,5 +1,5 @@
%{ /* rclex.l -- lexer for Windows rc files parser */
-/* Copyright 1997 Free Software Foundation, Inc.
+/* Copyright 1997, 1998 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
This file is part of GNU Binutils.
@@ -58,7 +58,9 @@ static char *get_string PARAMS ((int));
%%
"BEGIN" { return BEG; }
+"{" { return BEG; }
"END" { return END; }
+"}" { return END; }
"ACCELERATORS" { return ACCELERATORS; }
"VIRTKEY" { return VIRTKEY; }
"ASCII" { return ASCII; }