--- loncom/homework/CAPA-converter/capaLexerDef.flex 2002/03/20 18:15:00 1.19 +++ loncom/homework/CAPA-converter/capaLexerDef.flex 2002/03/20 18:19:59 1.20 @@ -1,6 +1,6 @@ /* The LearningOnline Network with CAPA * CAPA lexer dfinition, heavily modified to become a LON-CAPA convertor - * $Id: capaLexerDef.flex,v 1.19 2002/03/20 18:15:00 albertel Exp $ + * $Id: capaLexerDef.flex,v 1.20 2002/03/20 18:19:59 albertel Exp $ * * Copyright Michigan State University Board of Trustees * @@ -579,7 +579,7 @@ EndLine ([\r][\n]|[\n]) } "/OR" { LLDBUG_PRL1("[OR]"); BEGIN S_ANSCONTINUE; RETURN(ANS_OR); } {EndLine} { LLDBUG_PR1("[EoL within S_TEXT]\n"); /* end of the whole text line */ - send("
\n"); } + send("\n"); } [\\]{Space}*{EndLine} { LLDBUG_PR2("[\\EoL continue](%s)",yytext); /* continuation on next line */ } ^{Spaces}"//"[^\n]*$ { LLDBUG_PRL2("[COMMENT<%s>]\n",yytext); start_mode(MODE_SCRIPT,NULL);