summaryrefslogtreecommitdiff
path: root/tools/js2c.py
diff options
context:
space:
mode:
authorMichael Dawson <michael_dawson@ca.ibm.com>2015-08-12 11:53:33 -0400
committerMichael Dawson <michael_dawson@ca.ibm.com>2015-09-15 13:17:28 -0400
commit2a17c7f65ecee0e0ed6925b70285c9625913e3b1 (patch)
tree33f0c2e6adc0df2ed43382465cd3a24232982755 /tools/js2c.py
parent704dcce75471e083cfbd85c16ee48c634aeedbf5 (diff)
downloadandroid-node-v8-2a17c7f65ecee0e0ed6925b70285c9625913e3b1.tar.gz
android-node-v8-2a17c7f65ecee0e0ed6925b70285c9625913e3b1.tar.bz2
android-node-v8-2a17c7f65ecee0e0ed6925b70285c9625913e3b1.zip
build: Updates to enable AIX support
These are the core changes that allow AIX to compile. There are still some test failures as there are some patches needed for libuv and npm that we'll need to contribute through those communities but this set allows node to be built on AIX and pass most of the core tests The change in js2c is because AIX does not support $ in identifier names. See the discussion/agreement in https://github.com/nodejs/node/issues/2272 PR-URL: https://github.com/nodejs/node/pull/2364 Reviewed-By: Ben Noordhuis <ben@strongloop.com> Reviewed-By: Rod Vagg <r@va.gg>
Diffstat (limited to 'tools/js2c.py')
-rwxr-xr-xtools/js2c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js2c.py b/tools/js2c.py
index 418d98503c..0fc0ae0ee7 100755
--- a/tools/js2c.py
+++ b/tools/js2c.py
@@ -310,7 +310,7 @@ def JS2C(source, target):
else:
ids.append((id, len(lines)))
- escaped_id = id.replace('/', '$')
+ escaped_id = id.replace('/', '_')
source_lines.append(SOURCE_DECLARATION % {
'id': id,
'escaped_id': escaped_id,