[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 970110: ncgen problem report



>To: address@hidden
>From: Harvey DAVIES <address@hidden>
>Subject: ncgen problem report
>Organization: CSIRO Mathematical and Information Sciences
>Keywords: 199701100800.BAA18042

Hi Harvey,

> Using following version of ncgen:
>      $Id: ncgen.y,v 1.43 1996/08/09 18:38:40 russ Exp $
>      $Id: xdrposix.c,v 1.30 1996/02/15 21:47:28 steve Exp $
> 
> ncgen rejects cdl file specifying nothing except a global attribute.
> 
> E.g. 
> echo 'netcdf n{ :a = 9; }' | ncgen -o n.nc
> gives message 
> ncgen: -: syntax error

Thanks for reporting the problem.  It's fixed in the netcdf-3 ncgen, but
I think the fix causes a yacc shift/reduce conflict that I haven't
figured out how to resolve.  I'll put it on my list ...

--Russ