File
tests/grammars/discards/err-g1-definition/slif
— part of check-in
[2d3c378396]
at
2017-04-07 05:05:03
on branch new-slif-semantics
— Grammar tweak to make handling of discard variants easier.
Split the discard rule to inline the variants of <single symbol>
Completely reworked the handling of symbols (g1, l0, lexeme, discard, literals, etc.)
Now using a state-machine to keep track of the contexts symbols are
found in, and the conclusions about which future contexts are thus
still legal.
Redone the handling of fixups for `lexeme default` and `discard
default`. User-specified settings of "latm" and "discard events" now
form an exclusion list of symbols, with the regular list to exclude
them from pulled out of the new state tracking.
Literal handling now performs normalization and derivation of symbols
in the semantics. The container does not know anything about anymore.
FIX BUG: Tcl escapes for strings and char classes are not handled yet,
neither by semantics, nor syntax.
FIX BUG: Normalization of specs for "nocase" still missing
Updated tests to match.
Added tests for all the cases missed by the old tracking scheme.
(user:
aku
size: 23)
[more...]