diff options
author | alon@honor <none@none> | 2010-09-02 23:00:47 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-02 23:00:47 -0700 |
commit | 1a589b26cead1d457f466480651975d6dff121d1 (patch) | |
tree | 2cf7596fb1d937dcc9d4362e6f9e293479785899 /src | |
parent | d5500368c01b311ca0ba9b94172bea2f9f51cb4c (diff) |
fsub
Diffstat (limited to 'src')
-rw-r--r-- | src/parser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.js b/src/parser.js index a506ee23..05018e29 100644 --- a/src/parser.js +++ b/src/parser.js @@ -702,7 +702,7 @@ function intertyper(data) { // mathops substrate.addZyme('Mathops', { selectItem: function(item) { return item.indent === -1 && item.tokens && item.tokens.length >= 3 && - ['add', 'sub', 'sdiv', 'mul', 'icmp', 'zext', 'urem', 'srem', 'fadd', 'fmul', 'fdiv', 'fcmp', 'uitofp', 'sitofp', 'fpext', 'fptoui', 'fptosi', 'trunc', 'sext', 'select', 'shl', 'shr', 'ashl', 'ashr', 'lshr', 'lshl', 'xor', 'or', 'and', 'ptrtoint'] + ['add', 'sub', 'sdiv', 'mul', 'icmp', 'zext', 'urem', 'srem', 'fadd', 'fsub', 'fmul', 'fdiv', 'fcmp', 'uitofp', 'sitofp', 'fpext', 'fptoui', 'fptosi', 'trunc', 'sext', 'select', 'shl', 'shr', 'ashl', 'ashr', 'lshr', 'lshl', 'xor', 'or', 'and', 'ptrtoint'] .indexOf(item.tokens[0].text) != -1 && !item.intertype }, processItem: function(item) { item.intertype = 'mathop'; |