summaryrefslogtreecommitdiff
path: root/js/lib/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib/node.js')
-rw-r--r--js/lib/node.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/lib/node.js b/js/lib/node.js
index 102003c..e57a281 100644
--- a/js/lib/node.js
+++ b/js/lib/node.js
@@ -72,7 +72,7 @@ function Node(nodeType, sourcepos) {
this.open = true;
this.strings = undefined;
this.string_content = undefined;
- this.c = undefined;
+ this.literal = undefined;
this.list_data = undefined;
this.info = undefined;
this.destination = undefined;
@@ -167,7 +167,8 @@ Node.prototype.toAST = function() {
var cur;
var result = { t: this.t };
- var propsToShow = ['t', 'c', 'list_data', 'sourcepos', 'info', 'level'];
+ var propsToShow = ['t', 'literal', 'list_data', 'sourcepos',
+ 'info', 'level'];
for (var i = 0; i < propsToShow.length; i++) {
var prop = propsToShow[i];