From 93e997203b7ee8bcc44657bd3056a9506e0d9997 Mon Sep 17 00:00:00 2001 From: Vladimir Sedach Date: Fri, 1 Feb 2008 15:30:49 +0000 Subject: [PATCH] Added #\= to *special-chars*. Now you can write boolean= function names. As requested by Daniel Gackle. --- src/utils.lisp | 3 ++- t/ps-tests.lisp | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/utils.lisp b/src/utils.lisp index 51cbaf8..1656d52 100644 --- a/src/utils.lisp +++ b/src/utils.lisp @@ -40,7 +40,8 @@ (#\% . "Percent") (#\+ . "Plus") (#\* . "Star") - (#\/ . "Slash"))) + (#\/ . "Slash") + (#\= . "Equals"))) ;;; Parenscript-style symbol -> Javascript-style symbol diff --git a/t/ps-tests.lisp b/t/ps-tests.lisp index 715461b..f3458d3 100644 --- a/t/ps-tests.lisp +++ b/t/ps-tests.lisp @@ -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") -- 2.20.1