-
Per Bothner authored
* rnrs/programs.scm (command-line): Also check kawa.command.line property and ApplicationMainSupport:commandName variable when trying to figure out command name. * ApplicationMainSupport.java (commandName): New field. (setArgs): Set commandName if unset and the kawa.command.name property is set. * repl.java (processArgs): Fix handling of meta-arg "\" - don't process injected arguments, but instead adjust args array and continue. This is more flexible, and simpler. * repl.java (processArgs): Update copyright year. * LispReader (readSpecial): Allow ' ' after '#!'. If lines ends with '\', skip next line as well. This helps with handling the scsh-style "meta-arg". Also ApplicationMainSupport.commandName if unset. * command1.scm, commands2.scm, command3.scm: New tests to check behavior of (command-line). * Makefile.am: Update accordingly.
4ec075ad