style: avoid %{...%} in our parser

* src/parse-gram.y (%{...%}): Split in %code and %code requires.
* src/location.h: Add missing includes for self containedness.
This commit is contained in:
Akim Demaille
2013-04-18 15:11:53 +02:00
parent 827aca04eb
commit 3f21a394f4
2 changed files with 26 additions and 19 deletions

View File

@@ -20,6 +20,10 @@
#ifndef LOCATION_H_
# define LOCATION_H_
# include <stdbool.h>
# include <stdio.h>
# include <string.h> /* strcmp */
# include "uniqstr.h"
/* A boundary between two characters. */