]> git.wincent.com - wikitext.git/commit
Redefine TOKEN_TEXT in terms of TOKEN_LEN
authorWincent Colaiuta <win@wincent.com>
Fri, 8 May 2009 10:53:03 +0000 (12:53 +0200)
committerWincent Colaiuta <win@wincent.com>
Fri, 8 May 2009 10:53:03 +0000 (12:53 +0200)
commit923e4f7d03345781160ad69fa364d0bd88e029bb
treeaa238ea08b3d79eb8d9cef5ddde7d7cc42ef57a7
parent0996af688a8939b987df181d102d674c3a2c2345
Redefine TOKEN_TEXT in terms of TOKEN_LEN

Rather than having both macros calculate the token length, do
it in one macro only and re-use that in the other one.

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