Begin work on documentation generation

This commit is contained in:
Ginger Bill
2017-06-18 23:16:57 +01:00
parent 2957f007e3
commit 126f7aa892
6 changed files with 279 additions and 91 deletions

View File

@@ -970,7 +970,7 @@ Token tokenizer_get_token(Tokenizer *t) {
case '|': token.kind = token_kind_dub_eq(t, '|', Token_Or, Token_OrEq, Token_CmpOr, Token_CmpOrEq); break;
default:
if (curr_rune != GB_RUNE_BOM) {
if (curr_rune != GB_RUNE_BOM) {
u8 str[4] = {};
int len = cast(int)gb_utf8_encode_rune(str, curr_rune);
tokenizer_err(t, "Illegal character: %.*s (%d) ", len, str, curr_rune);