better lexer testing in sanity_tests

This commit is contained in:
Allen Webster committed 2021-09-02 19:49:09 -07:00
1 parent 213c20fd93
commit eef0ff2577
2 files changed
+19 -21

No files matched your search

+1 -1
View File
@@ -1917,7 +1917,7 @@ MD_TokenFromString(MD_String8 string)
at += 1;
}
}
else if (MD_CharIsAlpha(*at) || MD_CharIsDigit(*at) || *at == '.'){
else if (MD_CharIsAlpha(*at) || MD_CharIsDigit(*at) || *at == '.' || *at == '_'){
good = 1;
at += 1;
}