fix typo when raising syntax error

Change-Id: I4ddcacb912536dda23ac4d371ff5b06664588b99
This commit is contained in:
Doug Hellmann 2014-08-18 12:11:56 -04:00 committed by James E. Blair
parent a0ebfc0617
commit e2ad48cdf2
1 changed files with 1 additions and 1 deletions

View File

@ -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