File tree Expand file tree Collapse file tree 7 files changed +9
-99
lines changed Expand file tree Collapse file tree 7 files changed +9
-99
lines changed Original file line number Diff line number Diff line change 4
4
# University Corporation for Atmospheric Research/Unidata.
5
5
6
6
# See netcdf-c/COPYRIGHT file for more info.
7
- set (oc_SOURCES oc.c daplex.c dapparse.c dapy .c occompile.c occurlfunctions.c ocdata.c ocdebug.c ocdump.c ocinternal.c ocnode.c ochttp.c ocread.c ocutil.c xxdr.c )
7
+ set (oc_SOURCES oc.c daplex.c dapparse.c dap.tab .c occompile.c occurlfunctions.c ocdata.c ocdebug.c ocdump.c ocinternal.c ocnode.c ochttp.c ocread.c ocutil.c xxdr.c )
8
8
9
9
add_library (oc2 OBJECT ${oc_SOURCES} )
10
10
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ ocread.c ocutil.c \
21
21
xxdr.c
22
22
23
23
HDRS =oc.h ocx.h \
24
- dapparselex.h dapy .h \
24
+ dapparselex.h dap.tab .h \
25
25
occompile.h occonstraints.h occurlfunctions.h \
26
26
ocdata.h ocdatatypes.h ocdebug.h ocdump.h \
27
27
ocinternal.h ocnode.h \
@@ -40,8 +40,5 @@ liboc_la_CPPFLAGS = $(AM_CPPFLAGS)
40
40
# autoconf will forcibly delete files of the name *.tab.*
41
41
42
42
makeparser ::
43
- rm -f dap.tab.c dap.tab.h dapy.c dapy.h
44
- bison --debug -d -p dap dap.y
45
- sed -e ' s/dap[.]tab[.]c/dapy.c/g' -e ' s/dap[.]tab[.]h/dapy.h/g' < dap.tab.c > dapy.c
46
- mv dap.tab.h dapy.h
47
- rm -f dap.tab.c
43
+ rm -f dap.tab.c dap.tab.h
44
+ bison --debug --defines -p dap dap.y
Original file line number Diff line number Diff line change 72
72
73
73
#include "config.h"
74
74
#include "dapparselex.h"
75
- #include "dapy .h"
75
+ #include "dap.tab .h"
76
76
int dapdebug = 0 ;
77
77
78
78
#line 79 "dapy.c" /* yacc.c:339 */
@@ -94,7 +94,7 @@ int dapdebug = 0;
94
94
#endif
95
95
96
96
/* In a future release of Bison, this section will be replaced
97
- by #include "dapy .h". */
97
+ by #include "dap.tab .h". */
98
98
#ifndef YY_DAP_DAP_TAB_H_INCLUDED
99
99
# define YY_DAP_DAP_TAB_H_INCLUDED
100
100
/* Debug traces. */
Original file line number Diff line number Diff line change 11
11
%{
12
12
#include " config.h"
13
13
#include " dapparselex.h"
14
- #include " dapy .h"
14
+ #include " dap.tab .h"
15
15
int dapdebug = 0 ;
16
16
%}
17
17
Original file line number Diff line number Diff line change 8
8
9
9
#include "oc.h"
10
10
#include "dapparselex.h"
11
- #include "dapy .h"
11
+ #include "dap.tab .h"
12
12
13
13
#undef URLCVT /* NEVER turn this on */
14
14
Original file line number Diff line number Diff line change 4
4
5
5
#include "config.h"
6
6
#include "dapparselex.h"
7
- #include "dapy .h"
7
+ #include "dap.tab .h"
8
8
#include <stddef.h>
9
9
10
10
/* Forward */
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments