summaryrefslogtreecommitdiff
path: root/src/ragel
Commit message (Collapse)AuthorAge
* wipJari Vetoniemi2018-02-23
|
* ragel.rl: mark anything as errorJari Vetoniemi2018-02-23
| | | | | | | | The word label is mainly meant to define printable and conceated characters. In print_mark we use it to print tail in case we hit the valid* kleene star expression. Otherwise we will just show '^' mark on whatever byte we failed on. This allows to catch semantical failures such as having newlines at wrong place etc..
* ragel.rl: better error matchingJari Vetoniemi2018-02-23
| | | | | | Combine tail action into mark. Tokenize on 'space <valid>' or on punctuation. Treat single printable or valid* as word.
* ragel.rl: Add some asserts to confirm inputJari Vetoniemi2017-05-07
| | | | Just some hardening: p should always be equal or behind pe.
* ragel.rl: Make search_err read "p" before stopJari Vetoniemi2017-05-07
| | | | | | | | | If we stop before reading the "p" false positive may be returned since "p" may be the start of new token. Thus case like `type: 3u8[4] str;` would fail to mark the real error since '3' is not read. Thus start marking from the last valid token that is ':'.
* work in progressJari Vetoniemi2017-05-01
|
* Initial commitJari Vetoniemi2017-04-13