arlex.l (225736) | arlex.l (252181) |
---|---|
1%{ 2/* arlex.l - Strange script language lexer */ 3 4/* Copyright 1992, 1997, 2000, 2001, 2002, 2003, 2004 5 Free Software Foundation, Inc. 6 7This file is part of GNU Binutils. 8 --- 14 unchanged lines hidden (view full) --- 23 24/* Contributed by Steve Chamberlain <sac@cygnus.com>. */ 25 26#define DONTDECLARE_MALLOC 27#include "ansidecl.h" 28#include "libiberty.h" 29#include "arparse.h" 30 | 1%{ 2/* arlex.l - Strange script language lexer */ 3 4/* Copyright 1992, 1997, 2000, 2001, 2002, 2003, 2004 5 Free Software Foundation, Inc. 6 7This file is part of GNU Binutils. 8 --- 14 unchanged lines hidden (view full) --- 23 24/* Contributed by Steve Chamberlain <sac@cygnus.com>. */ 25 26#define DONTDECLARE_MALLOC 27#include "ansidecl.h" 28#include "libiberty.h" 29#include "arparse.h" 30 |
31#define YY_NO_UNPUT 32 | |
33extern int yylex (void); 34 35int linenumber; 36%} 37 | 31extern int yylex (void); 32 33int linenumber; 34%} 35 |
36%option nounput 37 |
|
38%a 10000 39%o 25000 40 41%% 42 43"ADDLIB" { return ADDLIB; } 44"ADDMOD" { return ADDMOD; } 45"CLEAR" { return CLEAR; } --- 45 unchanged lines hidden --- | 38%a 10000 39%o 25000 40 41%% 42 43"ADDLIB" { return ADDLIB; } 44"ADDMOD" { return ADDMOD; } 45"CLEAR" { return CLEAR; } --- 45 unchanged lines hidden --- |