Menu

#5 Pyparsing grammar does not require 1st occurances

open
nobody
9
2009-12-04
2009-12-04
No

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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB