[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
About lex and yacc
From: |
parag |
Subject: |
About lex and yacc |
Date: |
Wed, 31 Dec 2008 10:10:47 -0800 (PST) |
User-agent: |
G2/1.0 |
I saw the following code some where, How come the following yacc rule
uses $4, which does not exist. Can you help me
internal_op_call_with_args
: IPOINT '('
{
if ((void*)$1 == (void*)CSample) {
fcSTF = 1;
}
}
expression_or_null_list ')'
{
$$ = (long)getInternalOpPtr((void*)$1, (PT*)$4);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- About lex and yacc,
parag <=