[GRASS5] Re: [GRASS-COMMIT-CVS] CVS update: grass/src/raster/r.binfer

Markus Neteler neteler at geog.uni-hannover.de
Wed Nov 15 16:09:47 EST 2000


On Wed, Nov 15, 2000 at 08:09:40PM +0000, David D Gray wrote:
[...]
> > > Author:       david
> > >
> > > Update of /grassrepository/grass/src/raster/r.binfer
> > > In directory intevation.de:/tmp/cvs-serv18425
> > >
> > > Modified Files:
> > >       binfer.l
> > > Log Message:
> > >
> > > Changed to elliminate `dangerous trailing context' warning: caused parse
> > > failure (in binfer.y) on linux-i386 at least
> > 
> > On cray I get:
> > /home/t3e/fsn/nhdc/nhdcmark/grass/src/raster/r.binfer
> >   make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules
> > 
> >         rm -f lex.c gram.c
> >         yacc binfer.y
> >         rm -f gram.c
> >         mv y.tab.c gram.c
> >         cc -g   -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include  -c gram.c
> > -o OBJ.alpha-cray-unicosmk2.0.4.X/gram.o
> >         lex binfer.l
> > "binfer.l":line 13: Error: Missing translation value
> > Make: "lex binfer.l": Error code 1
> > 
> > But it is lex there, not flex:
> >      lex - Generates programs for simple lexical tasks
> >    STANDARDS
> >      POSIX, XPG4
> > 
> > well, let's ignore CRAY...
> > 
> > Thanks for updating
> > 
> >  Markus
> > 
> 
> Hi Markus
> 
> Do you know exactly what lex Cray uses? The problem seems to be the
> %option statement. So perhaps we could get round that by putting in
> conditional code, as Cray presumably doesn't need the lex-compat
> statement. Do you [anyone] know off-hand the definition code for Cray?

Hi David,

how can I find out?

man lex
LEX(1)                        UNICOS/mk 2.0.4         Last changed: 2-24-98
NAME
     lex - Generates programs for simple lexical tasks

SYNOPSIS
     lex [-t] [-r] [-n] [files]
     lex [-t] [-r] [-v] [files]

     Obsolescent version; may not be supported in future releases:

     lex -c [-t] [-r] [-n] [files]
     lex -c [-t] [-r] [-v] [files]

IMPLEMENTATION
     CRAY T3E systems

STANDARDS
     POSIX, XPG4
     AT&T extensions (-r option)
[...]
SEE ALSO
     yacc(1)

     lex & yacc, Doug Brown and Tony Mason, O'Reilly & Associates, Inc.,
     1992.

     The UNIX Programming Environment, Brian W. Kernighan and Rob Pike,
     Prentice-Hall, Inc., 1984.

     UNICOS/mk User Commands Reference Manual, publication SR-2611, for the
     printed version of this man page.


Is there anything else I could try?

Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list