From c3e6ab895c23feb4e5fbcdde4420b78a42258f3d Mon Sep 17 00:00:00 2001 From: Myun2 Date: Thu, 13 Jan 2011 21:45:01 +0900 Subject: [PATCH] =?utf8?q?lexical=5Ftest/dom=5Ftest.cpp:=20=E3=82=B3?= =?utf8?q?=E3=83=B3=E3=83=91=E3=82=A4=E3=83=AB=E3=81=8C=E9=80=9A=E3=82=8B?= =?utf8?q?=E3=82=88=E3=81=86=E3=81=AB=E3=80=82=E3=81=9D=E3=81=97=E3=81=A6?= =?utf8?q?=E3=83=87=E3=83=90=E3=83=83=E3=82=B0=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- roast/include/roast/lexical/exception.hpp | 2 ++ roast/include/roast/xml/roast_xml/sax.hpp | 2 +- roast/test/lexical_test/dom_test.cpp | 9 ++++++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/roast/include/roast/lexical/exception.hpp b/roast/include/roast/lexical/exception.hpp index a61c7406..afc9c77b 100644 --- a/roast/include/roast/lexical/exception.hpp +++ b/roast/include/roast/lexical/exception.hpp @@ -4,6 +4,8 @@ #ifndef __SFJP_ROAST__lexical__exception_HPP__ #define __SFJP_ROAST__lexical__exception_HPP__ +#include + namespace roast { namespace lexical diff --git a/roast/include/roast/xml/roast_xml/sax.hpp b/roast/include/roast/xml/roast_xml/sax.hpp index 5bc025c3..b63cbc7a 100644 --- a/roast/include/roast/xml/roast_xml/sax.hpp +++ b/roast/include/roast/xml/roast_xml/sax.hpp @@ -6,7 +6,7 @@ #define __SFJP_ROAST__xml__roast_xml__sax_HPP__ #include "roast/xml/roast_xml/rule_xml.hpp" -//#include "roast/lexical/string_parser_base.hpp" +#include "roast/debug/console_monitor.hpp" #include namespace roast diff --git a/roast/test/lexical_test/dom_test.cpp b/roast/test/lexical_test/dom_test.cpp index 36b66c2a..ec4f0461 100644 --- a/roast/test/lexical_test/dom_test.cpp +++ b/roast/test/lexical_test/dom_test.cpp @@ -10,6 +10,9 @@ using namespace std; using namespace roast; using namespace roast::roast_xml; +#pragma warning(disable:4996) +#pragma warning(disable:4102) + /////////////////////////////////////////////////////////// const bool g_detail = false; @@ -115,7 +118,7 @@ int main() using namespace roast::roast_xml::rule; - goto POINT; + goto LABEL1; // root_cant_have_text sax_error_test("<", illegal_term_exception().c_str() ); @@ -124,7 +127,7 @@ int main() sax_error_test(" ", invalid_comment_start_exception().c_str() ); sax_error_test(" ", illegal_term_in_comment_exception().c_str() ); sax_error_test(" ", no_root_element_exception().c_str() );// X //goto END; sax_error_test(" ", no_root_element_exception().c_str() );// X -- 2.11.0