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

Function yy_parse_failed

shadercompiler/lempar.c:811–829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

809*/
810#ifndef YYNOERRORRECOVERY
811static void yy_parse_failed(
812 yyParser *yypParser /* The parser */
813){
814 ParseARG_FETCH
815 ParseCTX_FETCH
816#ifndef NDEBUG
817 if( yyTraceFILE ){
818 fprintf(yyTraceFILE,"%sFail!\n",yyTracePrompt);
819 }
820#endif
821 while( yypParser->yytos>yypParser->yystack ) yy_pop_parser_stack(yypParser);
822 /* Here code is inserted which will be executed whenever the
823 ** parser fails */
824/************ Begin %parse_failure code ***************************************/
825%%
826/************ End %parse_failure code *****************************************/
827 ParseARG_STORE /* Suppress warning about unused %extra_argument variable */
828 ParseCTX_STORE
829}
830#endif /* YYNOERRORRECOVERY */
831
832/*

Callers 1

ParseFunction · 0.70

Calls 1

yy_pop_parser_stackFunction · 0.70

Tested by

no test coverage detected