in reply to Re^3: How does perl's lexer and parser cooperate?
in thread How does perl's lexer and parser cooperate?
Got it, thanks again!
But I've got another doubt, what's the difference between ival&i_tkval, pval&p_tkval in YYSTYPE?
updateI've just checked other symbols like GRAMBLOCK,
it should be parsed by Perl_parse_block in toke.c, which is called as parse_block ,
but the strange thing is : they're never ever called from anywhere.
so when will yyparse got token GRAMBLOCK from yylex ?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: How does perl's lexer and parser cooperate?
by dave_the_m (Monsignor) on Dec 27, 2012 at 19:10 UTC |
In Section
Seekers of Perl Wisdom