# HG changeset patch # User mario # Date 1195119754 -3600 # Node ID dab799d3d4a6aba8bc2ba45537c87e22276073d2 # Parent b97f9ad7b2c68cacae98a7fb68ced14c597a12e0 Adding location data to new transition_condition_c. diff -r b97f9ad7b2c6 -r dab799d3d4a6 stage1_2/iec.y --- a/stage1_2/iec.y Thu Nov 15 10:21:19 2007 +0100 +++ b/stage1_2/iec.y Thu Nov 15 10:42:34 2007 +0100 @@ -3806,9 +3806,9 @@ transition_condition: ':' eol_list simple_instr_list - {$$ = new transition_condition_c($3, NULL);} + {$$ = new transition_condition_c($3, NULL, locloc(@$));} | ASSIGN expression ';' - {$$ = new transition_condition_c(NULL, $2);} + {$$ = new transition_condition_c(NULL, $2, locloc(@$));} ;