Open Mikoangelo opened 15 years ago
This was tested on Mac OS X Leopard 10.5.7 Build 9J61, with Snow compiled for 64-bit. but same error is present in 32-bit. Revision is current HEAD, 3489b36551e3f426ac7e0885fd8d9eb19a4dca35.
If it doesn't happen in non-interactive Snow, it doesn't have anything to do with the parser.
If you write an if statement or similar containing a newline, isn considers this a syntax error, even if this is done in a function definition (so isn correctly prompts for a continuation of the statement. This does not happen in non-interactive Snow.
Writing the same construct on a single line using semicolons works as expected.