Implement more functionality

Macro arg detection, first emitted tokens, primitive (bad) column counting
This commit is contained in:
ISSOtm
2020-07-23 13:49:45 +02:00
parent 6dc4ce6599
commit 71f8871702
6 changed files with 120 additions and 719 deletions

View File

@@ -250,7 +250,8 @@ void fstk_Dump(void)
pLastFile = pLastFile->next;
}
fprintf(stderr, "%s(%" PRId32 ")", lexer_GetFileName(), lexer_GetLineNo());
fprintf(stderr, "%s(%" PRId32 ",%" PRId32 ")",
lexer_GetFileName(), lexer_GetLineNo(), lexer_GetColNo());
}
void fstk_DumpToStr(char *buf, size_t buflen)