/[hydra]/hydra/src/boa_grammar.y
ViewVC logotype

Diff of /hydra/src/boa_grammar.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by nmav, Wed Sep 25 06:42:34 2002 UTC revision 1.4 by nmav, Sun Oct 27 10:06:28 2002 UTC
# Line 32  Line 32 
32  int yyerror(char * msg);  int yyerror(char * msg);
33    
34  /* yydebug = 1; */  /* yydebug = 1; */
   
35  #ifdef DEBUG  #ifdef DEBUG
36  #define DBG(x) x  #define DBG(x) x
37  #else  #else
# Line 102  StmtTwoArgs:           STMT_TWO_ARGS STRING Line 101  StmtTwoArgs:           STMT_TWO_ARGS STRING
101                  { if ($1->action) {                  { if ($1->action) {
102                          DBG(printf("StmtTwoArgs: '%s' '%s' '%s'\n",                          DBG(printf("StmtTwoArgs: '%s' '%s' '%s'\n",
103                                      $1->name,arg1hold,$4);)                                      $1->name,arg1hold,$4);)
104                          $1->action($4,arg1hold,NULL, NULL, $1->object);                          $1->action(arg1hold, $4,NULL, NULL, $1->object);
105                    }                    }
106                    free(arg1hold);                    free(arg1hold);
107                  }                  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26