Modified the print statement of successful and unsuccessful parsings to avoid using utf

This commit is contained in:
Mariano Uvalle 2019-04-04 19:59:25 +00:00
parent b5614d17d4
commit 9f059e9949

View file

@ -114,7 +114,7 @@ def p_programa(p):
'''
programa : program id V F B end program
'''
print('✓✓✓ Valid program')
print('+++ Valid program')
def p_V(p):
'''
@ -286,7 +286,7 @@ def p_EQSymbols(p):
'''
def p_error(p):
print('xxx Invalid program')
print('XXX Invalid program')
print(p)
parser = yacc.yacc()