Rebuilt.
This commit is contained in:
parent
27f89faaee
commit
88ff27148b
@ -284,7 +284,7 @@ do
|
|||||||
((%indent %new_line block ((%dedent (%new_line "..")?) / errors))
|
((%indent %new_line block ((%dedent (%new_line "..")?) / errors))
|
||||||
/ (one_liner (%ws? (%new_line? ".."))?)) }) -> Thunk
|
/ (one_liner (%ws? (%new_line? ".."))?)) }) -> Thunk
|
||||||
|
|
||||||
word <- ({ !number {%wordchar+} }) -> Word
|
word <- ({ !number {%wordchar (!"'" %wordchar)*} }) -> Word
|
||||||
expression <- ({ (longstring / string / number / variable / list / thunk / subexpression) }) -> Expression
|
expression <- ({ (longstring / string / number / variable / list / thunk / subexpression) }) -> Expression
|
||||||
|
|
||||||
string <- ({ (!longstring) '"' {(("\" [^%nl]) / [^"%nl])*} '"' }) -> String
|
string <- ({ (!longstring) '"' {(("\" [^%nl]) / [^"%nl])*} '"' }) -> String
|
||||||
@ -300,7 +300,7 @@ do
|
|||||||
|}}) -> Longstring
|
|}}) -> Longstring
|
||||||
string_interpolation <- "\" %ws? (functioncall / expression) %ws? "\"
|
string_interpolation <- "\" %ws? (functioncall / expression) %ws? "\"
|
||||||
number <- ({ {'-'? [0-9]+ ("." [0-9]+)?} }) -> Number
|
number <- ({ {'-'? [0-9]+ ("." [0-9]+)?} }) -> Number
|
||||||
variable <- ({ ("%" {%wordchar+}) }) -> Var
|
variable <- ({ ("%" {%wordchar (!"'" %wordchar)*}) }) -> Var
|
||||||
|
|
||||||
subexpression <-
|
subexpression <-
|
||||||
("(" %ws? (functioncall / expression) %ws? ")")
|
("(" %ws? (functioncall / expression) %ws? ")")
|
||||||
|
Loading…
Reference in New Issue
Block a user