4 Copyright (C) 1997-2019 Free Software Foundation, Inc.
6 This file is part of GAS, the GNU Assembler.
8 GAS is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
13 GAS is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GAS; see the file COPYING. If not, write to the Free
20 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
26 #include <itbl-parse.h>
29 #define DBG(x) printf x
30 #define MDBG(x) printf x
66 yylval.processor = strtoul (yytext+1, 0, 0);
71 yylval.num = strtoul (yytext, 0, 0);
76 yylval.num = strtoul (yytext, 0, 0);
81 yylval.str = strdup (yytext);
86 while ((c = input ()) != EOF)
97 MDBG (("in lex, NL = %d (x%x)\n", NL, NL));
103 MDBG (("char = %x, %d\n", yytext[0], yytext[0]));