Hi!

----

While testing some issues around "enum" I hit something which looks
like a parser bug in ast-ksh.2012-11-21.
Example:
-- snip --
$ ksh -c $'enum bb=( ya ba ) ; \ntypeset -T x_t=( bb n=ba ) ; x_t y ;
print $(( y.n ))'
1
$ ksh -c $'enum bb=( ya ba ) ; typeset -T x_t=( bb n=ba ) ; x_t y ;
print $(( y.n ))'
/home/test001/bin/ksh: syntax error at line 1: `bb' unexpected
-- snip --
Both lines only differ in the newline ($'\n') present in the first ksh
call but not in the 2nd...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to