]> ocean-lang.org Git - ocean/commit
scanner: initialise token state properly.
authorNeilBrown <neilb@suse.de>
Sun, 21 Jul 2013 07:52:39 +0000 (17:52 +1000)
committerNeilBrown <neilb@suse.de>
Sun, 21 Jul 2013 07:52:39 +0000 (17:52 +1000)
commit3f095c04cdef1e545350a03648c7439eec38fea0
tree8e9c710db57cffa31da98d3473e7978b16bee458
parent7571ab0ca1e9d2761983903c33f5559ab871d532
scanner: initialise token state properly.

We need to call do_strip() at the start to ensure the correct
col and indent is used for the first token.

Signed-off-by: NeilBrown <neilb@suse.de>
csrc/scanner.mdc