Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
dfe730c7
Commit
dfe730c7
authored
Dec 16, 2015
by
Marcin Siodelski
Browse files
[4236] Regenerated bison files after license replacement.
parent
fe9dd86d
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/lib/eval/location.hh
View file @
dfe730c7
// Generated 201512
07
// Generated 201512
16
// A Bison parser, made by GNU Bison 3.0.4.
// Locations for Bison parsers in C++
...
...
@@ -41,7 +41,7 @@
# include "position.hh"
#line
2
1 "parser.yy" // location.cc:337
#line 1
3
"parser.yy" // location.cc:337
namespace
isc
{
namespace
eval
{
#line 46 "location.hh" // location.cc:337
/// Abstract a location.
...
...
@@ -187,7 +187,7 @@ namespace isc { namespace eval {
return
ostr
;
}
#line
2
1 "parser.yy" // location.cc:337
#line 1
3
"parser.yy" // location.cc:337
}
}
// isc::eval
#line 192 "location.hh" // location.cc:337
#endif // !YY_YY_LOCATION_HH_INCLUDED
src/lib/eval/parser.cc
View file @
dfe730c7
...
...
@@ -49,7 +49,7 @@
#line 51 "parser.cc" // lalr1.cc:412
// Unqualified %code blocks.
#line
40
"parser.yy" // lalr1.cc:413
#line
32
"parser.yy" // lalr1.cc:413
# include "eval_context.h"
...
...
@@ -137,7 +137,7 @@
#define YYERROR goto yyerrorlab
#define YYRECOVERING() (!!yyerrstatus_)
#line
2
1 "parser.yy" // lalr1.cc:479
#line 1
3
"parser.yy" // lalr1.cc:479
namespace
isc
{
namespace
eval
{
#line 143 "parser.cc" // lalr1.cc:479
...
...
@@ -336,49 +336,49 @@ namespace isc { namespace eval {
{
case
15
:
// "constant string"
#line
70
"parser.yy" // lalr1.cc:636
#line
62
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
std
::
string
>
();
}
#line 342 "parser.cc" // lalr1.cc:636
break
;
case
16
:
// "integer"
#line
70
"parser.yy" // lalr1.cc:636
#line
62
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
std
::
string
>
();
}
#line 349 "parser.cc" // lalr1.cc:636
break
;
case
17
:
// "constant hexstring"
#line
70
"parser.yy" // lalr1.cc:636
#line
62
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
std
::
string
>
();
}
#line 356 "parser.cc" // lalr1.cc:636
break
;
case
18
:
// "option name"
#line
70
"parser.yy" // lalr1.cc:636
#line
62
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
std
::
string
>
();
}
#line 363 "parser.cc" // lalr1.cc:636
break
;
case
19
:
// TOKEN
#line
70
"parser.yy" // lalr1.cc:636
#line
62
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
std
::
string
>
();
}
#line 370 "parser.cc" // lalr1.cc:636
break
;
case
24
:
// option_code
#line
70
"parser.yy" // lalr1.cc:636
#line
62
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
uint16_t
>
();
}
#line 377 "parser.cc" // lalr1.cc:636
break
;
case
25
:
// option_repr_type
#line
70
"parser.yy" // lalr1.cc:636
#line
62
"parser.yy" // lalr1.cc:636
{
yyoutput
<<
yysym
.
value
.
template
as
<
TokenOption
::
RepresentationType
>
();
}
#line 384 "parser.cc" // lalr1.cc:636
break
;
...
...
@@ -614,7 +614,7 @@ namespace isc { namespace eval {
switch
(
yyn
)
{
case
3
:
#line
83
"parser.yy" // lalr1.cc:859
#line
75
"parser.yy" // lalr1.cc:859
{
TokenPtr
eq
(
new
TokenEqual
());
ctx
.
expression
.
push_back
(
eq
);
...
...
@@ -623,7 +623,7 @@ namespace isc { namespace eval {
break
;
case
4
:
#line
90
"parser.yy" // lalr1.cc:859
#line
82
"parser.yy" // lalr1.cc:859
{
TokenPtr
str
(
new
TokenString
(
yystack_
[
0
].
value
.
as
<
std
::
string
>
()));
ctx
.
expression
.
push_back
(
str
);
...
...
@@ -632,7 +632,7 @@ namespace isc { namespace eval {
break
;
case
5
:
#line
95
"parser.yy" // lalr1.cc:859
#line
87
"parser.yy" // lalr1.cc:859
{
TokenPtr
hex
(
new
TokenHexString
(
yystack_
[
0
].
value
.
as
<
std
::
string
>
()));
ctx
.
expression
.
push_back
(
hex
);
...
...
@@ -641,7 +641,7 @@ namespace isc { namespace eval {
break
;
case
6
:
#line
100
"parser.yy" // lalr1.cc:859
#line
92
"parser.yy" // lalr1.cc:859
{
TokenPtr
opt
(
new
TokenOption
(
yystack_
[
3
].
value
.
as
<
uint16_t
>
(),
yystack_
[
0
].
value
.
as
<
TokenOption
::
RepresentationType
>
()));
ctx
.
expression
.
push_back
(
opt
);
...
...
@@ -650,7 +650,7 @@ namespace isc { namespace eval {
break
;
case
7
:
#line
105
"parser.yy" // lalr1.cc:859
#line
97
"parser.yy" // lalr1.cc:859
{
TokenPtr
sub
(
new
TokenSubstring
());
ctx
.
expression
.
push_back
(
sub
);
...
...
@@ -659,7 +659,7 @@ namespace isc { namespace eval {
break
;
case
9
:
#line 1
14
"parser.yy" // lalr1.cc:859
#line 1
06
"parser.yy" // lalr1.cc:859
{
yylhs
.
value
.
as
<
uint16_t
>
()
=
ctx
.
convertOptionCode
(
yystack_
[
0
].
value
.
as
<
std
::
string
>
(),
yystack_
[
0
].
location
);
}
...
...
@@ -667,7 +667,7 @@ namespace isc { namespace eval {
break
;
case
10
:
#line 11
8
"parser.yy" // lalr1.cc:859
#line 11
0
"parser.yy" // lalr1.cc:859
{
yylhs
.
value
.
as
<
uint16_t
>
()
=
ctx
.
convertOptionName
(
yystack_
[
0
].
value
.
as
<
std
::
string
>
(),
yystack_
[
0
].
location
);
}
...
...
@@ -675,7 +675,7 @@ namespace isc { namespace eval {
break
;
case
11
:
#line 1
24
"parser.yy" // lalr1.cc:859
#line 1
16
"parser.yy" // lalr1.cc:859
{
yylhs
.
value
.
as
<
TokenOption
::
RepresentationType
>
()
=
TokenOption
::
TEXTUAL
;
}
...
...
@@ -683,7 +683,7 @@ namespace isc { namespace eval {
break
;
case
12
:
#line 12
8
"parser.yy" // lalr1.cc:859
#line 12
0
"parser.yy" // lalr1.cc:859
{
yylhs
.
value
.
as
<
TokenOption
::
RepresentationType
>
()
=
TokenOption
::
HEXADECIMAL
;
}
...
...
@@ -691,7 +691,7 @@ namespace isc { namespace eval {
break
;
case
13
:
#line 1
34
"parser.yy" // lalr1.cc:859
#line 1
26
"parser.yy" // lalr1.cc:859
{
TokenPtr
str
(
new
TokenString
(
yystack_
[
0
].
value
.
as
<
std
::
string
>
()));
ctx
.
expression
.
push_back
(
str
);
...
...
@@ -700,7 +700,7 @@ namespace isc { namespace eval {
break
;
case
14
:
#line 1
41
"parser.yy" // lalr1.cc:859
#line 1
33
"parser.yy" // lalr1.cc:859
{
TokenPtr
str
(
new
TokenString
(
yystack_
[
0
].
value
.
as
<
std
::
string
>
()));
ctx
.
expression
.
push_back
(
str
);
...
...
@@ -709,7 +709,7 @@ namespace isc { namespace eval {
break
;
case
15
:
#line 1
46
"parser.yy" // lalr1.cc:859
#line 1
38
"parser.yy" // lalr1.cc:859
{
TokenPtr
str
(
new
TokenString
(
"all"
));
ctx
.
expression
.
push_back
(
str
);
...
...
@@ -1065,8 +1065,8 @@ namespace isc { namespace eval {
const
unsigned
char
EvalParser
::
yyrline_
[]
=
{
0
,
7
9
,
7
9
,
82
,
8
9
,
94
,
9
9
,
104
,
10
9
,
1
13
,
1
17
,
1
23
,
1
27
,
1
33
,
1
40
,
1
45
0
,
7
1
,
7
1
,
74
,
8
1
,
86
,
9
1
,
96
,
10
1
,
1
05
,
1
09
,
1
15
,
1
19
,
1
25
,
1
32
,
1
37
};
// Print the state stack on the debug stream.
...
...
@@ -1099,10 +1099,10 @@ namespace isc { namespace eval {
#endif // YYDEBUG
#line
2
1 "parser.yy" // lalr1.cc:1167
#line 1
3
"parser.yy" // lalr1.cc:1167
}
}
// isc::eval
#line 1105 "parser.cc" // lalr1.cc:1167
#line 1
52
"parser.yy" // lalr1.cc:1168
#line 1
44
"parser.yy" // lalr1.cc:1168
void
isc
::
eval
::
EvalParser
::
error
(
const
location_type
&
loc
,
...
...
src/lib/eval/parser.h
View file @
dfe730c7
...
...
@@ -40,7 +40,7 @@
#ifndef YY_YY_PARSER_H_INCLUDED
# define YY_YY_PARSER_H_INCLUDED
// // "%code requires" blocks.
#line
24
"parser.yy" // lalr1.cc:392
#line
16
"parser.yy" // lalr1.cc:392
#include
<string>
#include
<eval/token.h>
...
...
@@ -126,7 +126,7 @@ using namespace isc::eval;
# define YYDEBUG 1
#endif
#line
2
1 "parser.yy" // lalr1.cc:392
#line 1
3
"parser.yy" // lalr1.cc:392
namespace
isc
{
namespace
eval
{
#line 132 "parser.h" // lalr1.cc:392
...
...
@@ -1154,7 +1154,7 @@ namespace isc { namespace eval {
}
#line
2
1 "parser.yy" // lalr1.cc:392
#line 1
3
"parser.yy" // lalr1.cc:392
}
}
// isc::eval
#line 1160 "parser.h" // lalr1.cc:392
...
...
src/lib/eval/position.hh
View file @
dfe730c7
// Generated 201512
07
// Generated 201512
16
// A Bison parser, made by GNU Bison 3.0.4.
// Positions for Bison parsers in C++
...
...
@@ -51,7 +51,7 @@
# endif
# endif
#line
2
1 "parser.yy" // location.cc:337
#line 1
3
"parser.yy" // location.cc:337
namespace
isc
{
namespace
eval
{
#line 56 "position.hh" // location.cc:337
/// Abstract a position.
...
...
@@ -175,7 +175,7 @@ namespace isc { namespace eval {
return
ostr
<<
pos
.
line
<<
'.'
<<
pos
.
column
;
}
#line
2
1 "parser.yy" // location.cc:337
#line 1
3
"parser.yy" // location.cc:337
}
}
// isc::eval
#line 180 "position.hh" // location.cc:337
#endif // !YY_YY_POSITION_HH_INCLUDED
src/lib/eval/stack.hh
View file @
dfe730c7
// Generated 201512
07
// Generated 201512
16
// A Bison parser, made by GNU Bison 3.0.4.
// Stack handling for Bison parsers in C++
...
...
@@ -41,7 +41,7 @@
# include <vector>
#line
2
1 "parser.yy" // stack.hh:151
#line 1
3
"parser.yy" // stack.hh:151
namespace
isc
{
namespace
eval
{
#line 46 "stack.hh" // stack.hh:151
template
<
class
T
,
class
S
=
std
::
vector
<
T
>
>
...
...
@@ -151,7 +151,7 @@ namespace isc { namespace eval {
unsigned
int
range_
;
};
#line
2
1 "parser.yy" // stack.hh:151
#line 1
3
"parser.yy" // stack.hh:151
}
}
// isc::eval
#line 156 "stack.hh" // stack.hh:151
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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