mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-29 02:40:02 +00:00
better lexer testing in sanity_tests
This commit is contained in:
+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