diff src/lex.l @ 4064:b4fa31442a78

[project @ 2002-09-26 21:10:45 by jwe]
author jwe
date Thu, 26 Sep 2002 21:10:46 +0000
parents b79da8779a0e
children 5a82e874999b
line wrap: on
line diff
--- a/src/lex.l
+++ b/src/lex.l
@@ -242,7 +242,7 @@
 <TEXT_FCN>[\;\,] {
     if (lexer_flags.doing_set && strcmp (yytext, ",") == 0)
       {
-	TOK_PUSH_AND_RETURN (yytext, TEXT);
+	TOK_PUSH_AND_RETURN (yytext, STRING);
       }
     else
       {
@@ -261,7 +261,7 @@
 
 <TEXT_FCN>[^ \t\n\;\,\"\'][^ \t\n\;\,]*{S}* {
     std::string tok = strip_trailing_whitespace (yytext);
-    TOK_PUSH_AND_RETURN (tok, TEXT);
+    TOK_PUSH_AND_RETURN (tok, STRING);
   }
 
 %{
@@ -2016,7 +2016,7 @@
 		  else if (delim == '\'')
 		    gripe_single_quote_string ();
 
-		  return TEXT;
+		  return STRING;
 		}
 	    }
 	}