diff options
Diffstat (limited to 'src/ugly.h')
-rw-r--r-- | src/ugly.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/ugly.h b/src/ugly.h new file mode 100644 index 00000000..c7512255 --- /dev/null +++ b/src/ugly.h @@ -0,0 +1,36 @@ +/* +** ugly.h +** TecCGraf - PUC-Rio +** $Id: ugly.h,v 1.2 1994/11/13 14:39:04 roberto Stab $ +*/ + +#ifndef ugly_h +#define ugly_h + +/* This enum must have the same order of the array 'reserved' in lex.c */ + +enum { + U_and=128, + U_do, + U_else, + U_elseif, + U_end, + U_function, + U_if, + U_local, + U_nil, + U_not, + U_or, + U_repeat, + U_return, + U_then, + U_until, + U_while, + U_eq = '='+128, + U_le = '<'+128, + U_ge = '>'+128, + U_ne = '~'+128, + U_sc = '.'+128 +}; + +#endif |