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

[netCDF #YMY-466555]: "syntax error, unexpected WORD_STRING"

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #YMY-466555]: "syntax error, unexpected WORD_STRING"
  • Date: Wed, 30 Jan 2013 16:00:07 -0700

There is an error in the DAP parser.
It recognizes urls when unquoted, but not
when they are quoted strings.
Recorded as Jira NCF-218.

You can fix it in your source tree
if you have bison on your system.
Do the following:
1. go into the oc2 subdirectory
2. edit dap.y to replace:
  url:
        name {$$=$1;}
with
  url:
        str_or_id {$$=$1;}
3. in that directory (oc2) do the command "make bison"
4. rebuild the complete netcdf library (make all).


=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: YMY-466555
Department: Support netCDF
Priority: Normal
Status: Closed