From: c-amb@math.utah.edu (Mark B. Alston) Subject: [Q]: can't compile xspread2.1. Parse errors?? Date: Sat, 27 Feb 1993 23:23:02 GMT
I read earlier this week that someone has gotten xspread2.1 to work.
However whenever I try to compile it I get the following errors:
In file included from lex.c:120:
experres.h:1: parse error before `%'
In file included from lex.c:124:
statres.h:1: parse error before `%'
make: *** [lex.o] Error 1
$
The files experres.h & statres.h simply contain lines such as:
%token K_ERROR
%token K_INVALID
%token K_FIXED
%token K_SUM
%token K_PROD
%token K_AVG
and so on...
The revelvent lines in lex.c are as follows:
struct key experres[] = {
#include "experres.h"
0, 0};
struct key statres[] = {
#include "statres.h"
0, 0};
I am sure that I am simply missing some obvious flag that I need to
tell gcc but for the life of me I can't figure it out.