Commit c92f2ce3 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Avoid space in the output after \n command following by a newline.

parent 54e87756
......@@ -550,6 +550,13 @@ REFWORD {LABELID}|{REFWORD2}|{REFWORD3}
ASSERT(ok);
return TK_COMMAND;
}
<St_Para>{CMD}"n"\n { /* \n followed by real newline */
yylineno++;
g_token->name = yytext+1;
g_token->name = g_token->name.stripWhiteSpace();
g_token->paramDir=TokenInfo::Unspecified;
return TK_COMMAND;
}
<St_Para>{SPCMD1} |
<St_Para>{SPCMD2} |
<St_Para>{SPCMD4} { /* special command */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment