aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-04-16 18:03:51 +0000
committerSteve Chamberlain <sac@cygnus>1992-04-16 18:03:51 +0000
commit1bd1fa2ddb01ac4e2b6bd176723c11037e1858c4 (patch)
tree61f768d281c54048ccc310c3b2eaf6e2b39bfdc0 /ld/ldlex.l
parent888cf6797f060ee485a5bc995579696fef5b83a7 (diff)
downloadgdb-1bd1fa2ddb01ac4e2b6bd176723c11037e1858c4.zip
gdb-1bd1fa2ddb01ac4e2b6bd176723c11037e1858c4.tar.gz
gdb-1bd1fa2ddb01ac4e2b6bd176723c11037e1858c4.tar.bz2
Lint found by Rich and gcc
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r--ld/ldlex.l9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index f4ffc4c..28e067b 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -288,6 +288,15 @@ WHITE [ \t\n]+
<MRI>"LIST".* { RTOKEN(LIST); /* LIST and ignore to end of line */ }
<MRI>"SECT" { RTOKEN(SECT); }
<MRI>"ABSOLUTE" { RTOKEN(ABSOLUTE); }
+<MRI>"end" { RTOKEN(ENDWORD); }
+<MRI>"chip" { RTOKEN(CHIP); }
+<MRI>"load" { RTOKEN(LOAD); }
+<MRI>"order" { RTOKEN(ORDER); }
+<MRI>"name" { RTOKEN(NAMEWORD); }
+<MRI>"format" { RTOKEN(FORMAT); }
+<MRI>"list".* { RTOKEN(LIST); /* LIST and ignore to end of line */ }
+<MRI>"sect" { RTOKEN(SECT); }
+<MRI>"absolute" { RTOKEN(ABSOLUTE); }
<MRI,BOTH,EXPRESSION>{FILENAMECHAR1}{FILENAMECHAR}* {
yylval.name = buystring(yytext);