diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-01 11:55:44 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-01 11:55:44 -0700 |
commit | 298c56987ad09a3a973291c08cd377e22e55ea34 (patch) | |
tree | 3d4a4a0d53dfbcfe9ea673f6d56e1161d9a318b6 | |
parent | 7359e3ff751c241d19f638c59f127ab73c2c7e07 (diff) |
fix parsing of packed structs
-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 f6bf44b2..2a220882 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -410,7 +410,7 @@ function intertyper(data, parseFunctions, baseLineNum) { } else if (item.tokens[3].text != 'opaque') { if (item.tokens[3].type == '<') { packed = true; - item.tokens[3] = tokenizer.processItem({ lineText: '{ ' + item.tokens[3].item.tokens[0].text + ' }' }, true).tokens[0]; + item.tokens[3] = item.tokens[3].item.tokens[0]; } var subTokens = item.tokens[3].tokens; subTokens.push({text:','}); |