diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2017-05-07 17:01:49 +0300 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2017-05-07 17:01:49 +0300 |
commit | 8087a503f00913fc7b26e75d9549f6b99adf3242 (patch) | |
tree | 8e6a4c84c2fa3e518f4ae173ff5d6a186f0fd9d7 /src/bin | |
parent | 92f1dbb651217ea062d81237c6e72eaa257c6b81 (diff) |
ragel.rl: Make search_err read "p" before stop
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 ':'.
Diffstat (limited to 'src/bin')
0 files changed, 0 insertions, 0 deletions