A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model-checker : remove useless take/restore snapshot
[simgrid.git]
/
src
/
simdag
/
dax_dtd.c
diff --git
a/src/simdag/dax_dtd.c
b/src/simdag/dax_dtd.c
index
f0eae81
..
8e1cded
100644
(file)
--- a/
src/simdag/dax_dtd.c
+++ b/
src/simdag/dax_dtd.c
@@
-1259,8
+1259,8
@@
char *dax_text;
*
* This program was generated with the FleXML XML processor generator.
* FleXML is Copyright (C) 1999-2005 Kristoffer Rose. All rights reserved.
*
* This program was generated with the FleXML XML processor generator.
* FleXML is Copyright (C) 1999-2005 Kristoffer Rose. All rights reserved.
- * FleXML is Copyright (C) 2003-201
1
Martin Quinson. All rights reserved.
- * (
Id: flexml.pl,v 1.67 2011/11/01 20:49:21 mquinson Exp
).
+ * FleXML is Copyright (C) 2003-201
3
Martin Quinson. All rights reserved.
+ * (
1.9.6
).
*
* There are two, intertwined parts to this program, part A and part B.
*
*
* There are two, intertwined parts to this program, part A and part B.
*
@@
-1269,7
+1269,7
@@
char *dax_text;
*
* Some parts, here collectively called "Part A", are found in the
* FleXML package. They are Copyright (C) 1999-2005 Kristoffer Rose
*
* Some parts, here collectively called "Part A", are found in the
* FleXML package. They are Copyright (C) 1999-2005 Kristoffer Rose
- * and Copyright (C) 2003-201
1
Martin Quinson. All rights reserved.
+ * and Copyright (C) 2003-201
3
Martin Quinson. All rights reserved.
*
* You can redistribute, use, perform, display and/or modify "Part A"
* provided the following two conditions hold:
*
* You can redistribute, use, perform, display and/or modify "Part A"
* provided the following two conditions hold:
@@
-1302,10
+1302,7
@@
char *dax_text;
*/
/* Version strings. */
*/
/* Version strings. */
-const char rcs_dax__flexml_skeleton[] =
- "$" "Id: skel,v 1.40 2007/10/11 09:57:24 mquinson Exp $";
-const char rcs_dax__flexml[] =
- "$" "Id: flexml.pl,v 1.67 2011/11/01 20:49:21 mquinson Exp $";
+const char dax__flexml_version[] = "1.9.6";
/* ANSI headers. */
#include <stdlib.h> /* for realloc() -- needed here when using flex 2.5.4 */
/* ANSI headers. */
#include <stdlib.h> /* for realloc() -- needed here when using flex 2.5.4 */
@@
-1498,13
+1495,24
@@
static int ck_ilimit()
#ifdef FLEXML_NEED_BUFFERLIT
static void dax__bufferliteral(char c, int* pp, const char* text)
{
#ifdef FLEXML_NEED_BUFFERLIT
static void dax__bufferliteral(char c, int* pp, const char* text)
{
- const char *s = (c ? strchr(text,c) : text-1), *e = strrchr(text,c);
- assert(s <= e); BUFFERSET(*pp);
- while (++s<e) {
- if (isspace(*s) && c) { BUFFERPUTC(' '); while (isspace(*s)) ++s; }
- else BUFFERPUTC(*s);
- }
- BUFFERDONE;
+ BUFFERSET(*pp);
+ if (c) {
+ const char *s = strchr(text, c), *e = strrchr(text, c);
+ assert(s && e && s <= e);
+ ++s;
+ while (s < e) {
+ if (isspace(*s)) {
+ BUFFERPUTC(' ');
+ do ++s; while (s < e && isspace(*s));
+ } else
+ BUFFERPUTC(*s++);
+ }
+ } else {
+ const char *s = text;
+ while (*s)
+ BUFFERPUTC(*s++);
+ }
+ BUFFERDONE;
}
#endif
}
#endif