diff options
author | Alon Zakai <azakai@mozilla.com> | 2011-01-16 13:52:25 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2011-01-16 13:52:25 -0800 |
commit | 6a6e842688afe7e15f6a957d4179da982c0f940b (patch) | |
tree | 9f31de60b019df0c8c6b0ca23d0ba963e2b1ed76 /src/parseTools.js | |
parent | 9d209878f9819ffd1aa92c7306123392609db845 (diff) |
initial emulation for stdio file reading, and other preparations for poppler
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index 12b531ea..52afcfe7 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -57,7 +57,7 @@ function toNiceIdent(ident) { assert(ident); if (parseFloat(ident) == ident) return ident; if (ident == 'null') return '0'; // see parseNumerical - return ident.replace('%', '$').replace(/["\\ \.@:<>,\*\[\]-]/g, '_'); + return ident.replace('%', '$').replace(/["&\\ \.@:<>,\*\[\]-]/g, '_'); } // Kind of a hack. In some cases we have strings that we do not want |