Deleted Added
full compact
jailparse.y (234712) jailparse.y (289677)
1%{
2/*-
3 * Copyright (c) 2011 James Gritton
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
1%{
2/*-
3 * Copyright (c) 2011 James Gritton
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/usr.sbin/jail/jailparse.y 234712 2012-04-26 17:36:05Z jamie $");
29__FBSDID("$FreeBSD: head/usr.sbin/jail/jailparse.y 289677 2015-10-21 05:37:09Z eadler $");
30
31#include <stdlib.h>
32#include <string.h>
33
34#include "jailp.h"
35
36#ifdef DEBUG
37#define YYDEBUG 1

--- 60 unchanged lines hidden (view full) ---

98 $$ = $1;
99 TAILQ_INSERT_TAIL($$, $2, tq);
100 }
101 | param_l ';'
102 ;
103
104/*
105 * Parameters have a name and an optional list of value strings,
30
31#include <stdlib.h>
32#include <string.h>
33
34#include "jailp.h"
35
36#ifdef DEBUG
37#define YYDEBUG 1

--- 60 unchanged lines hidden (view full) ---

98 $$ = $1;
99 TAILQ_INSERT_TAIL($$, $2, tq);
100 }
101 | param_l ';'
102 ;
103
104/*
105 * Parameters have a name and an optional list of value strings,
106 * which may have "+=" or "=" preceeding them.
106 * which may have "+=" or "=" preceding them.
107 */
108param : name
109 {
110 $$ = $1;
111 }
112 | name '=' value
113 {
114 $$ = $1;

--- 102 unchanged lines hidden ---
107 */
108param : name
109 {
110 $$ = $1;
111 }
112 | name '=' value
113 {
114 $$ = $1;

--- 102 unchanged lines hidden ---