--- loncom/homework/CAPA-converter/capaLexerDef.flex 2001/01/30 21:03:25 1.7 +++ loncom/homework/CAPA-converter/capaLexerDef.flex 2001/07/09 04:01:53 1.8 @@ -837,7 +837,7 @@ EndLine ([\r][\n]|[\n]) { [\"] { LLDBUG_PR1("[TF,V,LET,MAP str\" ]"); Current_char_p = String_buf; - send("\""); + send("'"); yy_push_state(S_STRING); } } @@ -870,7 +870,7 @@ EndLine ([\r][\n]|[\n]) end_delayed(); send("&format("); flush_delayed(); - send(",\"%s\")",yytext+1); + send(",'%s')",yytext+1); } [:]{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 */