summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a hack (kludge?) for attributes containing new-linesHEADmasterJan Pokorný2013-02-193-45/+46
| | | | | | Adjust corosync testcase respectively. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Remove trailing whitespaces in the test inputJan Pokorný2013-02-183-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Better handling for literals (multiline) and commentsJan Pokorný2013-02-185-570/+880
| | | | | | | | | | Previously, comments separated by one or more empty lines were merged together; now they are kept separated as intended (also trang's behavior). The literals can be multi-line (without strict check for triple quotes). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* rnctree.py: Python 2.6 compatibility (no dict comprehension)Jan Pokorný2013-02-131-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Reference http://www.thaiopensource.com/relaxng/implement.htmlJan Pokorný2013-02-081-0/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* rnctree.py: make it usable as an stdin-stdout filterJan Pokorný2013-02-081-1/+1
| | | | | | Previous behaviour can be achieved setting debug flags. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* rnc_tokenize.py: prefer system-wide PLY lexerJan Pokorný2013-01-291-5/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Massive update so it works for corosync.rnc and several othersJan Pokorný2013-01-2947-702/+5226
| | | | | | | | - continued style cleanup - some files moved to "unused" dir - added several files for testing and the ones like TODO and HACKING Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Set executable bit for rnc2rngJan Pokorný2013-01-211-0/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Turn CRLF to LF only (using dos2unix)Jan Pokorný2013-01-2114-8790/+8790
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Get closer to PEP8 (suppress some pep8 and pyflake msgs)Jan Pokorný2013-01-211-76/+85
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Use spaces instead of tabs in Python codeJan Pokorný2013-01-211-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Synchronize with http://gnosis.cx/download/relax/rnctree.pyJan Pokorný2013-01-211-0/+2
| | | | | | | | NB. the change is similar to [1]. [1] https://github.com/djmitche/rnc2rng/commit/976aee656cb10dcdd73b627e4757af8b5105708 Signed-off-by: David Mertz/www.gnosis.cx
* Initial commit, based on rnc.zip from gnosis.cx/download/relaxJan Pokorný2013-01-2135-0/+9891
Complete URL: http://www.gnosis.cx/download/relax/rnc.zip Signed-off-by: David Mertz/www.gnosis.cx