File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class HLL::Compiler does HLL::Backend::Default {
23
23
@ ! stages := nqp :: split (' ' , ' start parse ast ' ~ $ ! backend . stages());
24
24
25
25
# Command options and usage.
26
- @ ! cmdoptions := nqp :: split (' ' , ' e=s help|h target=s trace|t=s encoding=s output|o=s source-name=s combine version|v show-config verbose-config|V stagestats=s? ll-exception rxtrace nqpevent=s profile=s? profile-compile=s? profile-filename=s profile-stage=s force-stdin-eval -mode=s'
26
+ @ ! cmdoptions := nqp :: split (' ' , ' e=s help|h target=s trace|t=s encoding=s output|o=s source-name=s combine version|v show-config verbose-config|V stagestats=s? ll-exception rxtrace nqpevent=s profile=s? profile-compile=s? profile-filename=s profile-stage=s repl -mode=s'
27
27
# ?if js
28
28
~ ' substagestats beautify nqp-runtime=s perl6-runtime=s libpath=s shebang execname=s source-map'
29
29
# ?endif
@@ -300,12 +300,12 @@ class HLL::Compiler does HLL::Backend::Default {
300
300
elsif ! @ a {
301
301
# Is STDIN a TTY display? If so, start the REPL, otherwise, simply
302
302
# assume the program to eval is given on STDIN.
303
- my $ force := % adverbs <force-stdin-eval -mode >// ' ' ;
303
+ my $ force := % adverbs <repl -mode >// ' ' ;
304
304
my $ wants-interactive := $ force
305
305
?? $ force eq ' interactive'
306
306
?? 1 !! $ force eq ' non-interactive'
307
307
?? 0 !! self . panic(
308
- " Unknown STDIN eval mode '$ force '. Valid values"
308
+ " Unknown REPL mode '$ force '. Valid values"
309
309
~ " are 'non-interactive' and 'interactive'"
310
310
)
311
311
!! stdin(). t();
You can’t perform that action at this time.
0 commit comments