[jboss-cvs] jboss-seam ...
Gavin King
gavin.king at jboss.com
Sat Jan 20 12:19:05 EST 2007
User: gavin
Date: 07/01/20 12:19:05
Modified: jboss-seam seam-text.g
Log:
dont force a newline before eof
Revision Changes Path
1.22 +3 -4 jboss-seam/seam-text.g
(In the diff below, changes in quantity of whitespace are not shown.)
Index: seam-text.g
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-text.g,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- seam-text.g 18 Jan 2007 01:03:24 -0000 1.21
+++ seam-text.g 20 Jan 2007 17:19:05 -0000 1.22
@@ -49,7 +49,7 @@
special: (preformatted|quoted|list) newlineOrEof
;
-paragraph: { append("<p>\n"); } (line newline)+ { append("</p>\n"); } newlineOrEof
+paragraph: { append("<p>\n"); } (line newlineOrEof)+ { append("</p>\n"); } newlineOrEof
;
line: (plain|formatted) (plain|formatted|preformatted|quoted|html)*
@@ -128,7 +128,6 @@
quoted: DOUBLEQUOTE { append("<quote>"); }
(plain|formatted|preformatted|html|(list newline)|newline)*
- //line (newline line)*
DOUBLEQUOTE { append("</quote>"); }
;
@@ -150,13 +149,13 @@
list: olist | ulist
;
-olist: { append("<ol>\n"); } (olistLine newline)+ { append("</ol>\n"); }
+olist: { append("<ol>\n"); } (olistLine newlineOrEof)+ { append("</ol>\n"); }
;
olistLine: HASH { append("<li>"); } line { append("</li>"); }
;
-ulist: { append("<ul>\n"); } (ulistLine newline)+ { append("</ul>\n"); }
+ulist: { append("<ul>\n"); } (ulistLine newlineOrEof)+ { append("</ul>\n"); }
;
ulistLine: EQ { append("<li>"); } line { append("</li>"); }
More information about the jboss-cvs-commits
mailing list