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
Sebastian Schrader
Kea
Commits
dd3c52d9
Commit
dd3c52d9
authored
Nov 27, 2016
by
Francis Dupont
Committed by
Tomek Mrugalski
Nov 29, 2016
Browse files
[5014_phase2] Fixed default rule (flex -s)
parent
8fa1747f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bin/dhcp6/dhcp6_lexer.ll
View file @
dd3c52d9
...
...
@@ -148,15 +148,18 @@ JSONString \"{JSONStringCharacter}*\"
driver.includeFile(tmp);
}
<DIR_ENTER,DIR_INCLUDE,DIR_EXIT><<EOF>> {
isc_throw(isc::BadValue, "
Directive
not
closed
.
");
}
<DIR_EXIT>"
?
>
" BEGIN(INITIAL);
{blank}+ {
<*>
{blank}+ {
// Ok, we found a with space. Let's ignore it and update loc variable.
loc.step();
}
[\n]+ {
<*>
[\n]+ {
// Newline found. Let's update the location and continue.
loc.lines(yyleng);
loc.step();
...
...
@@ -792,7 +795,7 @@ null {
return isc::dhcp::Dhcp6Parser::make_NULL_TYPE(loc);
}
. driver.error (loc, "
Invalid
character:
" + std::string(yytext));
<*>
. driver.error (loc, "
Invalid
character:
" + std::string(yytext));
<<EOF>> {
if (states.empty()) {
...
...
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