1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-22 11:56:42 +00:00

comments should count as lines

This commit is contained in:
suchmememanyskill 2021-07-27 01:10:39 +02:00
parent 8807af9109
commit d4f95da062

View file

@ -127,6 +127,9 @@ u8 nextToken(char** inPtr, void** val) {
while (*in && *in != '\n') while (*in && *in != '\n')
in++; in++;
lineNumber++;
scriptCurrentLine = lineNumber;
} }
else if (isValidWord(*in)) { else if (isValidWord(*in)) {
char* startWord = in; char* startWord = in;