help-gnu-utils
[Top][All Lists]
Advanced

[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);
                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]