Fix bug causing comparison between incompatible enums.

This commit is contained in:
Danila Fedorin 2018-02-28 13:47:39 -08:00
parent 17ab9beb71
commit f54e6fb1ea
1 changed files with 1 additions and 1 deletions

View File

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