style: minor changes

* examples/c/calc/calc.y, src/lalr.c: Reduce scope.
* src/gram.c: Prefer < to >.
This commit is contained in:
Akim Demaille
2019-02-24 13:54:02 +01:00
parent b81419a9fd
commit 5230e610fc
3 changed files with 5 additions and 8 deletions

View File

@@ -84,9 +84,8 @@ yyerror (char const *s)
int
main (int argc, char const* argv[])
{
int i;
/* Enable parse traces on option -p. */
for (i = 1; i < argc; ++i)
for (int i = 1; i < argc; ++i)
if (!strcmp(argv[i], "-p"))
yydebug = 1;
return yyparse ();