mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
scanner: fix eof token position (#9432)
This commit is contained in:
3
vlib/v/parser/tests/fn_decl_unexpected_eof.out
Normal file
3
vlib/v/parser/tests/fn_decl_unexpected_eof.out
Normal file
@@ -0,0 +1,3 @@
|
||||
vlib/v/parser/tests/fn_decl_unexpected_eof.vv:1:12: error: unexpected eof, expecting `}`
|
||||
1 | fn main() {
|
||||
| ^
|
||||
1
vlib/v/parser/tests/fn_decl_unexpected_eof.vv
Normal file
1
vlib/v/parser/tests/fn_decl_unexpected_eof.vv
Normal file
@@ -0,0 +1 @@
|
||||
fn main() {
|
||||
Reference in New Issue
Block a user