Skip to content

Commit

Permalink
mem1
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Oct 18, 2024
1 parent 15e6ee5 commit 06d190a
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 51 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-cmake.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: NetCDF-C CMake CI - Windows

on: [ pull_request, workflow_dispatch]
on: [push, pull_request, workflow_dispatch]

env:
REMOTETESTDOWN: ${{ vars.REMOTETESTDOWN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

name: Run macOS-based netCDF Tests

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

name: Run Ubuntu/Linux netCDF Tests

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

env:
REMOTETESTDOWN: ${{ vars.REMOTETESTDOWN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_win_cygwin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Run Cygwin-based tests

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_win_mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
CPPFLAGS: "-D_BSD_SOURCE"
REMOTETESTDOWN: ${{ vars.REMOTETESTDOWN }}

on: [pull_request,workflow_dispatch]
on: [push,pull_request,workflow_dispatch]

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
Expand Down
46 changes: 23 additions & 23 deletions oc2/dap.y
Original file line number Diff line number Diff line change
Expand Up @@ -245,29 +245,29 @@ errorprog : /*empty*/ {$$=null;} | SCAN_PROG '=' WORD_WORD ';' {$$=$3;}
*/
name:
WORD_WORD {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_ALIAS {$$=strdup($1);}
| SCAN_ARRAY {$$=strdup($1);}
| SCAN_ATTR {$$=strdup($1);}
| SCAN_BYTE {$$=strdup($1);}
| SCAN_DATASET {$$=strdup($1);}
| SCAN_DATA {$$=strdup($1);}
| SCAN_ERROR {$$=strdup($1);}
| SCAN_FLOAT32 {$$=strdup($1);}
| SCAN_FLOAT64 {$$=strdup($1);}
| SCAN_GRID {$$=strdup($1);}
| SCAN_INT16 {$$=strdup($1);}
| SCAN_INT32 {$$=strdup($1);}
| SCAN_MAPS {$$=strdup($1);}
| SCAN_SEQUENCE {$$=strdup($1);}
| SCAN_STRING {$$=strdup($1);}
| SCAN_STRUCTURE {$$=strdup($1);}
| SCAN_UINT16 {$$=strdup($1);}
| SCAN_UINT32 {$$=strdup($1);}
| SCAN_URL {$$=strdup($1);}
| SCAN_CODE {$$=strdup($1);}
| SCAN_MESSAGE {$$=strdup($1);}
| SCAN_PROG {$$=strdup($1);}
| SCAN_PTYPE {$$=strdup($1);}
| SCAN_ALIAS {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_ARRAY {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_ATTR {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_BYTE {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_DATASET {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_DATA {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_ERROR {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_FLOAT32 {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_FLOAT64 {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_GRID {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_INT16 {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_INT32 {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_MAPS {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_SEQUENCE {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_STRING {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_STRUCTURE {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_UINT16 {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_UINT32 {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_URL {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_CODE {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_MESSAGE {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_PROG {$$=dapdecode(parsestate->lexstate,$1);}
| SCAN_PTYPE {$$=dapdecode(parsestate->lexstate,$1);}
;

%%
46 changes: 23 additions & 23 deletions oc2/dapy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2048,139 +2048,139 @@ YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default);

case 84: /* name: SCAN_ALIAS */
#line 248 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2053 "dapy.c"
break;

case 85: /* name: SCAN_ARRAY */
#line 249 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2059 "dapy.c"
break;

case 86: /* name: SCAN_ATTR */
#line 250 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2065 "dapy.c"
break;

case 87: /* name: SCAN_BYTE */
#line 251 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2071 "dapy.c"
break;

case 88: /* name: SCAN_DATASET */
#line 252 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2077 "dapy.c"
break;

case 89: /* name: SCAN_DATA */
#line 253 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2083 "dapy.c"
break;

case 90: /* name: SCAN_ERROR */
#line 254 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2089 "dapy.c"
break;

case 91: /* name: SCAN_FLOAT32 */
#line 255 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2095 "dapy.c"
break;

case 92: /* name: SCAN_FLOAT64 */
#line 256 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2101 "dapy.c"
break;

case 93: /* name: SCAN_GRID */
#line 257 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2107 "dapy.c"
break;

case 94: /* name: SCAN_INT16 */
#line 258 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2113 "dapy.c"
break;

case 95: /* name: SCAN_INT32 */
#line 259 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2119 "dapy.c"
break;

case 96: /* name: SCAN_MAPS */
#line 260 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2125 "dapy.c"
break;

case 97: /* name: SCAN_SEQUENCE */
#line 261 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2131 "dapy.c"
break;

case 98: /* name: SCAN_STRING */
#line 262 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2137 "dapy.c"
break;

case 99: /* name: SCAN_STRUCTURE */
#line 263 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2143 "dapy.c"
break;

case 100: /* name: SCAN_UINT16 */
#line 264 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2149 "dapy.c"
break;

case 101: /* name: SCAN_UINT32 */
#line 265 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2155 "dapy.c"
break;

case 102: /* name: SCAN_URL */
#line 266 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2161 "dapy.c"
break;

case 103: /* name: SCAN_CODE */
#line 267 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2167 "dapy.c"
break;

case 104: /* name: SCAN_MESSAGE */
#line 268 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2173 "dapy.c"
break;

case 105: /* name: SCAN_PROG */
#line 269 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2179 "dapy.c"
break;

case 106: /* name: SCAN_PTYPE */
#line 270 "dap.y"
{yyval=strdup(yyvsp[0]);}
{yyval=dapdecode(parsestate->lexstate,yyvsp[0]);}
#line 2185 "dapy.c"
break;

Expand Down
3 changes: 3 additions & 0 deletions oc2/ocinternal.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ ocinternalinitialize(void)
/* Compute some xdr related flags */
xxdr_init();

if(getenv("OCDEBUG") != NULL)
ocdebug = atoi(getenv("OCDEBUG"));

return OCTHROW(stat);
}

Expand Down

0 comments on commit 06d190a

Please sign in to comment.