Commit 1233aa60 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2426] Move the ungetToken() call to make it easier to follow

parent 8ec8a19d
......@@ -247,14 +247,13 @@ Generic::constructFromLexer(MasterLexer& lexer) {
lexer.getNextToken(MasterToken::STRING, true);
if ((token.getType() == MasterToken::END_OF_FILE) ||
(token.getType() == MasterToken::END_OF_LINE)) {
lexer.ungetToken();
break;
}
token.getString(hex_part);
hex_txt.append(hex_part);
}
lexer.ungetToken();
try {
isc::util::encode::decodeHex(hex_txt, data);
} catch (const isc::BadValue& ex) {
......
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