Added #\= to *special-chars*.
authorVladimir Sedach <vsedach@gmail.com>
Fri, 1 Feb 2008 15:30:49 +0000 (15:30 +0000)
committerVladimir Sedach <vsedach@gmail.com>
Fri, 1 Feb 2008 15:30:49 +0000 (15:30 +0000)
Now you can write boolean= function names.

As requested by Daniel Gackle.

src/utils.lisp
t/ps-tests.lisp

index 51cbaf8..1656d52 100644 (file)
@@ -40,7 +40,8 @@
     (#\% . "Percent")
     (#\+ . "Plus")
     (#\* . "Star")
-    (#\/ . "Slash")))
+    (#\/ . "Slash")
+    (#\= . "Equals")))
 
 ;;; Parenscript-style symbol -> Javascript-style symbol
 
index 715461b..f3458d3 100644 (file)
@@ -487,3 +487,7 @@ try {
 (test-ps-js setf-dec2
   (setf x (- x 1 2))
   "x = x - 1 - 2;")
+
+(test-ps-js special-char-equals
+  blah=
+  "blahequals")