OSDN Git Service
(root)
/
roast
/
roast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8133a
)
roast_xml: textの終端判定が上手く行ってなかったんで直した。
author
Myun2
<myun2@nwhite.info>
Sun, 25 Jul 2010 14:04:13 +0000
(23:04 +0900)
committer
Myun2
<myun2@nwhite.info>
Sun, 25 Jul 2010 14:04:13 +0000
(23:04 +0900)
roast/include/roast/xml/roast_xml/structure.hpp
patch
|
blob
|
history
diff --git
a/roast/include/roast/xml/roast_xml/structure.hpp
b/roast/include/roast/xml/roast_xml/structure.hpp
index
a2bafd7
..
d57e6c3
100644
(file)
--- a/
roast/include/roast/xml/roast_xml/structure.hpp
+++ b/
roast/include/roast/xml/roast_xml/structure.hpp
@@
-106,14
+106,23
@@
namespace roast
repeat<
seq<
+ // end when tag start.
+ test< not<
+ seq<
+ lesser, // <
+ not<exclamation> // not !
+ >
+ > >,
+
// text body
push_num<20>,
get_string_end_by<lesser>,
push_num<11>,
// comments
- repeat<comment>
,
+ repeat<comment>
+ /*
// end when tag start.
test< not<
seq<
@@
-121,6
+130,7
@@
namespace roast
not<exclamation> // not !
>
> >
+ */
>
>
> text;