aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-01 19:35:12 -0700
committeralon@honor <none@none>2010-10-01 19:35:12 -0700
commit73a87bedee8b225ed76c8efebe1a032d0bf91ec5 (patch)
treea240ad01146859aacc625057d51c54fef7963512 /src/parseTools.js
parentd5ba1375e1ed15c5a3520ff6dde6f97795f5ee1a (diff)
handle nested function calls in mathops
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 51988753..401a065c 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -280,6 +280,8 @@ function parseLLVMSegment(segment) {
ident: segment[0].text,
type: '?',
};
+ } else if (segment[0].text in PARSABLE_LLVM_FUNCTIONS) {
+ return parseLLVMFunctionCall([{text: '?'}].concat(segment));
} else if (segment[1].text in PARSABLE_LLVM_FUNCTIONS) {
return parseLLVMFunctionCall(segment);
} else {