added LESS and GREATER to parser tokens

git-svn-id: svn://anubis/fart/trunk@82 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop 2009-02-04 20:41:47 +00:00
parent e758f53a3e
commit afd0df3ce4
2 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,8 @@
\] return RBRACKET; \] return RBRACKET;
\( return LPAREN; \( return LPAREN;
\) return RPAREN; \) return RPAREN;
\< return LESS;
\> return GREATER;
0b[01]+ return BIN_NUMBER; 0b[01]+ return BIN_NUMBER;
0x[0-9A-Fa-f]+ return HEX_NUMBER; 0x[0-9A-Fa-f]+ return HEX_NUMBER;

View File

@ -43,6 +43,8 @@ int yywrap()
%token RBRACKET; %token RBRACKET;
%token LPAREN; %token LPAREN;
%token RPAREN; %token RPAREN;
%token LESS;
%token GREATER;
%token BIN_NUMBER; %token BIN_NUMBER;
%token HEX_NUMBER; %token HEX_NUMBER;