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

Function yy_syntax_error

shadercompiler/lempar.c:835–848  ·  view source on GitHub ↗

** The following code executes when a syntax error first occurs. */

Source from the content-addressed store, hash-verified

833** The following code executes when a syntax error first occurs.
834*/
835static void yy_syntax_error(
836 yyParser *yypParser, /* The parser */
837 int yymajor, /* The major type of the error token */
838 ParseTOKENTYPE yyminor /* The minor type of the error token */
839){
840 ParseARG_FETCH
841 ParseCTX_FETCH
842#define TOKEN yyminor
843/************ Begin %syntax_error code ****************************************/
844%%
845/************ End %syntax_error code ******************************************/
846 ParseARG_STORE /* Suppress warning about unused %extra_argument variable */
847 ParseCTX_STORE
848}
849
850/*
851** The following is executed when the parser accepts

Callers 1

ParseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected