Allow null string

This commit is contained in:
Marty Kraimer
1997-05-02 20:19:56 +00:00
parent f732ff2505
commit 5257374a73
+1 -1
View File
@@ -39,7 +39,7 @@ value {regular}|{spaces}|{escape}
return(WORD);
}
\"{value}+\" { yylval.Str=(char *)dbmfMalloc(strlen(yytext)+1);
\"{value}*\" { yylval.Str=(char *)dbmfMalloc(strlen(yytext)+1);
yytext[strlen(yytext)-1] = '\0';
strcpy(yylval.Str,yytext+1);
return(VALUE);