From 441281dd4fcd7b43a3f0ca4a4b375b1bebddafe5 Mon Sep 17 00:00:00 2001 From: hazohelet Date: Sun, 14 Jul 2019 23:30:04 +0900 Subject: [PATCH] parser: fix small typo --- compiler/parser.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/parser.v b/compiler/parser.v index 6fb1c02242..345b43348f 100644 --- a/compiler/parser.v +++ b/compiler/parser.v @@ -668,7 +668,7 @@ fn (p &Parser) strtok() string { return res } -// same as check(), but addes a space to the formatter output +// same as check(), but adds a space to the formatter output // TODO bad name fn (p mut Parser) check_space(expected Token) { p.fspace() @@ -1827,7 +1827,7 @@ fn (p mut Parser) index_expr(typ string, fn_ph int) string { // returns resulting type fn (p mut Parser) expression() string { if p.scanner.file_path.contains('test_test') { - println('epxression() pass=$p.run tok=') + println('expression() pass=$p.run tok=') p.print_tok() } p.cgen('/* expr start*/')