|
From:
<br...@ph...> - 2005-06-28 19:51:10
|
Ethan Merritt wrote: > Right. It used to be sufficient to do "if (isstring(c_token))". > Now it is necessary to check > "if (isstring(c_token) || isstringvar(c_token) || isstringfunc(c_token))" It shouldn't be that complex. IMHO, isstring() should have been renamed to isstringconst(), and a new isstring() been implemented that computes the above || expression. Then a single go through all the sources, replacing those (few?) uses of isstring() that actually have to be isstringconst(), would have sufficed to change the global behaviour. I.e. isstring() should have changed meaning from "token is a string literal" to "token starts a string-valued expression". > The problem is we don't *have* a function isstringfunc(). |