Преглед изворни кода

Change context to uint64_t

One-line fix
tags/v0.4
David Winegar пре 9 година
родитељ
комит
c802b1f814
1 измењених фајлова са 2 додато и 1 уклоњено
  1. +2
    -1
      mwparserfromhell/parser/tokenizer.h

+ 2
- 1
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


Loading…
Откажи
Сачувај