org-element: Fix table parsing with missing final bar
commit728661309e3b0b7fa81fff7805acbd022a82940f
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 8 Apr 2014 16:46:41 +0000 (8 18:46 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Tue, 8 Apr 2014 16:56:51 +0000 (8 18:56 +0200)
treeda4c274a12acd04d6987a5b1bb5a1acaea48e41e
parent0820d002cb8d5120299c5bf00d4bc4e8fd5d467f
org-element: Fix table parsing with missing final bar

* lisp/org-element.el (org-element-table-cell-parser,
  org-element-table-cell-successor): Recognize cell even when last
  vertical bar is missing.

* testing/lisp/test-org-element.el (test-org-element/table-cell-parser):
  Add test.

Thanks to Thorsten Jolitz for reporting it.
http://permalink.gmane.org/gmane.emacs.orgmode/84713
lisp/org-element.el
testing/lisp/test-org-element.el