cs2lint

CubeScript linter for Cube2 engine
git clone git://deadbeef.fr/cs2lint.git
Log | Files | Refs | README | LICENSE

commit abab92836786150ecdcc4751ce99cf6fe5edcf8d
parent 667b10c8873c46e15827fe7ac9b1c90d5da19f89
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date:   Sun, 19 Jul 2020 16:14:58 +0200

code cleanup

Diffstat:
Mcubescript.atg | 13+++----------
1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/cubescript.atg b/cubescript.atg @@ -33,20 +33,13 @@ CubeScript2 = } . +identifier = word | string . statement = - word - | string - | squar_block - | curly_block - | round_block + identifier + | block | newline . -block = - code_block - | priority_block - . - block = code_block | priority_block . /* execution delayed at end of block, mostly used to define "code blocks" */