X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dadcd4624c7dd4bb76062e5fe55fe5246cf348e5..20caf382b20af687ee1ba042b68bb87df38e8fdf:/src/surf/surfxml.l diff --git a/src/surf/surfxml.l b/src/surf/surfxml.l index ad7082491b..0f737f7cfa 100644 --- a/src/surf/surfxml.l +++ b/src/surf/surfxml.l @@ -1,9 +1,10 @@ -/* Validating XML processor for surfxml.dtd. - * Generated 2006/04/22 01:36:54. +/* Validating XML processor for surf/surfxml.dtd. + * Generated 2006/07/18 21:02:15. * * This program was generated with the FleXML XML processor generator. - * FleXML is Copyright © 1999-2005 Kristoffer Rose. All rights reserved. - * (Id: flexml.pl,v 1.48 2006/03/21 13:09:12 mquinson Exp). + * FleXML is Copyright (C) 1999-2005 Kristoffer Rose. All rights reserved. + * FleXML is Copyright (C) 2003-2006 Martin Quinson. All rights reserved. + * (Id: flexml.pl,v 1.53 2006/07/18 12:12:06 mquinson Exp). * * There are two, intertwined parts to this program, part A and part B. * @@ -11,8 +12,8 @@ * ------ * * Some parts, here collectively called "Part A", are found in the - * FleXML package. They are Copyright © 1999-2005 Kristoffer Rose. - * All rights reserved. + * FleXML package. They are Copyright (C) 1999-2005 Kristoffer Rose + * and Copyright (C) 2003-2006 Martin Quinson. All rights reserved. * * You can redistribute, use, perform, display and/or modify "Part A" * provided the following two conditions hold: @@ -48,9 +49,9 @@ /* Version strings. */ const char rcs_surfxml_flexml_skeleton[] = - "$" "Id: skel,v 1.28 2006/03/21 12:04:13 legranda Exp $"; + "$" "Id: skel,v 1.31 2006/07/18 18:21:13 mquinson Exp $"; const char rcs_surfxml_flexml[] = - "$" "Id: flexml.pl,v 1.48 2006/03/21 13:09:12 mquinson Exp $"; + "$" "Id: flexml.pl,v 1.53 2006/07/18 12:12:06 mquinson Exp $"; /* ANSI headers. */ #include @@ -68,36 +69,37 @@ const char rcs_surfxml_flexml[] = /* FleXML-provided data. */ const char* surfxml_pcdata; AT_surfxml_network_link_bandwidth A_surfxml_network_link_bandwidth; +AT_surfxml_process_host A_surfxml_process_host; +AT_surfxml_network_link_latency_file A_surfxml_network_link_latency_file; +AT_surfxml_route_impact_on_dst_with_other_send A_surfxml_route_impact_on_dst_with_other_send; +AT_surfxml_cpu_interference_send_recv A_surfxml_cpu_interference_send_recv; +AT_surfxml_route_impact_on_dst A_surfxml_route_impact_on_dst; +AT_surfxml_platform_description_version A_surfxml_platform_description_version; +AT_surfxml_route_impact_on_src_with_other_recv A_surfxml_route_impact_on_src_with_other_recv; +AT_surfxml_route_element_name A_surfxml_route_element_name; +AT_surfxml_process_start_time A_surfxml_process_start_time; +AT_surfxml_process_function A_surfxml_process_function; +AT_surfxml_cpu_state A_surfxml_cpu_state; +AT_surfxml_cpu_interference_send A_surfxml_cpu_interference_send; +AT_surfxml_network_link_bandwidth_file A_surfxml_network_link_bandwidth_file; AT_surfxml_cpu_name A_surfxml_cpu_name; AT_surfxml_process_kill_time A_surfxml_process_kill_time; AT_surfxml_network_link_state A_surfxml_network_link_state; -AT_surfxml_argument_value A_surfxml_argument_value; AT_surfxml_cpu_availability_file A_surfxml_cpu_availability_file; -AT_surfxml_process_host A_surfxml_process_host; -AT_surfxml_route_impact_on_src A_surfxml_route_impact_on_src; +AT_surfxml_argument_value A_surfxml_argument_value; AT_surfxml_route_src A_surfxml_route_src; -AT_surfxml_network_link_latency_file A_surfxml_network_link_latency_file; +AT_surfxml_route_impact_on_src A_surfxml_route_impact_on_src; AT_surfxml_cpu_max_outgoing_rate A_surfxml_cpu_max_outgoing_rate; -AT_surfxml_route_impact_on_dst_with_other_send A_surfxml_route_impact_on_dst_with_other_send; -AT_surfxml_cpu_interference_send_recv A_surfxml_cpu_interference_send_recv; AT_surfxml_cpu_availability A_surfxml_cpu_availability; -AT_surfxml_route_impact_on_dst A_surfxml_route_impact_on_dst; AT_surfxml_cpu_interference_recv A_surfxml_cpu_interference_recv; -AT_surfxml_route_impact_on_src_with_other_recv A_surfxml_route_impact_on_src_with_other_recv; AT_surfxml_network_link_name A_surfxml_network_link_name; -AT_surfxml_route_element_name A_surfxml_route_element_name; AT_surfxml_cpu_power A_surfxml_cpu_power; -AT_surfxml_process_start_time A_surfxml_process_start_time; AT_surfxml_include_file A_surfxml_include_file; -AT_surfxml_process_function A_surfxml_process_function; AT_surfxml_network_link_sharing_policy A_surfxml_network_link_sharing_policy; AT_surfxml_route_dst A_surfxml_route_dst; -AT_surfxml_cpu_state A_surfxml_cpu_state; AT_surfxml_network_link_latency A_surfxml_network_link_latency; -AT_surfxml_network_link_state_file A_surfxml_network_link_state_file; -AT_surfxml_cpu_interference_send A_surfxml_cpu_interference_send; AT_surfxml_cpu_state_file A_surfxml_cpu_state_file; -AT_surfxml_network_link_bandwidth_file A_surfxml_network_link_bandwidth_file; +AT_surfxml_network_link_state_file A_surfxml_network_link_state_file; /* XML state. */ #ifdef FLEX_DEBUG @@ -129,7 +131,7 @@ static void cleanup(void); static char bufferstack[FLEXML_BUFFERSTACKSIZE]; static char* limit = bufferstack + FLEXML_BUFFERSTACKSIZE; typedef struct BufferLast_s { - struct BufferLast_s *old; char* saved; char new1[1]; + struct BufferLast_s *old; const char* saved; char new1[1]; } BufferLast; #ifdef FLEXML_HasMixed static BufferLast* last = (BufferLast*)0; @@ -153,7 +155,7 @@ static void bufferliteral(char c, const char** pp, char* text) } #ifdef FLEXML_HasMixed -static void pushbuffer(char* p) +static void pushbuffer(const char* p) { BufferLast* l = (BufferLast*)next; assert(next < limit); @@ -163,7 +165,7 @@ static void pushbuffer(char* p) last = l; } -static char* popbuffer(void) +static const char* popbuffer(void) { BufferLast* l = last; assert(last != (BufferLast*)0); @@ -343,10 +345,14 @@ const char* *surfxml_statenames=NULL; /* */ "{ + "version"{Eq}\' ENTER(VALUE1); BUFFERSET(A_surfxml_platform_description_version); + "version"{Eq}\" ENTER(VALUE2); BUFFERSET(A_surfxml_platform_description_version); + ">" { LEAVE; STag_surfxml_platform_description();surfxml_pcdata = NULL; ENTER(S_surfxml_platform_description); }