static unsigned int lineNumber; /* current line number */
ltokenCode yllex (void)
- /*@globals killed restoretok@*/
+ /*@globals killed restoretok@*/ /* only if restore is TRUE */
{
lsymbol tokenSym;
}
else
{
+ /*@-onlyunqglobaltrans@*/
yllval.ltok = ltoken_copy (LCLScanNextToken ());
+ /*@=onlyunqglobaltrans@*/
}
tokenSym = ltoken_getText (yllval.ltok);
}
}
+ /*@-onlyunqglobaltrans@*/ /* restoretok not released on non-restore path */
+ /*@-globstate@*/
return (ltoken_getCode (yllval.ltok));
+ /*@=onlyunqglobaltrans@*/
+ /*@=globstate@*/
}
/* useful for scanning LCL init files and LSL init files ? */