aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-20 23:27:59 -0700
committeralon@honor <none@none>2010-10-20 23:27:59 -0700
commitdb0bb3be253387c481774a393aae6f1034d1a990 (patch)
tree9b5de8a02e84d531091dcfbef9136471d4579100 /src/parseTools.js
parent5f4f3fe49a065a7e5ccbc9116e8d966f37e3516a (diff)
dynamic stack allocation support; demangler test closer to passing
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index fe8d1159..6e8f8b47 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -56,7 +56,7 @@ function toNiceIdent(ident) {
assert(ident);
if (parseFloat(ident) == ident) return ident;
if (ident == 'null') return '0'; // see parseNumerical
- return ident.replace(/[" \.@%:<>,\*]/g, '_');
+ return ident.replace(/[" \.@%:<>,\*\[\]]/g, '_');
}
INT_TYPES = searchable('i1', 'i8', 'i16', 'i32', 'i64');