From: Peep P. <so...@us...> - 2004-06-07 15:51:38
|
Update of /cvsroot/agd/server/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10409/src Modified Files: Makefile.in config.h.in dfparse.h lang.h Log Message: Regenerated. Index: lang.h =================================================================== RCS file: /cvsroot/agd/server/src/lang.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- lang.h 1 Apr 2004 19:10:53 -0000 1.8 +++ lang.h 7 Jun 2004 15:51:29 -0000 1.9 @@ -29,14 +29,14 @@ /* Put the tokens into the symbol table, so that GDB and other debuggers know about them. */ enum yytokentype { - L_RETURN = 258, - L_IF = 259, - L_ELSE = 260, - L_DO = 261, - L_WHILE = 262, - L_FOR = 263, - L_CONTINUE = 264, - L_BREAK = 265, + L_IF = 258, + L_ELSE = 259, + L_DO = 260, + L_WHILE = 261, + L_FOR = 262, + L_CONTINUE = 263, + L_BREAK = 264, + L_RETURN = 265, L_DATA_TYPE = 266, L_IDENTIFIER = 267, L_STRING = 268, @@ -48,42 +48,33 @@ L_OPEN_FUNP = 274, L_CLOSE_FUNP = 275, L_RANGE = 276, - L_ASSIGN = 277, - L_ME = 278, - L_PE = 279, - L_DE = 280, - L_MOE = 281, - L_MUE = 282, - L_POWE = 283, - L_AND = 284, - L_OR = 285, - L_NE = 286, - L_EQ = 287, - L_MINUS = 288, - L_PLUS = 289, - L_GE = 290, - L_LE = 291, - L_GT = 292, - L_LT = 293, - L_MOD = 294, - L_DIV = 295, - L_MUL = 296, - L_POW = 297, - L_DEREF = 298, - L_DEC = 299, - L_INC = 300, - L_NOT = 301, - L_NEG = 302 + L_MINUS_EQ = 277, + L_PLUS_EQ = 278, + L_DIV_EQ = 279, + L_MOD_EQ = 280, + L_MUL_EQ = 281, + L_POW_EQ = 282, + L_AND = 283, + L_OR = 284, + L_NE = 285, + L_EQ = 286, + L_GE = 287, + L_LE = 288, + L_POW = 289, + L_ARROW = 290, + L_DEC = 291, + L_INC = 292, + L_NEG = 293 }; #endif -#define L_RETURN 258 -#define L_IF 259 -#define L_ELSE 260 -#define L_DO 261 -#define L_WHILE 262 -#define L_FOR 263 -#define L_CONTINUE 264 -#define L_BREAK 265 +#define L_IF 258 +#define L_ELSE 259 +#define L_DO 260 +#define L_WHILE 261 +#define L_FOR 262 +#define L_CONTINUE 263 +#define L_BREAK 264 +#define L_RETURN 265 #define L_DATA_TYPE 266 #define L_IDENTIFIER 267 #define L_STRING 268 @@ -95,49 +86,42 @@ #define L_OPEN_FUNP 274 #define L_CLOSE_FUNP 275 #define L_RANGE 276 -#define L_ASSIGN 277 -#define L_ME 278 -#define L_PE 279 -#define L_DE 280 -#define L_MOE 281 -#define L_MUE 282 -#define L_POWE 283 -#define L_AND 284 -#define L_OR 285 -#define L_NE 286 -#define L_EQ 287 -#define L_MINUS 288 -#define L_PLUS 289 -#define L_GE 290 -#define L_LE 291 -#define L_GT 292 -#define L_LT 293 -#define L_MOD 294 -#define L_DIV 295 -#define L_MUL 296 -#define L_POW 297 -#define L_DEREF 298 -#define L_DEC 299 -#define L_INC 300 -#define L_NOT 301 -#define L_NEG 302 +#define L_MINUS_EQ 277 +#define L_PLUS_EQ 278 +#define L_DIV_EQ 279 +#define L_MOD_EQ 280 +#define L_MUL_EQ 281 +#define L_POW_EQ 282 +#define L_AND 283 +#define L_OR 284 +#define L_NE 285 +#define L_EQ 286 +#define L_GE 287 +#define L_LE 288 +#define L_POW 289 +#define L_ARROW 290 +#define L_DEC 291 +#define L_INC 292 +#define L_NEG 293 #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) -#line 30 "lang.y" +#line 52 "lang.y" typedef union YYSTYPE { char *str; int i; char c; /* used by lex.l */ - variable_t var; - array_t arr; + struct arr_t { + int length; + int *data; + } arr; expr_t expr; def_id_t *id; } YYSTYPE; /* Line 1240 of yacc.c. */ -#line 141 "lang.h" +#line 125 "lang.h" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 Index: config.h.in =================================================================== RCS file: /cvsroot/agd/server/src/config.h.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- config.h.in 1 Apr 2004 19:17:14 -0000 1.3 +++ config.h.in 7 Jun 2004 15:51:29 -0000 1.4 @@ -1,24 +1,8 @@ /* src/config.h.in. Generated from configure.ac by autoheader. */ -/* Define to 1 if you have the <arpa/inet.h> header file. */ -#undef HAVE_ARPA_INET_H - -/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. - */ -#undef HAVE_DIRENT_H - -/* Define to 1 if you have the <fcntl.h> header file. */ -#undef HAVE_FCNTL_H - -/* Define to 1 if you have the `getcwd' function. */ -#undef HAVE_GETCWD - /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the `m' library (-lm). */ -#undef HAVE_LIBM - /* Define to 1 if you have the `nsl' library (-lnsl). */ #undef HAVE_LIBNSL @@ -31,62 +15,27 @@ /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H -/* Define to 1 if you have the `memset' function. */ -#undef HAVE_MEMSET - -/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ -#undef HAVE_NDIR_H - -/* Define to 1 if you have the <netinet/in.h> header file. */ -#undef HAVE_NETINET_IN_H - -/* Define to 1 if you have the `select' function. */ -#undef HAVE_SELECT - /* Define to 1 if the system has the type `size_t'. */ #undef HAVE_SIZE_T -/* Define to 1 if you have the `socket' function. */ -#undef HAVE_SOCKET - /* Define to 1 if the system has the type `socklen_t'. */ #undef HAVE_SOCKLEN_T -/* Define to 1 if you have the <stddef.h> header file. */ -#undef HAVE_STDDEF_H - /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H -/* Define to 1 if you have the `strerror' function. */ -#undef HAVE_STRERROR - /* Define to 1 if you have the <strings.h> header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H -/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. - */ -#undef HAVE_SYS_DIR_H - -/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. - */ -#undef HAVE_SYS_NDIR_H - -/* Define to 1 if you have the <sys/socket.h> header file. */ -#undef HAVE_SYS_SOCKET_H - /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H -/* Define to 1 if you have the <sys/time.h> header file. */ -#undef HAVE_SYS_TIME_H - /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H @@ -120,18 +69,12 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS -/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#undef TIME_WITH_SYS_TIME - -/* Define to 1 if your <sys/time.h> declares `struct tm'. */ -#undef TM_IN_SYS_TIME - /* Version number of package */ #undef VERSION +/* Yacc debug */ +#undef YYDEBUG + /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a `char[]'. */ #undef YYTEXT_POINTER - -/* Define to empty if `const' does not conform to ANSI C. */ -#undef const Index: Makefile.in =================================================================== RCS file: /cvsroot/agd/server/src/Makefile.in,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- Makefile.in 1 Apr 2004 19:17:14 -0000 1.11 +++ Makefile.in 7 Jun 2004 15:51:29 -0000 1.12 @@ -113,7 +113,7 @@ AM_CFLAGS = -ansi -AM_YFLAGS = -d +AM_YFLAGS = -dv EXTRA_DIST = dfparse.h lang.h dist_pkgdata_DATA = options @@ -174,7 +174,7 @@ DATA = $(dist_pkgdata_DATA) DIST_COMMON = $(dist_pkgdata_DATA) $(srcdir)/Makefile.in Makefile.am \ - config.h.in dflex.c dfparse.c dfparse.h lang.c lang.h lex.c + config.h.in dflex.c dfparse.c lang.c lex.c SOURCES = $(agd_SOURCES) $(dfparse_SOURCES) all: $(BUILT_SOURCES) config.h @@ -231,19 +231,9 @@ clean-noinstPROGRAMS: -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) -lang.h: lang.c - @if test ! -f $@; then \ - rm -f lang.c; \ - $(MAKE) lang.c; \ - else :; fi agd$(EXEEXT): $(agd_OBJECTS) $(agd_DEPENDENCIES) @rm -f agd$(EXEEXT) $(LINK) $(agd_LDFLAGS) $(agd_OBJECTS) $(agd_LDADD) $(LIBS) -dfparse.h: dfparse.c - @if test ! -f $@; then \ - rm -f dfparse.c; \ - $(MAKE) dfparse.c; \ - else :; fi dfparse$(EXEEXT): $(dfparse_OBJECTS) $(dfparse_DEPENDENCIES) @rm -f dfparse$(EXEEXT) $(LINK) $(dfparse_LDFLAGS) $(dfparse_OBJECTS) $(dfparse_LDADD) $(LIBS) @@ -435,13 +425,11 @@ maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." - -rm -f dfparse.h -rm -f lex.c -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -rm -f dflex.c -rm -f dfparse.c -rm -f lang.c - -rm -f lang.h clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-noinstPROGRAMS \ Index: dfparse.h =================================================================== RCS file: /cvsroot/agd/server/src/dfparse.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- dfparse.h 1 Apr 2004 19:10:53 -0000 1.5 +++ dfparse.h 7 Jun 2004 15:51:29 -0000 1.6 @@ -40,14 +40,17 @@ #if ! defined (YYSTYPE) && ! defined (YYSTYPE_IS_DECLARED) -#line 57 "dfparse.y" +#line 53 "dfparse.y" typedef union YYSTYPE { char *s; int i; - array_t a; + struct arr_t { + int length; + long int *data; + } a; } YYSTYPE; /* Line 1240 of yacc.c. */ -#line 51 "dfparse.h" +#line 54 "dfparse.h" # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_TRIVIAL 1 |