aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser/expression_parser.messages
blob: b708d369260368d9ba5b4cce6fdff2398f44ae1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
main: LOCATION_START EOL IDENT SET

    Unexpected expression here.

main: LOCATION_START EOL L_PAREN INTEGER SET

    Unexpected '('. Did you forgot a function before ?

main: LOCATION_START EOL IF INTEGER SET

    The `IF` expression does not end properly. A `:` is expected before any instruction.

main: LOCATION_START EOL COLUMN STAR

    A location is expected after ':' not an expression

main: LOCATION_START EOL ACT INTEGER SET

    Invalid `ACT` label. You probably missed a ':'

main: LOCATION_START EOL ACT IDENT COLUMN EOL LOCATION_END

A block starting with `ACT` is not closed by `END`
If there are nested blocks, the error will points the highest block.

main: LOCATION_START EOL IF IDENT COLUMN EOL IDENT AMPERSAND LOCATION_END

Unclosed `IF` block. Another block ends before the `END` instruction.

main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE EOL LOCATION_END

A block starting with `IF` is not closed by `END`
If there are nested blocks, the error will points the highest block.

main: LOCATION_START EOL ACT IDENT COLUMN EOL IDENT AMPERSAND LOCATION_END

    A block starting with `ACT` is not closed by `END`

main: LOCATION_START EOL IDENT AMPERSAND END

Unexpected `END`.
Maybe you added an `END` after an inline `ACT` or `IF` ?

main: STAR

    Missing location name

main: LOCATION_START EOL INTEGER SET

    Unexpected expression here.

main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF INTEGER SET

    The `ELIF` expression does not end properly. A `:` is expected before any instruction.

main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF IDENT COLUMN EOL IDENT AMPERSAND LOCATION_END

    Unclosed `ELIF` block. Another block ends before the `END` instruction.

main: EOL STAR

    The context does not allow an instruction here.

main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE STAR

    Unexpected operator after `ELSE`

main: LOCATION_START EOL IDENT DECR INTEGER SET
main: LOCATION_START EOL SET IDENT DECR INTEGER SET
main: LOCATION_START EOL LET IDENT DECR INTEGER SET
main: LOCATION_START EOL KEYWORD INTEGER TEXT_MARKER
main: LOCATION_START EOL KEYWORD IDENT COMA INTEGER TEXT_MARKER

    Missing separator between instructions

main: LOCATION_START EOL IF STAR
main: LOCATION_START EOL IDENT DECR STAR

    Missing operand

main: LOCATION_START EOL IF IDENT COLUMN EOL ELIF IDENT COLUMN STAR

    Mix between `IF` block and inline `ELIF`

main: LOCATION_START EOL IF IDENT COLUMN EOL ELSE EOL IDENT AMPERSAND LOCATION_END

    Unclosed `ELSE` block. Another block ends before the `END` instruction.

main: LOCATION_START EOL INTEGER EQUAL STAR
main: LOCATION_START EOL IDENT AND STAR
main: LOCATION_START EOL IDENT OR STAR
main: LOCATION_START EOL IDENT GT STAR
main: LOCATION_START EOL IDENT LT STAR
main: LOCATION_START EOL IDENT GT EQUAL STAR
main: LOCATION_START EOL IDENT LT EQUAL STAR

    Missing boolean after operator

main: LOCATION_START EOL IF IDENT COLUMN EOL END TEXT_MARKER

    Unexpected instruction after `IF` `END` block.

main: LOCATION_START EOL ACT IDENT COLUMN EOL END TEXT_MARKER

    Unexpected instruction after `ACT` `END` block.

main: LOCATION_START EOL FUNCTION L_PAREN IDENT COMA IDENT EOL

    Unclosed `(`

main: LOCATION_START EOL IDENT PLUS STAR
main: LOCATION_START EOL IDENT DIV STAR
main: LOCATION_START EOL IDENT STAR STAR
main: LOCATION_START EOL IDENT MINUS STAR

    Unknown operator. Did you write '+ =' instead of '+=' ?