Max Brunsfeld
|
74f5ceddf7
|
Fix parsing of valid code with halt_on_error flag set
Signed-off-by: Tim Clem <timothy.clem@gmail.com>
|
2017-05-01 14:25:25 -07:00 |
|
Max Brunsfeld
|
a98d449d88
|
Add an option to immediately halt on syntax error
|
2017-05-01 13:50:49 -07:00 |
|
Max Brunsfeld
|
82cb1c9806
|
Handle invalid UTF8 in encoding test helpers
Signed-off-by: Tim Clem <timothy.clem@gmail.com>
|
2017-04-27 14:49:44 -07:00 |
|
Max Brunsfeld
|
03a555a86e
|
Finish test for invalid UTF8 handling
Signed-off-by: Tim Clem <timothy.clem@gmail.com>
|
2017-04-27 14:48:16 -07:00 |
|
Timothy Clem
|
37f2a4745f
|
Test demonstrating non-UT8 input failure
|
2017-04-27 14:46:36 -07:00 |
|
Max Brunsfeld
|
6d8f9ebaba
|
In tests, regenerate parser if its timestamp matches grammar.json
After running the fetch-fixtures script, their timestamps may be equal,
but in this situation we *do* want to re-generate the parsers.
|
2017-03-17 17:04:04 -07:00 |
|
Max Brunsfeld
|
ed8fbff175
|
Allow anonymous tokens to be used in grammars' external token lists
|
2017-03-17 16:31:29 -07:00 |
|
Max Brunsfeld
|
e2baf0930b
|
Use simple CharacterSet constructor in LexItem test
|
2017-03-17 14:47:11 -07:00 |
|
Max Brunsfeld
|
b3edd8f749
|
Remove use of shared_ptr in choice, repeat, and seq factories
|
2017-03-17 14:28:13 -07:00 |
|
Max Brunsfeld
|
db4b9ebc7c
|
Implement Rule as a union rather than an abstract base class
|
2017-03-17 13:29:31 -07:00 |
|
Max Brunsfeld
|
42b05b4b5e
|
Add simple unit test for invalidating trees preceding an edit due to lookahead
|
2017-03-13 17:34:31 -07:00 |
|
Max Brunsfeld
|
d222dbb9fd
|
Allow lexer to accept tokens that ended at previous positions
* Track lookahead in each tree
* Add 'mark_end' API that external scanners can use
|
2017-03-13 17:06:52 -07:00 |
|
Max Brunsfeld
|
f04d7c5860
|
Handle unused tokens
|
2017-03-09 21:16:37 -08:00 |
|
Max Brunsfeld
|
6dc0ff359d
|
Rename spec -> test
'Test' is a lot more straightforward of a name.
|
2017-03-09 20:40:01 -08:00 |
|