Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
fix typo in convert.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Nov 9, 2021
1 parent a073fe2 commit 65f6879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Aspidites/parser/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .reserved import *

pmap_re = re.compile(r"(pmap\(\{.*\}\))")
end = lit_rparen + lit_lparen + lit_rparen


def factorial(expr):
Expand Down Expand Up @@ -59,7 +60,6 @@ def single_negation(expr):

def cvt_arith_expr(s, loc, t):
expr = "".join((str(i) for i in t))
end = lit_rparen + lit_lparen + lit_rparen
substr = ['!', '**', '//', '/', '%']

# TODO Unary ops don't get caught during parsing.
Expand Down

0 comments on commit 65f6879

Please sign in to comment.