Commit 7549535b authored by Shawn Routhier's avatar Shawn Routhier
Browse files

[trac4269] Updates per review comments, basically change some variable names

parent 75063d9b
......@@ -763,8 +763,8 @@ namespace isc { namespace eval {
case 16:
#line 182 "parser.yy" // lalr1.cc:859
{
TokenPtr pkt6field(new TokenPkt6(yystack_[0].value.as< TokenPkt6::FieldType > ()));
ctx.expression.push_back(pkt6field);
TokenPtr pkt6_field(new TokenPkt6(yystack_[0].value.as< TokenPkt6::FieldType > ()));
ctx.expression.push_back(pkt6_field);
}
#line 770 "parser.cc" // lalr1.cc:859
break;
......
......@@ -180,8 +180,8 @@ string_expr : STRING
}
| PKT6 "." pkt6_field
{
TokenPtr pkt6field(new TokenPkt6($3));
ctx.expression.push_back(pkt6field);
TokenPtr pkt6_field(new TokenPkt6($3));
ctx.expression.push_back(pkt6_field);
}
;
......
......@@ -125,8 +125,9 @@ public:
/// @brief checks if the given token is Pkt6 of specified type
/// @param token token to be checked
/// @param type expected type of the Pkt6 field
void checkTokenPkt6(const TokenPtr& token, TokenPkt6::FieldType type) {
/// @param exp_type expected type of the Pkt6 field
void checkTokenPkt6(const TokenPtr& token,
TokenPkt6::FieldType exp_type) {
ASSERT_TRUE(token);
boost::shared_ptr<TokenPkt6> pkt =
......@@ -134,7 +135,7 @@ public:
ASSERT_TRUE(pkt);
EXPECT_EQ(type, pkt->getType());
EXPECT_EQ(exp_type, pkt->getType());
}
/// @brief checks if the given expression raises the expected message
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment