--- a/UnaryNode.st Fri Oct 10 16:36:56 2008 +0200
+++ b/UnaryNode.st Tue Oct 14 10:00:31 2008 +0200
@@ -71,7 +71,18 @@
selector notNil ifTrue:[
"/
"/ do constant folding ...
- "/
+ "/ evaluate at compile time:
+ "/ Character tab
+ "/ Character cr
+ "/ ...
+ "/ Float pi
+ "/ Float e
+ "/ ...
+ "/ String cr
+ "/ String crlf
+ "/ ...
+ "/ #(...) asFloatArray
+
r isGlobal ifTrue:[
globalName := r name.
recVal := r evaluate.
@@ -321,5 +332,5 @@
!UnaryNode class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.51 2008-05-26 08:35:08 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.52 2008-10-14 08:00:31 cg Exp $'
! !