Skip to content

Commit

Permalink
atc game: lex cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmarino committed Jan 19, 2013
1 parent 52e9aa7 commit 81cb0ba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions games/atc/lex.l
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* SUCH DAMAGE.
*
* @(#)lex.l 8.1 (Berkeley) 5/31/93
* $DragonFly: src/games/atc/lex.l,v 1.3 2006/08/08 15:03:02 pavalos Exp $
*/

/*
Expand All @@ -43,14 +42,14 @@
* For more info on this and all of my stuff, mail edjames@berkeley.edu.
*/

#pragma GCC diagnostic ignored "-Wsign-compare"
#include "y.tab.h"

#define YY_NO_INPUT
#define YY_NO_UNPUT
extern int line;
extern int yylex(void);

%}
%option nounput
%option noinput
%%
[0-9]+ { yylval.ival = atoi(yytext); return(ConstOp); }
height { return(HeightOp); }
Expand Down

0 comments on commit 81cb0ba

Please sign in to comment.