Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2004-09-10 10:23:10 -0700 (Fri, 10 Sep 2004)
Revision: 597
Log message:
Fixed the problem with empty arrays, and unusual array semantics
that preserves whitespace (only) in the first definition. For example,
X[] = a b
X += c d
would give an array of 3 elements "a b" "c" "d".
This is dumb, this patch produces the correct "a" "b" "c" "d".
Also, updated the osh prompter to handle eof normally.
Changes | Path |
+2 -3 | omake/src/env/omake_ast_lex.mll |
+2 -1 | omake/src/env/omake_ir_ast.ml |
+3 -0 | omake/src/eval/omake_eval.ml |
+1 -0 | omake/src/ir/omake_ir.ml |
+3 -0 | omake/src/ir/omake_ir_print.ml |