parent
9f7656f328
commit
251716fa0e
|
@ -305,7 +305,6 @@ fn run_repl(workdir string, vrepl_prefix string) int {
|
|||
return int(rc)
|
||||
}
|
||||
}
|
||||
break
|
||||
}
|
||||
r.line = line
|
||||
if r.line == '\n' {
|
||||
|
@ -388,12 +387,12 @@ fn run_repl(workdir string, vrepl_prefix string) int {
|
|||
'#include ',
|
||||
'for ',
|
||||
'or ',
|
||||
'insert',
|
||||
'delete',
|
||||
'prepend',
|
||||
'sort',
|
||||
'clear',
|
||||
'trim',
|
||||
'insert(',
|
||||
'delete(',
|
||||
'prepend(',
|
||||
'sort(',
|
||||
'clear(',
|
||||
'trim(',
|
||||
' as ',
|
||||
]
|
||||
mut is_statement := false
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
exitasdfasdf
|
||||
===output===
|
||||
error: undefined ident: `exitasdfasdf`
|
||||
5 | import math
|
||||
6 |
|
||||
7 | println(exitasdfasdf)
|
||||
| ~~~~~~~~~~~~
|
Loading…
Reference in New Issue