/* Validating XML processor for surfxml.dtd.
- * Generated 2005/02/10 12:28:10.
+ * Generated 2005/02/13 20:04:21.
*
* This program was generated with the FleXML XML processor generator,
- * (Id: flexml.pl,v 1.38 2005/02/10 11:13:51 mquinson Exp).
+ * (Id: flexml.pl,v 1.39 2005/02/13 18:12:19 legranda Exp).
* Copyright © 1999 Kristoffer Rose. All rights reserved.
*
* You can redistribute and/or modify this program provided the following
/* Version strings. */
const char rcs_flexml_skeleton[] =
- "$" "Id: skel,v 1.22 2005/02/10 11:18:26 mquinson Exp $";
+ "$" "Id: skel,v 1.24 2005/02/10 11:42:39 mquinson Exp $";
const char rcs_flexml[] =
- "$" "Id: flexml.pl,v 1.38 2005/02/10 11:13:51 mquinson Exp $";
+ "$" "Id: flexml.pl,v 1.39 2005/02/13 18:12:19 legranda Exp $";
/* ANSI headers. */
#include <unistd.h>
/* Generated definitions. */
#define FLEXML_yylineno
-#define FLEXML_BUFFERSTACKSIZE 100000
+#define FLEXML_BUFFERSTACKSIZE 1000000
/* XML processor api. */
+#include "surf/surfxml.h"
+
/* FleXML-provided data. */
const char* pcdata;
AT_network_link_bandwidth A_network_link_bandwidth;
/* Bypass Flex's default INITIAL state and begin by parsing the XML prolog. */
SET(PROLOG);
/* FleXML_init */
- if(!statenames) statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*));
+ next = bufferstack;
+ if(!statenames) {statenames= (const char **)calloc(IMPOSSIBLE,sizeof(char*));
statenames[PROLOG] = NULL;
statenames[DOCTYPE] = NULL;
statenames[EPILOG] = NULL;
statenames[ROOT_argument] = NULL;
statenames[AL_argument] = NULL;
statenames[E_argument] = "argument";
-
+ }
/* COMMENTS and PIs: handled uniformly for efficiency. */
<ROOT_platform_description,AL_platform_description,S_platform_description,S_platform_description_1,S_platform_description_2,E_platform_description,ROOT_include,AL_include,S_include,S_include_1,S_include_2,E_include,ROOT_cpu,AL_cpu,E_cpu,ROOT_network_link,AL_network_link,E_network_link,ROOT_route,AL_route,S_route,S_route_1,S_route_2,E_route,ROOT_route_element,AL_route_element,E_route_element,ROOT_process,AL_process,S_process,S_process_1,S_process_2,E_process,ROOT_argument,AL_argument,E_argument,PROLOG,DOCTYPE,EPILOG>{
#ifndef FLEXML_quiet_parser
/* print directly to sdterr */
- fprintf(stderr, "%s", flexml_err_msg);
+ fprintf(stderr, "%s\n", flexml_err_msg);
flexml_err_msg[0] = '\0';
#endif