ugly.h 408 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. ** ugly.h
  3. ** TecCGraf - PUC-Rio
  4. ** $Id: $
  5. */
  6. #ifndef ugly_h
  7. #define ugly_h
  8. /* This enum must have the same order of the array 'reserved' in lex.c */
  9. enum {
  10. U_and=128,
  11. U_do,
  12. U_else,
  13. U_elseif,
  14. U_end,
  15. U_function,
  16. U_if,
  17. U_local,
  18. U_nil,
  19. U_not,
  20. U_or,
  21. U_repeat,
  22. U_return,
  23. U_then,
  24. U_until,
  25. U_while,
  26. U_eq = '='+128,
  27. U_le = '<'+128,
  28. U_ge = '>'+128,
  29. U_ne = '~'+128,
  30. U_sc = '.'+128
  31. };
  32. #endif