cs2lint

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

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

detects unpaired "

Diffstat:
Mcubescript.atg | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cubescript.atg b/cubescript.atg @@ -13,8 +13,8 @@ wordch = nonwhite - '"' - blocks - eol - ' '. TOKENS -string = '"' { strch | '^' nonwhite } ['"']. -word = ( wordch { wordch } ). +string = '"' { strch | '^' nonwhite } '"'. +word = wordch { wordch }. newline = eol. COMMENTS FROM "//" TO cr