xo-tokenizer2: use xo-arena DCircularBuffer to buffer input line
This commit is contained in:
parent
b9921d4108
commit
1575f8a147
10 changed files with 106 additions and 359 deletions
|
|
@ -84,7 +84,8 @@ namespace xo {
|
|||
// for example including leading whitespace.
|
||||
// See discussion in tokenizer scan() method
|
||||
|
||||
scope log(XO_DEBUG(debug_flag_));
|
||||
scope log(XO_DEBUG(debug_flag_),
|
||||
xtag("input", input));
|
||||
|
||||
/* look ahead to {end of line, end of input}, whichever comes first */
|
||||
const CharT * sol = input.lo();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue