Index: trunk/flexbisonparse/wikilex.l |
— | — | @@ -134,6 +134,8 @@ |
135 | 135 | \| { COMMONTOKENS; debuglex ("PIPE "); return PIPE; } |
136 | 136 | \{\{\{\{\{ { COMMONTOKENS; debuglex ("OPENPENTUPLECURLY "); return OPENPENTUPLECURLY; } |
137 | 137 | \}\}\}\}\} { COMMONTOKENS; debuglex ("CLOSEPENTUPLECURLY "); return CLOSEPENTUPLECURLY; } |
| 138 | +\{\{\{\{ { COMMONTOKENS; debuglex ("OPENTEMPLATE "); yyless (2); return OPENTEMPLATE; } |
| 139 | +\}\}\}\} { COMMONTOKENS; debuglex ("CLOSETEMPLATE "); yyless (2); return CLOSETEMPLATE; } |
138 | 140 | \{\{\{ { COMMONTOKENS; debuglex ("OPENTEMPLATEVAR "); return OPENTEMPLATEVAR; } |
139 | 141 | \}\}\} { COMMONTOKENS; debuglex ("CLOSETEMPLATEVAR "); return CLOSETEMPLATEVAR; } |
140 | 142 | \{\{ { COMMONTOKENS; debuglex ("OPENTEMPLATE "); return OPENTEMPLATE; } |
— | — | @@ -145,6 +147,7 @@ |
146 | 148 | '''. { COMMONTOKENS; APOSTROPHE_CATASTROPHE (3, "APO3 ", APO3); } |
147 | 149 | ''. { COMMONTOKENS; APOSTROPHE_CATASTROPHE (2, "APO2 ", APO2); } |
148 | 150 | \n { BEGIN (INITIAL); debuglex ("NEWLINE\n"); return NEWLINE; } |
| 151 | +^" "*\n { BEGIN (INITIAL); debuglex ("NEWLINE\n"); return NEWLINE; } |
149 | 152 | \r { /* ignore this one */ debuglex ("<13> "); } |
150 | 153 | |
151 | 154 | ^" " { BEGIN(cannotbelistorheadingorpre); debuglex ("PRELINE "); return PRELINE; } |