more total parser;
authorwenzelm
Mon, 06 Oct 2014 18:17:44 +0200
changeset 58596 877c5ecee253
parent 58595 127f192b755c
child 58597 21a741e96970
child 58602 ab56811d76c6
more total parser;
src/Pure/Tools/bibtex.scala
--- a/src/Pure/Tools/bibtex.scala	Mon Oct 06 18:11:16 2014 +0200
+++ b/src/Pure/Tools/bibtex.scala	Mon Oct 06 18:17:44 2014 +0200
@@ -361,6 +361,7 @@
         case Item_Start(kind) =>
           space ^^ { case a => (Chunk(kind, List(a)), ctxt) } |
           item_begin ^^ { case (end, a) => (Chunk(kind, List(a)), Item_Open(kind, end)) } |
+          recover_item ^^ { case a => (a, Ignored) } |
           ignored_line
 
         case Item_Open(kind, end) =>