--- loncom/homework/CAPA-converter/capaLexerDef.flex 2000/10/25 20:26:57 1.5 +++ loncom/homework/CAPA-converter/capaLexerDef.flex 2001/07/09 04:01:53 1.8 @@ -382,7 +382,7 @@ EndLine ([\r][\n]|[\n]) { {EndLine}{Spaces}"//"[^\n]*$ {LLDBUG_PRL2("[COMMENT<%s>]\n",yytext); - send("# %s",&yytext[2]); + send("# %s\n",&yytext[2]); } [^\n]*{EndLine} { send("\n"); BEGIN S_TEXT; @@ -738,23 +738,23 @@ EndLine ([\r][\n]|[\n]) } [Pp][Cc][Rr] | -[Hh][Gg][Rr] { if (firstparam) firstparam=0; else add_delayed("\">\n\t"); - add_delayed("\n\t"); + add_delayed("\n\t"); - add_delayed("\n\t"); + add_delayed("\n\t"); - add_delayed("\n\t"); + add_delayed("[:]{Number}+[EeFf] { if (dosend) send("\" format=\"%s",yytext+1); @@ -931,7 +931,7 @@ EndLine ([\r][\n]|[\n]) [\\][\"] { /**Current_char_p++ = '"';*/ send("\\\""); } [\\]{Space}*[\n] { LLDBUG_PR2("[\\CR continue in S_STRING](%s)",yytext); /* continuation on next line */ } [\"] { /* end of a string constant -- */ - send("\""); + send("'"); yy_pop_state(); } {EndLine} { /* check for termination of string constant */