diff --git a/ply/__init__.py b/ply/__init__.py index 25158dc..863ef54 100644 --- a/ply/__init__.py +++ b/ply/__init__.py @@ -2,4 +2,4 @@ # Author: David Beazley (dave@dabeaz.com) # https://github.com/dabeaz/ply -__version__ = '2022.10.27' \ No newline at end of file +__version__ = "2022.10.27" diff --git a/pseudoyacc.py b/pseudoyacc.py index 49c03e7..0aac827 100644 --- a/pseudoyacc.py +++ b/pseudoyacc.py @@ -68,6 +68,7 @@ def p_comment(p): # == Conditional selection + def p_selection(p): """selection : if | case""" @@ -77,6 +78,7 @@ def p_selection(p): # If...else...endif statements + def p_if(p): """if : if_start | then