diff options
author | Filipe Brandenburger <filbranden@google.com> | 2015-11-05 21:51:24 -0800 |
---|---|---|
committer | Filipe Brandenburger <filbranden@google.com> | 2015-11-05 21:51:24 -0800 |
commit | 27fc921b658adc5baa988c4c213888b016a60b18 (patch) | |
tree | 426b33d9cad99e3f33104b5a5e1d6bffaf3ef446 /src/basic/io-util.h | |
parent | 93de9eb76d628cf731120d97332e03600c167271 (diff) |
extract-word: Do not re-evaluate the state on each parsed character
Use inner loops to keep processing the same state, except when there is
a state change, then break back to the outer loop so that the correct
branch can be selected again.
Tested that no regressions were introduced in test-extract-word.
Diffstat (limited to 'src/basic/io-util.h')
0 files changed, 0 insertions, 0 deletions