oracc / pyoracc

Python tools for working with ORACC
GNU General Public License v3.0
12 stars 10 forks source link

Fix skipped protocols in grammar #11

Open raquelalegre opened 9 years ago

raquelalegre commented 9 years ago

ATF protocols are currently being skipped by yacc:

    """skipped_protocol : ATF USE UNICODE newline
                        | ATF USE MATH newline
                        | ATF USE LEGACY newline
                        | ATF USE MYLINES newline
                        | ATF USE LEXICAL newline
                        | key_statement
                        | BIB ID newline
                        | lemmatizer_statement"""

The only one being processed at the moment is the language protocol.

All ATF protocols, including language, should be added to an array of protocols in the text object.

jamespjh commented 8 years ago

Test comment via waffle