summaryrefslogtreecommitdiff
path: root/tests/textwolf/test1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/textwolf/test1.cpp')
-rw-r--r--tests/textwolf/test1.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/textwolf/test1.cpp b/tests/textwolf/test1.cpp
index 42c58b3..1d6a385 100644
--- a/tests/textwolf/test1.cpp
+++ b/tests/textwolf/test1.cpp
@@ -38,6 +38,10 @@ int main( int argc, char *argv[] )
cout << itr->content( ) << endl;
}
break;
+
+ case Scan::CloseTag:
+ currentTag.clear( );
+ break;
case Scan::None:
case Scan::ErrorOccurred:
@@ -50,7 +54,6 @@ int main( int argc, char *argv[] )
case Scan::TagAttribName:
case Scan::TagAttribValue:
case Scan::CloseTagIm:
- case Scan::CloseTag:
case Scan::Exit:
default:
break;