Rev 4882 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4882 | Rev 4943 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | add ebx, [exp_pos] |
44 | add ebx, [exp_pos] |
45 | cmp [ebx], byte 0 |
45 | cmp [ebx], byte 0 |
46 | je .end |
46 | je .end |
47 | cmp [ebx], byte ")" |
47 | cmp [ebx], byte ")" |
48 | je .brk_end |
48 | je .brk_end |
- | 49 | cmp [ebx], byte "|" |
|
- | 50 | je .abs_end |
|
49 | inc [exp_pos] |
51 | inc [exp_pos] |
50 | cmp [ebx], byte "+" |
52 | cmp [ebx], byte "+" |
51 | jne .not_add |
53 | jne .not_add |
52 | mov ecx, eax |
54 | mov ecx, eax |
53 | stdcall parse_lvl1 |
55 | stdcall parse_lvl1 |
Line 67... | Line 69... | ||
67 | cmp [exp_lvl], 0 |
69 | cmp [exp_lvl], 0 |
68 | jne @f |
70 | jne @f |
69 | set_err 3 |
71 | set_err 3 |
70 | @@: |
72 | @@: |
71 | dec [exp_lvl] |
73 | dec [exp_lvl] |
- | 74 | jmp .end |
|
- | 75 | .abs_end: |
|
- | 76 | cmp [abs_lvl], 0 |
|
- | 77 | jne @f |
|
- | 78 | set_err 5 |
|
- | 79 | @@: |
|
- | 80 | dec [abs_lvl] |
|
72 | .end: |
81 | .end: |
73 | ret |
82 | ret |
74 | .unexp_char: |
83 | .unexp_char: |
75 | set_err 4 |
84 | set_err 4 |
76 | endp |
85 | endp |
Line 179... | Line 188... | ||
179 | set_err 2 |
188 | set_err 2 |
180 | .brk_ok: |
189 | .brk_ok: |
181 | inc [exp_pos] |
190 | inc [exp_pos] |
182 | jmp .end |
191 | jmp .end |
183 | @@: |
192 | @@: |
- | 193 | cmp [ebx], byte "|" |
|
- | 194 | jne @f |
|
- | 195 | inc [abs_lvl] |
|
- | 196 | stdcall parse_lvl0 |
|
- | 197 | test_err |
|
- | 198 | mov ebx, exp |
|
- | 199 | add ebx, [exp_pos] |
|
- | 200 | cmp [ebx], byte "|" |
|
- | 201 | je .abs_ok |
|
- | 202 | set_err 5 |
|
- | 203 | .abs_ok: |
|
- | 204 | inc [exp_pos] |
|
- | 205 | cmp eax, 0 |
|
- | 206 | jge .end |
|
- | 207 | not eax |
|
- | 208 | inc eax |
|
- | 209 | jmp .end |
|
- | 210 | @@: |
|
184 | cmp [ebx], byte "+" |
211 | cmp [ebx], byte "+" |
185 | jne @f |
212 | jne @f |
186 | stdcall parse_lvl3 |
213 | stdcall parse_lvl3 |
187 | test_err |
214 | test_err |
188 | jmp .end |
215 | jmp .end |