diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-01 15:25:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 15:31:05 -0700 |
commit | fa5cc31c396c0a46e6706b4df68e0b63aaae1d74 (patch) | |
tree | 609f29c71c8699efa6cedc70c94ad1934a2f632c | |
parent | 8b68c8ada6845886bebe698a35bea27858d07db0 (diff) |
mark internal globals as private as well
-rw-r--r-- | src/intertyper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index 6da30ae8..94d937e1 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -502,7 +502,7 @@ function intertyper(data, sidePass, baseLineNums) { } else { // variable var ident = item.tokens[0].text; - var private_ = findTokenText(item, 'private') >= 0; + var private_ = findTokenText(item, 'private') >= 0 || findTokenText(item, 'internal') >= 0; cleanOutTokens(LLVM.GLOBAL_MODIFIERS, item.tokens, [2, 3]); var external = false; if (item.tokens[2].text === 'external') { |