Mercurial > hg > index.cgi
diff lwbasic/lwbasic.h @ 36:5325b640424d
First pass expression parsing
author | Lost Wizard (lost@starbug3) |
---|---|
date | Tue, 08 Feb 2011 22:42:12 -0700 |
parents | cdb0175e1063 |
children |
line wrap: on
line diff
--- a/lwbasic/lwbasic.h Sat Feb 05 14:22:54 2011 -0700 +++ b/lwbasic/lwbasic.h Tue Feb 08 22:42:12 2011 -0700 @@ -104,6 +104,10 @@ token_op_times, /* times */ token_op_divide, /* divide */ token_op_modulus, /* modulus */ + token_op_oparen, /* open paren */ + token_op_cparen, /* close paren */ + token_op_not, /* boolean not */ + token_op_bnot, /* bitwise not */ token_identifier, /* an identifier (variable, function, etc. */ token_char, /* single character; fallback */ token_uint, /* unsigned integer up to 32 bits */