--- loncom/homework/CAPA-converter/capaLexerDef.flex 2000/07/06 21:06:22 1.4 +++ loncom/homework/CAPA-converter/capaLexerDef.flex 2001/01/30 21:03:25 1.7 @@ -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; @@ -699,7 +699,7 @@ EndLine ([\r][\n]|[\n]) } { -{FileName}{Space}* { end_mode();send("%s\n",yytext); BEGIN S_SKIP; } +{FileName}{Space}* { end_mode();send("/res/capa/%s\n",yytext); BEGIN S_SKIP; } {Identifier}{Space}* { end_mode();send("$%s\n",yytext); BEGIN S_SKIP; } } @@ -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("