diff options
author | alon@honor <none@none> | 2010-10-01 19:35:12 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-01 19:35:12 -0700 |
commit | 73a87bedee8b225ed76c8efebe1a032d0bf91ec5 (patch) | |
tree | a240ad01146859aacc625057d51c54fef7963512 /src/parseTools.js | |
parent | d5ba1375e1ed15c5a3520ff6dde6f97795f5ee1a (diff) |
handle nested function calls in mathops
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 2 |
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 { |