diff options
Diffstat (limited to 'nomsu.peg')
| -rw-r--r-- | nomsu.peg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ number (Number): (("-"? (([0-9]+ "." [0-9]+) / ("." [0-9]+) / ([0-9]+)))-> tonum -- Variables can be nameless (i.e. just %) and can't contain operators like apostrophe -- which is a hack to allow %'s to parse as "%" and "' s" separately -variable (Var): "%" { ((!"'" %operator) / plain_word)* } +variable (Var): "%" { (plain_word ((!"'" %operator) / plain_word)*)? } inline_list (List): !('[..]') |
