Skip to content

Commit

Permalink
Support syntax of deferred procedures
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Hovy committed Sep 21, 2018
1 parent 98ff5c4 commit 8fb2418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typefinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def parseStatement(self, i, statement, j, module):
moduleName = module.getName()
typeRegEx = Type.DECLARATION_REGEX
endTypeRegEx = Type.END_REGEX
procedureRegEx = re.compile(r'^PROCEDURE\s*(\,.*)?\:\:\s*(?P<alias>[a-z0-9_]+)\s*(\=\>\s*(?P<procedure>[a-z0-9_]+))?$', re.IGNORECASE)
procedureRegEx = re.compile(r'^PROCEDURE\s*(\(.*\))?\s*(\,.*)?\:\:\s*(?P<alias>[a-z0-9_]+)\s*(\=\>\s*(?P<procedure>[a-z0-9_]+))?$', re.IGNORECASE)
genericRegEx = re.compile(r'^GENERIC\s*\:\:\s*(?P<alias>[a-z0-9_]+)\s*\=\>\s*(?P<procedures>[a-z0-9_]+(\,[a-z0-9_]+)*)$', re.IGNORECASE)

if self.__currentType is None:
Expand Down

0 comments on commit 8fb2418

Please sign in to comment.