Skip to content

Commit

Permalink
Allow lexer to accept "arg" prefixed hyperbolic inverse functions. Re…
Browse files Browse the repository at this point in the history
…lated to issue #12
  • Loading branch information
keram88 committed Jul 24, 2016
1 parent ca61fc3 commit dd36a6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/frontend/function_transforms/function_to_lexed.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
t_BINOP = "({})".format(")|(".join(BINOPS))

UNIOPS = {"abs", "cos", "exp", "log", "sin", "tan", "sqrt",
"arccos", "arcsin", "arctan", "arcos", "arsin", "artan",
"acos", "asin", "atan",
"arccos", "arcsin", "arctan", "acos", "asin", "atan",
"sinh", "cosh", "tanh",
"arccosh", "arcsinh", "arctanh", "arcosh", "arsinh", "artanh",
"arccosh", "arcsinh", "arctanh", "argcosh", "argsinh", "argtanh",
"arcosh", "arsinh", "artanh",
"acosh", "asinh", "atanh"}

t_UNIOP = "({})".format(")|(".join(UNIOPS))
Expand Down

0 comments on commit dd36a6f

Please sign in to comment.