File tree Expand file tree Collapse file tree 8 files changed +792
-885
lines changed Expand file tree Collapse file tree 8 files changed +792
-885
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ SET(ncgen_FILES bindata.c bytebuffer.c cdata.c cvt.c data.c
17
17
debug.c dump.c escapes.c f77data.c genbin.c
18
18
genc.c genchar.c generate.c generr.c genf77.c
19
19
genj.c genlib.c getfill.c jdata.c list .c
20
- main.c ncgeny .c semantics.c
20
+ main.c ncgen.tab .c semantics.c
21
21
util.c bytebuffer.h data.h debug.h dump.h
22
22
generate.h generr.h genlib.h includes.h list .h
23
- ncgen.h ncgeny .h util.h ${XGETOPTSRC} )
23
+ ncgen.h ncgen.tab .h util.h ${XGETOPTSRC} )
24
24
25
- ##
25
+ ##
26
26
# Turn off inclusion of particular files when using the cmake-native
27
- # option to turn on Unity Builds.
27
+ # option to turn on Unity Builds.
28
28
#
29
29
# For more information, see:
30
30
# * https://github.com/Unidata/netcdf-c/pull/2839/
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ ncgen_SOURCES = bindata.c bytebuffer.c cdata.c cvt.c data.c \
13
13
debug.c dump.c escapes.c f77data.c genbin.c \
14
14
genc.c genchar.c generate.c generr.c genf77.c \
15
15
genj.c genlib.c getfill.c jdata.c list.c \
16
- main.c ncgeny .c semantics.c \
16
+ main.c ncgen.tab .c semantics.c \
17
17
util.c bytebuffer.h data.h debug.h dump.h \
18
18
generate.h generr.h genlib.h includes.h list.h \
19
- ncgen.h ncgeny .h util.h
19
+ ncgen.h ncgen.tab .h util.h
20
20
21
21
# Obsolete
22
22
OBSOLETE = odom.c odom.h jdatastd.c jdatajni.c genjni.c cdfdata.c cmldata.c
@@ -63,8 +63,6 @@ makeparser::
63
63
rm -f ncgenl.c lex.ncg.c
64
64
flex -Pncg -8 ncgen.l
65
65
sed -e s/lex.ncg.c/ncgenl.c/g < lex.ncg.c > ncgenl.c
66
- bison -pncg -t -d ncgen.y
67
- rm -f ncgeny.c ncgeny.h
68
- sed -e s/ncgen.tab.c/ncgeny.c/g -e s/ncgen.tab.h/ncgeny.h/g < ncgen.tab.c > ncgeny.c
69
- sed -e s/ncgen.tab.c/ncgeny.c/g -e s/ncgen.tab.h/ncgeny.h/g < ncgen.tab.h > ncgeny.h
70
- rm -f lex.ncg.c ncgen.tab.h ncgen.tab.c
66
+ rm -f lex.ncg.c
67
+ rm ncgen.tab.y ncgen.tab.h
68
+ bison --debug --defines -p ncg ncgen.y
Original file line number Diff line number Diff line change 36
36
definition of FILL_STRING in ../ncdump/vardata.h */
37
37
38
38
#include " ncgen.h"
39
- #include " ncgeny .h"
39
+ #include " ncgen.tab .h"
40
40
#include " isnan.h"
41
41
42
42
#define FILL_STRING " _"
@@ -916,7 +916,7 @@ identcheck(int token)
916
916
}
917
917
break ;
918
918
default :
919
- break ;
919
+ break ;
920
920
}
921
921
return token;
922
922
}
You can’t perform that action at this time.
0 commit comments