aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index fed60d77..3e65a039 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -288,7 +288,7 @@ function parseLLVMSegment(segment) {
return {
intertype: 'value',
ident: segment[0].text,
- type: '?',
+ type: isType(segment[0].text) ? segment[0].text : '?',
};
} else if (segment[0].text in PARSABLE_LLVM_FUNCTIONS) {
return parseLLVMFunctionCall([{text: '?'}].concat(segment));