expression_parser.messages 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. main: LOCATION_START EOL IDENT SET
  2. Unexpected expression here.
  3. main: LOCATION_START EOL L_PAREN INTEGER SET
  4. Unexpected '('. Did you forgot a function before ?
  5. main: LOCATION_START EOL IF INTEGER SET
  6. The `IF` expression does not end properly. A `:` is expected before any instruction.
  7. main: LOCATION_START EOL COLUMN STAR
  8. A location is expected after ':' not an expression
  9. main: LOCATION_START EOL ACT INTEGER SET
  10. Invalid `ACT` label. You probably missed a ':'
  11. main: LOCATION_START EOL ACT IDENT COLUMN EOL LOCATION_END
  12. A block starting with `ACT` is not closed by `END`
  13. If there are nested blocks, the error will points the highest block.
  14. main: LOCATION_START EOL IF IDENT COLUMN ELSE R_PAREN
  15. Too manies instructions on a single line.
  16. main: LOCATION_START EOL IF IDENT COLUMN EOL IDENT AMPERSAND LOCATION_END
  17. Unclosed `IF` block. Another block ends before the `END` instruction.
  18. main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE EOL LOCATION_END
  19. A block starting with `IF` is not closed by `END`
  20. If there are nested blocks, the error will points the highest block.
  21. main: LOCATION_START EOL ACT IDENT COLUMN EOL IDENT AMPERSAND LOCATION_END
  22. A block starting with `ACT` is not closed by `END`
  23. main: LOCATION_START EOL IDENT AMPERSAND END
  24. Unexpected `END`.
  25. Maybe you added an `END` after an inline `ACT` or `IF` ?
  26. main: STAR
  27. Missing location name
  28. main: LOCATION_START EOL INTEGER SET
  29. Unexpected expression here.
  30. main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF INTEGER SET
  31. The `ELIF` expression does not end properly. A `:` is expected before any instruction.
  32. main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF IDENT COLUMN EOL IDENT AMPERSAND LOCATION_END
  33. Unclosed `ELIF` block. Another block ends before the `END` instruction.
  34. main: EOL STAR
  35. The context does not allow an instruction here.
  36. main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE STAR
  37. Unexpected operator after `ELSE`
  38. main: LOCATION_START EOL IDENT DECR INTEGER SET
  39. main: LOCATION_START EOL SET IDENT DECR INTEGER SET
  40. main: LOCATION_START EOL LET IDENT DECR INTEGER SET
  41. main: LOCATION_START EOL KEYWORD INTEGER TEXT_MARKER
  42. main: LOCATION_START EOL KEYWORD IDENT COMA INTEGER TEXT_MARKER
  43. Missing separator between instructions
  44. main: LOCATION_START EOL IF STAR
  45. main: LOCATION_START EOL IDENT DECR STAR
  46. Missing operand
  47. main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF IDENT COLUMN STAR
  48. Mix between `IF` block and inline `ELIF`
  49. main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE EOL IDENT AMPERSAND LOCATION_END
  50. Unclosed `ELSE` block. Another block ends before the `END` instruction.
  51. main: LOCATION_START EOL INTEGER EQUAL STAR
  52. main: LOCATION_START EOL IDENT AND STAR
  53. main: LOCATION_START EOL IDENT OR STAR
  54. main: LOCATION_START EOL IDENT GT STAR
  55. main: LOCATION_START EOL IDENT LT STAR
  56. main: LOCATION_START EOL IDENT GT EQUAL STAR
  57. main: LOCATION_START EOL IDENT LT EQUAL STAR
  58. Missing boolean after operator
  59. main: LOCATION_START EOL IF IDENT COLUMN EOL END TEXT_MARKER
  60. Unexpected instruction after `IF` `END` block.
  61. main: LOCATION_START EOL ACT IDENT COLUMN EOL END TEXT_MARKER
  62. Unexpected instruction after `ACT` `END` block.
  63. main: LOCATION_START EOL FUNCTION L_PAREN IDENT COMA IDENT EOL
  64. Unclosed `(`
  65. main: LOCATION_START EOL IDENT PLUS STAR
  66. main: LOCATION_START EOL IDENT DIV STAR
  67. main: LOCATION_START EOL IDENT STAR STAR
  68. main: LOCATION_START EOL IDENT MINUS STAR
  69. Unknown operator. Did you write '+ =' instead of '+=' ?