fungetc has lvalue character argument.

This commit is contained in:
Wilson Snyder 2022-12-23 13:00:34 -05:00
parent c0499da28b
commit d5a18c99fe

View File

@ -193,6 +193,7 @@ private:
{
m_setRefLvalue = VAccess::WRITE;
iterateAndNextNull(nodep->filep());
iterateAndNextNull(nodep->rhsp());
}
}
void visit(AstSScanF* nodep) override {
@ -203,8 +204,7 @@ private:
}
}
void visit(AstSysIgnore* nodep) override {
// Can't know if lvalue or not; presume so as stricter
VL_RESTORER(m_setRefLvalue);
// Can't know if lvalue or not; presume not
iterateChildren(nodep);
}
void visit(AstRand* nodep) override {