expression_parser.messages 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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 EOL IDENT AMPERSAND LOCATION_END
  15. Unclosed `IF` block. Another block ends before the `END` instruction.
  16. main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE EOL LOCATION_END
  17. A block starting with `IF` is not closed by `END`
  18. If there are nested blocks, the error will points the highest block.
  19. main: LOCATION_START EOL ACT IDENT COLUMN EOL IDENT AMPERSAND LOCATION_END
  20. A block starting with `ACT` is not closed by `END`
  21. main: LOCATION_START EOL IDENT AMPERSAND END
  22. Unexpected `END`.
  23. Maybe you added an `END` after an inline `ACT` or `IF` ?
  24. main: STAR
  25. Missing location name
  26. main: LOCATION_START EOL INTEGER SET
  27. Unexpected expression here.
  28. main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF INTEGER SET
  29. The `ELIF` expression does not end properly. A `:` is expected before any instruction.
  30. main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF IDENT COLUMN EOL IDENT AMPERSAND LOCATION_END
  31. Unclosed `ELIF` block. Another block ends before the `END` instruction.
  32. main: EOL STAR
  33. The context does not allow an instruction here.
  34. main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE STAR
  35. Unexpected operator after `ELSE`
  36. main: LOCATION_START EOL IDENT DECR INTEGER SET
  37. main: LOCATION_START EOL SET IDENT DECR INTEGER SET
  38. main: LOCATION_START EOL LET IDENT DECR INTEGER SET
  39. main: LOCATION_START EOL KEYWORD INTEGER TEXT_MARKER
  40. main: LOCATION_START EOL KEYWORD IDENT COMA INTEGER TEXT_MARKER
  41. Missing separator between instructions
  42. main: LOCATION_START EOL IF STAR
  43. main: LOCATION_START EOL IDENT DECR STAR
  44. Missing operand
  45. main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF IDENT COLUMN STAR
  46. Mix between `IF` block and inline `ELIF`
  47. main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE EOL IDENT AMPERSAND LOCATION_END
  48. Unclosed `ELSE` block. Another block ends before the `END` instruction.
  49. main: LOCATION_START EOL INTEGER EQUAL STAR
  50. main: LOCATION_START EOL IDENT AND STAR
  51. main: LOCATION_START EOL IDENT OR STAR
  52. main: LOCATION_START EOL IDENT GT STAR
  53. main: LOCATION_START EOL IDENT LT STAR
  54. main: LOCATION_START EOL IDENT GT EQUAL STAR
  55. main: LOCATION_START EOL IDENT LT EQUAL STAR
  56. Missing boolean after operator
  57. main: LOCATION_START EOL IF IDENT COLUMN EOL END TEXT_MARKER
  58. Unexpected instruction after `IF` `END` block.
  59. main: LOCATION_START EOL ACT IDENT COLUMN EOL END TEXT_MARKER
  60. Unexpected instruction after `ACT` `END` block.
  61. main: LOCATION_START EOL FUNCTION L_PAREN IDENT COMA IDENT EOL
  62. Unclosed `(`
  63. main: LOCATION_START EOL IDENT PLUS STAR
  64. main: LOCATION_START EOL IDENT DIV STAR
  65. main: LOCATION_START EOL IDENT STAR STAR
  66. main: LOCATION_START EOL IDENT MINUS STAR
  67. Unknown operator. Did you write '+ =' instead of '+=' ?