diff --git a/src/preprocessed_text.py b/src/preprocessed_text.py index 4b7a8fd..21af15c 100644 --- a/src/preprocessed_text.py +++ b/src/preprocessed_text.py @@ -46,7 +46,6 @@ Fixed_form = 1 ###################################################################### # Dictionary of simple statements simple_dict = { - "program": Program , "subroutine": Subroutine , "begin_shell": Begin_shell , "end_shell": End_shell , @@ -140,6 +139,9 @@ def get_type (i, filename, line, is_doc): if firstword == "begin_doc": return [ Begin_doc (i,line,filename) ], True + if firstword == "program": + return [ Program (i,line,filename) ], False + if is_doc: return [ Doc (i,line,filename) ], is_doc