Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
625f0894
Commit
625f0894
authored
Dec 17, 2012
by
JINMEI Tatuya
Browse files
[2427] wording fix: removed redundant words
parent
a435de0e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/master_loader.cc
View file @
625f0894
...
...
@@ -405,10 +405,9 @@ MasterLoader::MasterLoaderImpl::handleInitialToken() {
isc_throw
(
InternalException
,
"No previous name to use in "
"place of initial whitespace"
);
}
else
if
(
!
previous_name_
)
{
callbacks_
.
warning
(
lexer_
.
getSourceName
(),
lexer_
.
getSourceLine
(),
"Ambiguous previous name previous name for "
"use in place of initial whitespace"
);
callbacks_
.
warning
(
lexer_
.
getSourceName
(),
lexer_
.
getSourceLine
(),
"Ambiguous previous name for use in place of "
"initial whitespace"
);
}
return
(
next_token
);
}
else
if
(
initial_token
.
getType
()
==
MasterToken
::
STRING
||
...
...
src/lib/dns/tests/master_loader_unittest.cc
View file @
625f0894
...
...
@@ -569,8 +569,8 @@ TEST_F(MasterLoaderTest, includeAndInitialWS) {
EXPECT_TRUE
(
errors_
.
empty
());
EXPECT_EQ
(
1
,
warnings_
.
size
());
checkCallbackMessage
(
warnings_
.
at
(
0
),
"Ambiguous previous name
previous name for use in
"
"
place of initial
whitespace"
,
3
);
"Ambiguous previous name
for use in place of initial
"
" whitespace"
,
3
);
checkARR
(
"xyz.example.org"
);
checkBasicRRs
();
checkARR
(
"xyz.example.org"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment