Computer Science, asked by pranjalmaurya5620, 1 year ago

Explain yytext , yyleng and yylval variable of lex and yacc.

Answers

Answered by Anonymous
0

Variable yytext is a pointer to the matched string (NULL-terminated) and yyleng is the length of the matched string. Variable yyout is the output file and defaults to stdout. Function yywrap is called by lex when input is exhausted.

Similar questions