diff options
author | Adrian Thurston <thurston@colm.net> | 2019-10-16 11:40:03 -0300 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2019-10-16 18:30:49 -0300 |
commit | d2c114285a7b75c84ce7b198c0805df48cacdd0c (patch) | |
tree | 7cfbd6e4045859867cc9e505cf7d511626071a99 /grammar | |
parent | 0f2f005f69a15cc8d03f67f690c16369b6dcf4bd (diff) | |
download | colm-d2c114285a7b75c84ce7b198c0805df48cacdd0c.tar.gz |
renamed toklen to tokpref and use it just for prefix
Had an interdependency between toklen and tokend. Was setting one from the
other and vice versa. Cleaned this up by renaming toklen to tokpref and using
it just to store the number of characters already matched before the current
buffer block. Tokend stays as tokend (in the ragel sense) and is used by the
parse to extract the match.
Diffstat (limited to 'grammar')
0 files changed, 0 insertions, 0 deletions