ligo/tools/lsp/squirrel/grammar/pascaligo
Kirill Kuvshinov c44a35d4d1
[LIGO-47] PascaLIGO: Move block out of case_block alternatives
Problem: In multisig.ligo:48, the case alternative block is
interpreted as empty, while it is not. This happens because
PascaLIGO parser expects to find `fields "statements"` inside
a `case_block`. In practice, if a `case_block` contains a `block`,
statements are deeper in the hierarchy, and get ignored.

Solution: Move "block" option out of the "case_block"
(to _if_clause).
2020-09-15 11:25:21 +03:00
..
test/corpus [LIGO-25] Add grammar for ReasonLIGO and move it to squirrel 2020-08-11 13:30:46 +03:00
grammar.js [LIGO-47] PascaLIGO: Move block out of case_block alternatives 2020-09-15 11:25:21 +03:00
index.js [LIGO-25] Add grammar for ReasonLIGO and move it to squirrel 2020-08-11 13:30:46 +03:00
LICENSE [LIGO-25] Add grammar for ReasonLIGO and move it to squirrel 2020-08-11 13:30:46 +03:00
test.ligo [LIGO-25] Add grammar for ReasonLIGO and move it to squirrel 2020-08-11 13:30:46 +03:00