MCPcopy Create free account
hub / github.com/carbonengine/trinity / yy_accept

Function yy_accept

shadercompiler/lempar.c:853–874  ·  view source on GitHub ↗

** The following is executed when the parser accepts */

Source from the content-addressed store, hash-verified

851** The following is executed when the parser accepts
852*/
853static void yy_accept(
854 yyParser *yypParser /* The parser */
855){
856 ParseARG_FETCH
857 ParseCTX_FETCH
858#ifndef NDEBUG
859 if( yyTraceFILE ){
860 fprintf(yyTraceFILE,"%sAccept!\n",yyTracePrompt);
861 }
862#endif
863#ifndef YYNOERRORRECOVERY
864 yypParser->yyerrcnt = -1;
865#endif
866 assert( yypParser->yytos==yypParser->yystack );
867 /* Here code is inserted which will be executed whenever the
868 ** parser accepts */
869/*********** Begin %parse_accept code *****************************************/
870%%
871/*********** End %parse_accept code *******************************************/
872 ParseARG_STORE /* Suppress warning about unused %extra_argument variable */
873 ParseCTX_STORE
874}
875
876/* The main parser program.
877** The first argument is a pointer to a structure obtained from

Callers 1

ParseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected