2 Copyright 1997, 1998, 2001, 2002, 2005 Free Software Foundation, Inc.
4 This file is part of GAS, the GNU Assembler.
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
27 #include <itbl-parse.h>
30 #define DBG(x) printf x
31 #define MDBG(x) printf x
67 yylval.processor = strtoul (yytext+1, 0, 0);
72 yylval.num = strtoul (yytext, 0, 0);
77 yylval.num = strtoul (yytext, 0, 0);
82 yylval.str = strdup (yytext);
87 while ((c = input ()) != EOF)
98 MDBG (("in lex, NL = %d (x%x)\n", NL, NL));
104 MDBG (("char = %x, %d\n", yytext[0], yytext[0]));