bugfix - gcc4 warning showed it :(

This commit is contained in:
Stanislav Shwartsman 2009-11-12 21:06:41 +00:00
parent 17f7badd1f
commit c4b9af631b
2 changed files with 3 additions and 3 deletions

View File

@ -2454,7 +2454,7 @@ yyreduce:
case 93:
#line 428 "parser.y"
{
bx_dbg_stepN_command(-1, (yyvsp[(2) - (4)].sval));
bx_dbg_stepN_command(-1, (yyvsp[(3) - (4)].uval));
free((yyvsp[(1) - (4)].sval)); free((yyvsp[(2) - (4)].sval));
}
break;

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: parser.y,v 1.38 2009-10-31 17:46:12 sshwarts Exp $
// $Id: parser.y,v 1.39 2009-11-12 21:06:41 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
%{
@ -426,7 +426,7 @@ stepN_command:
}
| BX_TOKEN_STEPN BX_TOKEN_ALL BX_TOKEN_NUMERIC '\n'
{
bx_dbg_stepN_command(-1, $2);
bx_dbg_stepN_command(-1, $3);
free($1); free($2);
}
| BX_TOKEN_STEPN BX_TOKEN_NUMERIC BX_TOKEN_NUMERIC '\n'