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

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

198 | lns R_LN
199
200%%
201
202static void
203warning(const char *s)
204{
205
2/* $NetBSD: yacc.y,v 1.7 2006/09/09 14:35:17 tnozaki Exp $ */
3
4%{
5/*-
6 * Copyright (c)2003, 2006 Citrus Project,
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without

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

198 | lns R_LN
199
200%%
201
202static void
203warning(const char *s)
204{
205
206 fprintf(stderr, "%s in %d\n", s, line_number);
206 fprintf(stderr, "%s in %d\n", s, linenumber);
207}
208
209int
210yyerror(const char *s)
211{
212
213 warning(s);
214 exit(1);

--- 517 unchanged lines hidden ---
207}
208
209int
210yyerror(const char *s)
211{
212
213 warning(s);
214 exit(1);

--- 517 unchanged lines hidden ---