]> Devi Nivas Git - chevron.git/commit
Began fixing standalones
authornoah morrison <noah@morrison.ph>
Sun, 9 Nov 2014 01:19:24 +0000 (20:19 -0500)
committernoah morrison <noah@morrison.ph>
Sun, 9 Nov 2014 01:19:24 +0000 (20:19 -0500)
commit38ac5f6547aa17c6f23ff38f07efedd6d028ea41
tree886d6ab4cd39026437d2d19df649b9a7bc19d62f
parent2189df1ae72569dfe16b8063af536ffe7ce88f7c
Began fixing standalones

* stopped closing the file, instead use a variable
  so I can reach the end of the file and seek back

* moved literal yielding to the end of the tokenize function
  so I can remove whitespace from it if it's before a standalone

* stopped set_delimiter? from continuing the while loop
  so I can handle the standalone

* added standalone handling, which checks the left and the right
  parts of every tag to see if it's all alone on a line. And if so
  it will edit the whitespace in the literals
entei.py