Explorar el Código

Fix unsafe context definitions.

tags/v0.3
Ben Kurtovic hace 11 años
padre
commit
bb4cf03e98
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      mwparserfromhell/parser/tokenizer.c

+ 1
- 1
mwparserfromhell/parser/tokenizer.c Ver fichero

@@ -1881,7 +1881,7 @@ static PyObject*
Tokenizer_handle_end(Tokenizer* self, int context)
{
static int fail_contexts = (LC_TEMPLATE | LC_ARGUMENT | LC_WIKILINK |
LC_HEADING | LC_COMMENT);
LC_HEADING | LC_COMMENT | LC_TAG);
static int double_fail = (LC_TEMPLATE_PARAM_KEY | LC_TAG_CLOSE);
PyObject *token, *text, *trash;
int single;


Cargando…
Cancelar
Guardar