+Fri Feb 25 18:13:46 1994 David J. Mackenzie (djm@rtl.cygnus.com)
+
+ * ldgram.y: Include ldlex.h after %token decls, for byacc.
+
Fri Feb 25 10:47:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* emultempl/hppaelf.em: First attempt to clean this file up.
#include "ldmisc.h"
#include "ldmain.h"
#include "mri.h"
-#include "ldlex.h"
#define YYDEBUG 1
%token FORMAT PUBLIC DEFSYMEND BASE ALIAS TRUNCATE REL
%token INPUT_SCRIPT INPUT_MRI_SCRIPT INPUT_DEFSYM
+%{
+/* For byacc, this has to come after INPUT_SCRIPT et al. are defined. */
+#include "ldlex.h"
+%}
%%
file: