The regular expressions that were used specified that only spaces and tabs could be found before a line where a block was defined. With pyparsing this does not exist. This should be corrected by specifying KEYWORD as having a required set of spaces/tabs only prior to a block's invocation.
Example:
! We like enumeration because it's cool
>>>>
! We like
integer, parameter :: because=1
integer, parameter :: it's=2
integer, parameter :: cool=3