mirror of
https://github.com/Ed94/metadesk.git
synced 2026-11-21 13:22:23 -08:00
better lexer testing in sanity_tests
This commit is contained in:
1 parent
213c20fd93
commit
eef0ff2577
2 files changed
+19
-21
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user