I would really like to be able to dispense with the # in front of
symbols in array literals. In other words, I would like the following to
be valid:
#(1 two nil)
I think that Squeak accepts this, and I notice that the STInST compiler
does too. How about it?
Mike
------------------------------------------------------------------------
--- ../smalltalk-2.3.1/libgst/gst-parse.c 2006-02-05 18:41:34.000000000
+0000
+++ libgst/gst-parse.c 2007-02-23 21:23:18.000000000 +0000
@@ -832,10 +832,7 @@
node = _gst_make_oop_constant (&loc, _gst_nil_oop);
else
- {
- _gst_errorf ("expected true, false or nil");
- recover_error (p);
- }
+ node = _gst_make_oop_constant (&loc, symbolOOP);
lex (p);
return node;
------------------------------------------------------------------------
_______________________________________________
help-smalltalk mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-smalltalk