From c802b1f8143018e8d014c682eb98c14d11b06c54 Mon Sep 17 00:00:00 2001 From: David Winegar Date: Fri, 25 Jul 2014 15:53:35 -0700 Subject: [PATCH] Change context to uint64_t One-line fix --- mwparserfromhell/parser/tokenizer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mwparserfromhell/parser/tokenizer.h b/mwparserfromhell/parser/tokenizer.h index 57a0121..8d2d428 100644 --- a/mwparserfromhell/parser/tokenizer.h +++ b/mwparserfromhell/parser/tokenizer.h @@ -53,7 +53,8 @@ static const char MARKERS[] = { #define MAX_BRACES 255 #define MAX_ENTITY_SIZE 8 -static int route_state = 0, route_context = 0; +static int route_state = 0; +static uint64_t route_context = 0; #define BAD_ROUTE route_state #define BAD_ROUTE_CONTEXT route_context #define FAIL_ROUTE(context) route_state = 1; route_context = context