Infrastructure: Move nesting counters, etc., to base class.
This lets all languages share the same definitions.
This commit is contained in:
parent
b4d46627cb
commit
9b2531ba23
6 changed files with 33 additions and 32 deletions
|
|
@ -7704,7 +7704,7 @@ yyreduce:
|
|||
if (parseContext.currentFunctionType->getBasicType() != EbtVoid)
|
||||
parseContext.error((yyvsp[-1].lex).loc, "non-void function must return a value", "return", "");
|
||||
if (parseContext.inMain)
|
||||
parseContext.postMainReturn = true;
|
||||
parseContext.postEntryPointReturn = true;
|
||||
}
|
||||
#line 7710 "MachineIndependent/glslang_tab.cpp" /* yacc.c:1646 */
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue