Commit 680b46f3 authored by Martin Sheppard's avatar Martin Sheppard Committed by Arturo Espinosa

fixed so that while parsing a formula, a quoted function is convered to a

2000-01-02  Martin Sheppard <martin.sheppard@iname.com>

	* src/parser.{c,y} (yylex) : fixed so that while parsing a formula,
	a quoted function is convered to a string token rather than a
	function call token. i.e. so that things like "sin" work properly in
	formulas.
parent 5260ac76
2000-01-02 Martin Sheppard <martin.sheppard@iname.com>
* src/parser.{c,y} (yylex) : fixed so that while parsing a formula,
a quoted function is convered to a string token rather than a
function call token. i.e. so that things like "sin" work properly in
formulas.
2000-01-03 Martin Sheppard <martin.sheppard@iname.com>
* src/expr.c (strescape) : new function to escape strings
......
2000-01-02 Martin Sheppard <martin.sheppard@iname.com>
* src/parser.{c,y} (yylex) : fixed so that while parsing a formula,
a quoted function is convered to a string token rather than a
function call token. i.e. so that things like "sin" work properly in
formulas.
2000-01-03 Martin Sheppard <martin.sheppard@iname.com>
* src/expr.c (strescape) : new function to escape strings
......
......@@ -593,7 +593,6 @@ yylex (void)
case '\'':
case '"': {
char *string, *s;
int v;
char quotes_end = c;
p = parser_expr;
......@@ -619,8 +618,7 @@ yylex (void)
*s = 0;
parser_expr++;
v = try_symbol (string, FALSE);
return v;
return make_string_return (string, FALSE);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment