-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
On this line it excecutes it if no ENV variable is specified, but then it continues parsing the commandline anyway and thus running it using the default parser, compiler, interpreter again
Possibly forgotten exit $?
Context:
| if $(not $parser_defined) && $(not $compiler_defined) && $(not $interpreter_defined) | |
| then | |
| $CMD $@ | |
| fi | |
| # Run with substituted elements, first extract command and input file (if any) | |
| command="$1"; shift | |
| input="$1"; shift | |
| case $command in | |
| run) run "$input";; | |
| parse) parse "$input" "$@";; | |
| compile) compile "$input" "$@";; | |
| execute) execute "$input" "$@";; | |
| *) echo "Unknown command $command: with a specified custom parser, compiler, or interpreter I understand commands: run, parse, compile, and execute" | |
| esac |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels