lint: clean up style in grammar

No functional change.
This commit is contained in:
rillig 2021-07-06 04:48:17 +00:00
parent a3946b7223
commit 12376b019b
1 changed files with 12 additions and 10 deletions

View File

@ -1,5 +1,5 @@
%{
/* $NetBSD: cgram.y,v 1.253 2021/07/06 04:44:20 rillig Exp $ */
/* $NetBSD: cgram.y,v 1.254 2021/07/06 04:48:17 rillig Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
__RCSID("$NetBSD: cgram.y,v 1.253 2021/07/06 04:44:20 rillig Exp $");
__RCSID("$NetBSD: cgram.y,v 1.254 2021/07/06 04:48:17 rillig Exp $");
#endif
#include <limits.h>
@ -1728,6 +1728,7 @@ for_start:
block_level++;
}
;
for_exprs:
for_start declaration_specifiers deftyp notype_init_decls T_SEMI
expr_opt T_SEMI expr_opt T_RPAREN {
@ -2075,9 +2076,10 @@ identifier: /* C99 6.4.2.1 */
;
comma_opt:
T_COMMA
| /* empty */
/* empty */
| T_COMMA
;
%%
/* ARGSUSED */