Fix some local declarations not working.

This commit is contained in:
David Anderson
2014-07-04 23:53:16 -07:00
parent 9a2bdd3792
commit f62769108c
3 changed files with 35 additions and 14 deletions
-4
View File
@@ -2319,10 +2319,6 @@ SC_FUNC int matchtoken(int token)
*/
SC_FUNC int tokeninfo(cell *val,char **str)
{
/* if the token was pushed back, tokeninfo() returns the token and
* parameters of the *next* token, not of the *current* token.
*/
assert(sTokenBuffer->depth == 0);
*val = current_token()->value;
*str = current_token()->str;
return current_token()->id;