1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v.scanner: fix error messages with unexpected token ? (#11428)

This commit is contained in:
Enzo
2021-09-07 19:46:56 +02:00
committed by GitHub
parent bee5e7de03
commit 79c2bca401
3 changed files with 9 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
vlib/v/parser/tests/unexpected_token.vv:2:10: error: unexpected token `?`
1 | fn main() {
2 | println(?)
| ^
3 | }

View File

@@ -0,0 +1,3 @@
fn main() {
println(?)
}