diff --git a/src/basic_xml_grammar.ipp b/src/basic_xml_grammar.ipp index 5d4dcb85..d2421ffd 100644 --- a/src/basic_xml_grammar.ipp +++ b/src/basic_xml_grammar.ipp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include @@ -269,7 +270,7 @@ basic_xml_grammar::basic_xml_grammar(){ ; // refactoring to workaround template depth on darwin - CharDataChars = *(anychar_p - chset_p(L"&<")); + CharDataChars = +(anychar_p - chset_p(L"&<")); CharData = CharDataChars [ xml::append_string< @@ -305,7 +306,7 @@ basic_xml_grammar::basic_xml_grammar(){ content = L"<" // should be end_p - | (Reference | CharData) >> content + | +(Reference | CharData) >> L"<" ; ClassIDAttribute = @@ -368,7 +369,7 @@ basic_xml_grammar::basic_xml_grammar(){ Name >> Eq >> L'"' - >> CharData + >> !CharData >> L'"' ; diff --git a/src/extended_type_info.cpp b/src/extended_type_info.cpp index ba4c1ba7..c52cb6af 100644 --- a/src/extended_type_info.cpp +++ b/src/extended_type_info.cpp @@ -19,8 +19,6 @@ #include // msvc needs this to suppress warning -#include "bidirectional_map.hpp" - #include #if defined(BOOST_NO_STDC_NAMESPACE) namespace std{ using ::strcmp; }