Compare commits

...

1 Commits

Author SHA1 Message Date
f54e6fb1ea Fix bug causing comparison between incompatible enums. 2018-02-28 13:47:39 -08:00

View File

@@ -206,7 +206,7 @@ liblex_result _pattern_build_inverted_or(pattern_chain** into, int* ids, int pat
if(string[*index]) (*index)++; if(string[*index]) (*index)++;
} }
while(string[*index] && string[*index] != ']' && result == LIBDS_SUCCESS) { while(string[*index] && string[*index] != ']' && result == LIBLEX_SUCCESS) {
char from = '\0'; char from = '\0';
char to = '\0'; char to = '\0';
result = _pattern_read_value(&from, string, index); result = _pattern_read_value(&from, string, index);