Deleted Added
full compact
yacc.y (219019) yacc.y (250984)
1/* $FreeBSD: head/usr.bin/mkesdb/yacc.y 219019 2011-02-25 00:04:39Z gabor $ */
1/* $FreeBSD: head/usr.bin/mkesdb/yacc.y 250984 2013-05-25 15:36:15Z ed $ */
2/* $NetBSD: yacc.y,v 1.4 2005/06/02 02:09:25 lukem Exp $ */
3
4%{
5/*-
6 * Copyright (c)2003 Citrus Project,
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

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

109 set_invalid($2);
110 }
111%%
112
113int
114yyerror(const char *s)
115{
116
2/* $NetBSD: yacc.y,v 1.4 2005/06/02 02:09:25 lukem Exp $ */
3
4%{
5/*-
6 * Copyright (c)2003 Citrus Project,
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

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

109 set_invalid($2);
110 }
111%%
112
113int
114yyerror(const char *s)
115{
116
117 fprintf(stderr, "%s in %d\n", s, line_number);
117 fprintf(stderr, "%s in %d\n", s, linenumber);
118
119 return (0);
120}
121
122#define CHKERR(ret, func, a) \
123do { \
124 ret = func a; \
125 if (ret) \

--- 207 unchanged lines hidden ---
118
119 return (0);
120}
121
122#define CHKERR(ret, func, a) \
123do { \
124 ret = func a; \
125 if (ret) \

--- 207 unchanged lines hidden ---