Deleted Added
full compact
lang.l (250227) lang.l (250926)
1%{
2/*-
3 * Copyright (c) 1980, 1993
4 * The Regents of the University of California. 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:

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

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * @(#)lang.l 8.1 (Berkeley) 6/6/93
1%{
2/*-
3 * Copyright (c) 1980, 1993
4 * The Regents of the University of California. 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:

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

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * @(#)lang.l 8.1 (Berkeley) 6/6/93
31 * $FreeBSD: head/usr.sbin/config/lang.l 250227 2013-05-03 23:51:32Z jkim $
31 * $FreeBSD: head/usr.sbin/config/lang.l 250926 2013-05-23 05:42:35Z jkim $
32 */
33
34#include <assert.h>
35#include <ctype.h>
36#include <err.h>
37#include <string.h>
38#include "y.tab.h"
39#include "config.h"

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

88
89static int endinclude(void);
90int include(const char *, int);
91int kw_lookup(char *);
92unsigned int octal(const char *);
93unsigned int hex(const char *);
94int yyerror(const char *);
95
32 */
33
34#include <assert.h>
35#include <ctype.h>
36#include <err.h>
37#include <string.h>
38#include "y.tab.h"
39#include "config.h"

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

88
89static int endinclude(void);
90int include(const char *, int);
91int kw_lookup(char *);
92unsigned int octal(const char *);
93unsigned int hex(const char *);
94int yyerror(const char *);
95
96#define YY_DECL int yylex(void)
96%}
97
98%option nounput
99%option noinput
100
101ID [A-Za-z_][-A-Za-z_0-9]*
102PATH [./][-/.%^A-Za-z_0-9]+
103%START TOEOL

--- 208 unchanged lines hidden ---
97%}
98
99%option nounput
100%option noinput
101
102ID [A-Za-z_][-A-Za-z_0-9]*
103PATH [./][-/.%^A-Za-z_0-9]+
104%START TOEOL

--- 208 unchanged lines hidden ---