]> git.wincent.com - wikitext.git/commitdiff
Add PRE_START and PRE_END to token.c
authorWincent Colaiuta <win@wincent.com>
Sun, 10 Feb 2008 19:25:15 +0000 (20:25 +0100)
committerWincent Colaiuta <win@wincent.com>
Sun, 10 Feb 2008 19:25:15 +0000 (20:25 +0100)
Without this we can't see those new tokens in our token dumps during
debugging.

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

index 0ce7fd853f74fdcb1f0458a5bbd555410b6a0d41..060755cdc468b698d04430461c64132aebd96bc5 100644 (file)
@@ -30,6 +30,8 @@ VALUE Wikitext_parser_token_types(VALUE self)
     SET_TOKEN_TYPE(LI);
     SET_TOKEN_TYPE(NESTED_LIST);
     SET_TOKEN_TYPE(PRE);
+    SET_TOKEN_TYPE(PRE_START);
+    SET_TOKEN_TYPE(PRE_END);
     SET_TOKEN_TYPE(NO_WIKI_START);
     SET_TOKEN_TYPE(NO_WIKI_END);
     SET_TOKEN_TYPE(BLOCKQUOTE);