fix typo when raising syntax error
Change-Id: I4ddcacb912536dda23ac4d371ff5b06664588b99
This commit is contained in:
parent
a0ebfc0617
commit
e2ad48cdf2
@ -48,7 +48,7 @@ def SearchParser():
|
||||
elif p[2] == 'or':
|
||||
p[0] = or_(p[1], p[3])
|
||||
else:
|
||||
raise SyntaxErro()
|
||||
raise SyntaxError()
|
||||
|
||||
def p_negative_expr(p):
|
||||
'''negative_expr : NOT expression
|
||||
|
Loading…
x
Reference in New Issue
Block a user