aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-07 22:58:41 -0700
committeralon@honor <none@none>2010-10-07 22:58:41 -0700
commitc09a260f22aa80378b859430051b0e486e39a94a (patch)
treef3e67c68810dae711d7371a05b92c7f9aeca5eec /src
parentd0eb15c81a09cf011c5f660413e593b0c09ff5fb (diff)
handle |linkonce| constants | all llvm_gcc tests pass but sauer
Diffstat (limited to 'src')
-rw-r--r--src/intertyper.js2
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,