Author: reebalazs
Date: Sun May  6 09:15:21 2007
New Revision: 42726

Modified:
   kukit/kukit.js/branch/ree-stripout-comments/kukit/kssparser.js
Log:
replace '\' in the parser to '\x5c', obviously confuses the full packer

Modified: kukit/kukit.js/branch/ree-stripout-comments/kukit/kssparser.js
==============================================================================
--- kukit/kukit.js/branch/ree-stripout-comments/kukit/kssparser.js      
(original)
+++ kukit/kukit.js/branch/ree-stripout-comments/kukit/kssparser.js      Sun May 
 6 09:15:21 2007
@@ -36,7 +36,7 @@
 kukit.kssp.colon = kukit.tk.mkToken('colon', ":");
 kukit.kssp.quote = kukit.tk.mkToken('quote', "'");
 kukit.kssp.dquote = kukit.tk.mkToken('dquote', '"');
-kukit.kssp.backslash = kukit.tk.mkToken('backslash', '\\');
+kukit.kssp.backslash = kukit.tk.mkToken('backslash', '\x5c');
 kukit.kssp.comma = kukit.tk.mkToken('comma', ",");
 kukit.kssp.equals = kukit.tk.mkToken('equals', "=");
 
@@ -409,7 +409,7 @@
 */
 kukit.kssp.String = kukit.tk.mkParser('string', {
     "'": 'this.emitAndReturn(new kukit.kssp.quote(this.src))',
-    "\\": 'new kukit.kssp.Backslashed(this.src, kukit.kssp.backslash)'
+    '\x5c': 'new kukit.kssp.Backslashed(this.src, kukit.kssp.backslash)'
     });
 kukit.kssp.String.prototype.process = function() {
     // collect up the value of the string, omitting the quotes
@@ -424,7 +424,7 @@
 */
 kukit.kssp.String2 = kukit.tk.mkParser('string', {
     '"': 'this.emitAndReturn(new kukit.kssp.dquote(this.src))',
-    "\\": 'new kukit.kssp.Backslashed(this.src, kukit.kssp.backslash)'
+    '\x5c': 'new kukit.kssp.Backslashed(this.src, kukit.kssp.backslash)'
     });
 kukit.kssp.String2.prototype.process = kukit.kssp.String.prototype.process; 
 
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins

Reply via email to