瀏覽代碼

Documentation typo fix in tokenizer.

Karl Zylinski 1 年之前
父節點
當前提交
f9de8fdaba
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/tokenizer.cpp

+ 1 - 1
src/tokenizer.cpp

@@ -943,7 +943,7 @@ gb_internal void tokenizer_get_token(Tokenizer *t, Token *token, int repeat=0) {
 			} else if (t->curr_rune == '+') {
 				token->kind = Token_FileTag;
 				
-				// Skip the line or until it ends or until we hit was is probably a comment.
+				// Skip until end of line or until we hit what is probably a comment.
 				// The parsing of tags happens in `parse_file`.
 				while (t->curr_rune != GB_RUNE_EOF) {
 					if (t->curr_rune == '\n') {