2 Copyright 1997, 1998, 2001, 2002, 2005, 2006
3 Free Software Foundation, Inc.
5 This file is part of GAS, the GNU Assembler.
7 GAS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
12 GAS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GAS; see the file COPYING. If not, write to the Free
19 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
25 #include <itbl-parse.h>
28 #define DBG(x) printf x
29 #define MDBG(x) printf x
65 yylval.processor = strtoul (yytext+1, 0, 0);
70 yylval.num = strtoul (yytext, 0, 0);
75 yylval.num = strtoul (yytext, 0, 0);
80 yylval.str = strdup (yytext);
85 while ((c = input ()) != EOF)
96 MDBG (("in lex, NL = %d (x%x)\n", NL, NL));
102 MDBG (("char = %x, %d\n", yytext[0], yytext[0]));