Deleted Added
full compact
parser.y (234850) parser.y (235789)
1%{
2/* $OpenBSD: parser.y,v 1.6 2008/08/21 21:00:14 espie Exp $ */
3/*
4 * Copyright (c) 2004 Marc Espie <espie@cvs.openbsd.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 *
1%{
2/* $OpenBSD: parser.y,v 1.6 2008/08/21 21:00:14 espie Exp $ */
3/*
4 * Copyright (c) 2004 Marc Espie <espie@cvs.openbsd.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 *
18 * $FreeBSD: head/usr.bin/m4/parser.y 234850 2012-04-30 21:02:57Z bapt $
18 * $FreeBSD: head/usr.bin/m4/parser.y 235789 2012-05-22 16:33:10Z bapt $
19 */
20#include <math.h>
21#include <stdint.h>
22#define YYSTYPE int32_t
23extern int32_t end_result;
24extern int yylex(void);
25extern int yyerror(const char *);
19 */
20#include <math.h>
21#include <stdint.h>
22#define YYSTYPE int32_t
23extern int32_t end_result;
24extern int yylex(void);
25extern int yyerror(const char *);
26extern int yyparse(void);
27%}
28%token NUMBER
29%token ERROR
30%left LOR
31%left LAND
32%left '|'
33%left '^'
34%left '&'

--- 52 unchanged lines hidden ---
26%}
27%token NUMBER
28%token ERROR
29%left LOR
30%left LAND
31%left '|'
32%left '^'
33%left '&'

--- 52 unchanged lines hidden ---