You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2004/09/12 06:43:31 UTC

svn commit: rev 45932 - forrest/trunk/src/core/context/resources/chaperon/grammars

Author: crossley
Date: Sat Sep 11 21:43:30 2004
New Revision: 45932

Modified:
   forrest/trunk/src/core/context/resources/chaperon/grammars/wiki.grm
Log:
Cope with bad syntax:
empty spaces or initial paragraphs before the beginning of any section
http://marc.theaimsgroup.com/?l=forrest-dev&m=109482102415337
Submitted by: Fabio Rinaldi


Modified: forrest/trunk/src/core/context/resources/chaperon/grammars/wiki.grm
==============================================================================
--- forrest/trunk/src/core/context/resources/chaperon/grammars/wiki.grm	(original)
+++ forrest/trunk/src/core/context/resources/chaperon/grammars/wiki.grm	Sat Sep 11 21:43:30 2004
@@ -66,6 +66,21 @@
   | subsections
   | subsubsections
   | paragraphs
+  | paragraphs sections
+  | paragraphs subsections
+  | paragraphs subsubsections
+  | abreak sections
+  | abreak subsections
+  | abreak subsubsections
+  | abreak paragraphs
+  | abreak paragraphs sections
+  | abreak paragraphs subsections
+  | abreak paragraphs subsubsections
+  ;
+
+abreak
+  : softbreak
+  | hardbreak
   ;
 
 sections