Joachim Schimpf wrote: > > Kish Shen wrote: > > > > >Syntax errors occur with [\n]: > > > > I think this is expected: if you want \n as an element of the list, it > > should be enclosed in quotes (atom) or double quotes (string) ('\n' or > > "\n"). > > > > If what you want is [], then this is an atom and can't be seperated by a \n. > > If all you want is a newline, then the next token should be a list element, > > not ], hence the unexpected token error. > > There is actually a compatibility option to allow this: > > [eclipse 1]: local syntax_option(blanks_in_nil). > > yes. > [eclipse 2]: x([ > ]). > calling an undefined procedure x([]) in module eclipse > OK. That's what I needed. I hadn't yet realized it also happened with spaces ([ ]). Thank you all. FranciscoReceived on Mon Nov 27 14:33:35 2000
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:02 PM GMT GMT