Author: gotcha
Date: Wed Dec 26 15:05:21 2007
New Revision: 50124
Modified:
kukit/kukit.js/branch/finish-closures/kukit/kssparser.js
Log:
all tests pass again
Modified: kukit/kukit.js/branch/finish-closures/kukit/kssparser.js
==============================================================================
--- kukit/kukit.js/branch/finish-closures/kukit/kssparser.js (original)
+++ kukit/kukit.js/branch/finish-closures/kukit/kssparser.js Wed Dec 26
15:05:21 2007
@@ -468,15 +468,17 @@
*/
var _PropValueInMethod = function() {
+this.initialize = function() {
+ this.multiword_allowed = false;
+};
+
this.produceTxt = function(txt) {
// txt parms are returned unwrapped
this.txt = txt;
};
-
+this.initialize.apply(this, arguments);
};
-_PropValueInMethod.prototype = new _PropValue();
// this assignment needs to remain after initialization of _PropValue
-_PropValueInMethod.multiword_allowed = false;
kssp.PropValueInMethod = kukit.tk.mkParser('propValue', {
";": 'this.emitAndReturn()',
"}": 'this.emitAndReturn()',
@@ -489,6 +491,7 @@
},
_PropValueInMethod
);
+kssp.PropValueInMethod.prototype.process = kssp.PropValue.prototype.process;
/*
* class EventValue
_______________________________________________
Kukit-checkins mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kukit-checkins