]> git.wincent.com - wikitext.git/commit
Fix off-by-one error in the TOKEN_TEXT macro
authorWincent Colaiuta <win@wincent.com>
Sun, 3 Feb 2008 17:15:29 +0000 (18:15 +0100)
committerWincent Colaiuta <win@wincent.com>
Sun, 3 Feb 2008 17:15:29 +0000 (18:15 +0100)
commit6f70d723638397019ba7d40a62ccdf862dd88129
tree03ba51b126dda2f6ffb417100cfe4e252bc69d91
parentd8c64a6667673480b0d12c4210519f7ea6b27ad8
Fix off-by-one error in the TOKEN_TEXT macro

The macro was a literal translation based on the old way of getting
token text, but it was off by one because the way token boundaries are
stored by the new scanner is different.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
ext/token.h