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
6ad2a68b
Commit
6ad2a68b
authored
Nov 06, 2015
by
Francis Dupont
Browse files
[4088fd] Regenerated flex/bison
parent
67be085c
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lib/eval/lexer.cc
View file @
6ad2a68b
...
...
@@ -2230,6 +2230,8 @@ void yyfree (void * ptr )
using
namespace
isc
::
eval
;
void
EvalContext
::
scanBegin
()
{
...
...
src/lib/eval/parser.cc
View file @
6ad2a68b
...
...
@@ -49,7 +49,7 @@
#line 51 "parser.cc" // lalr1.cc:412
// Unqualified %code blocks.
#line 4
2
"parser.yy" // lalr1.cc:413
#line 4
3
"parser.yy" // lalr1.cc:413
# include "eval_context.h"
...
...
@@ -320,14 +320,14 @@ namespace isc { namespace eval {
{
case
8
:
// "constant string"
#line 5
6
"parser.yy" // lalr1.cc:636
#line 5
7
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
std
::
string
>
();
}
#line 326 "parser.cc" // lalr1.cc:636
break
;
case
9
:
// "option code"
#line 5
6
"parser.yy" // lalr1.cc:636
#line 5
7
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
int
>
();
}
#line 333 "parser.cc" // lalr1.cc:636
break
;
...
...
@@ -442,7 +442,7 @@ namespace isc { namespace eval {
// User initialization code.
#line 3
5
"parser.yy" // lalr1.cc:745
#line 3
6
"parser.yy" // lalr1.cc:745
{
// Initialize the initial location.
yyla
.
location
.
begin
.
filename
=
yyla
.
location
.
end
.
filename
=
&
ctx
.
file
;
...
...
@@ -564,7 +564,7 @@ namespace isc { namespace eval {
switch
(
yyn
)
{
case
2
:
#line 6
4
"parser.yy" // lalr1.cc:859
#line 6
5
"parser.yy" // lalr1.cc:859
{
TokenPtr
eq
(
new
TokenEqual
());
ctx
.
expression
.
push_back
(
eq
);
...
...
@@ -573,7 +573,7 @@ namespace isc { namespace eval {
break
;
case
4
:
#line 7
1
"parser.yy" // lalr1.cc:859
#line 7
2
"parser.yy" // lalr1.cc:859
{
TokenPtr
str
(
new
TokenString
(
yystack_
[
0
].
value
.
as
<
std
::
string
>
()));
ctx
.
expression
.
push_back
(
str
);
...
...
@@ -582,7 +582,7 @@ namespace isc { namespace eval {
break
;
case
5
:
#line 7
5
"parser.yy" // lalr1.cc:859
#line 7
6
"parser.yy" // lalr1.cc:859
{
TokenPtr
opt
(
new
TokenOption
(
yystack_
[
0
].
value
.
as
<
int
>
()));
ctx
.
expression
.
push_back
(
opt
);
...
...
@@ -591,7 +591,7 @@ namespace isc { namespace eval {
break
;
case
6
:
#line
79
"parser.yy" // lalr1.cc:859
#line
80
"parser.yy" // lalr1.cc:859
{
/* push back TokenSubstring */
}
...
...
@@ -933,7 +933,7 @@ namespace isc { namespace eval {
const
unsigned
char
EvalParser
::
yyrline_
[]
=
{
0
,
6
4
,
6
4
,
6
8
,
7
1
,
7
5
,
79
0
,
6
5
,
6
5
,
6
9
,
7
2
,
7
6
,
80
};
// Print the state stack on the debug stream.
...
...
@@ -969,7 +969,7 @@ namespace isc { namespace eval {
#line 21 "parser.yy" // lalr1.cc:1167
}
}
// isc::eval
#line 972 "parser.cc" // lalr1.cc:1167
#line 8
3
"parser.yy" // lalr1.cc:1168
#line 8
4
"parser.yy" // lalr1.cc:1168
void
isc
::
eval
::
EvalParser
::
error
(
const
location_type
&
l
,
...
...
src/lib/eval/parser.h
View file @
6ad2a68b
...
...
@@ -44,11 +44,12 @@
#include <string>
#include <eval/token.h>
class
E
val
C
ontext
;
#include <eval/e
val
_c
ontext
_decl.h>
using
namespace
isc
::
dhcp
;
using
namespace
isc
::
eval
;
#line 5
2
"parser.h" // lalr1.cc:392
#line 5
3
"parser.h" // lalr1.cc:392
# include <cassert>
# include <cstdlib> // std::abort
...
...
@@ -125,7 +126,7 @@ using namespace isc::dhcp;
#line 21 "parser.yy" // lalr1.cc:392
namespace
isc
{
namespace
eval
{
#line 1
29
"parser.h" // lalr1.cc:392
#line 1
30
"parser.h" // lalr1.cc:392
...
...
@@ -993,7 +994,7 @@ namespace isc { namespace eval {
#line 21 "parser.yy" // lalr1.cc:392
}
}
// isc::eval
#line 99
7
"parser.h" // lalr1.cc:392
#line 99
8
"parser.h" // lalr1.cc:392
...
...
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