diff options
author | alon@honor <none@none> | 2010-10-07 22:58:41 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-07 22:58:41 -0700 |
commit | c09a260f22aa80378b859430051b0e486e39a94a (patch) | |
tree | f3e67c68810dae711d7371a05b92c7f9aeca5eec /src | |
parent | d0eb15c81a09cf011c5f660413e593b0c09ff5fb (diff) |
handle |linkonce| constants | all llvm_gcc tests pass but sauer
Diffstat (limited to 'src')
-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 6333492d..4eb09367 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -253,7 +253,7 @@ function intertyper(data) { } else { // variable var ident = item.tokens[0].text; - while (item.tokens[2].text in { 'private': 0, 'constant': 0, 'appending': 0, 'global': 0, 'weak_odr': 0, 'internal': 0 }) + while (item.tokens[2].text in set('private', 'constant', 'appending', 'global', 'weak_odr', 'internal', 'linkonce')) item.tokens.splice(2, 1); var ret = { __result__: true, |