summaryrefslogtreecommitdiff
path: root/src/tafreader.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-11-09 22:11:03 +0000
committerMike Buland <eichlan@xagasoft.com>2007-11-09 22:11:03 +0000
commitbb9c0dc8dd2c852d9b6e89b9fd883232019cea93 (patch)
tree8ce5fce962ce91a96a60a80a2214ca4d4d808f4c /src/tafreader.cpp
parent414328563a8c3972e8d053fb770741eb0123d826 (diff)
downloadlibbu++-bb9c0dc8dd2c852d9b6e89b9fd883232019cea93.tar.gz
libbu++-bb9c0dc8dd2c852d9b6e89b9fd883232019cea93.tar.bz2
libbu++-bb9c0dc8dd2c852d9b6e89b9fd883232019cea93.tar.xz
libbu++-bb9c0dc8dd2c852d9b6e89b9fd883232019cea93.zip
Fixed a silly bug in the taf system that interpreted the */ at the end of a
comment block as a tag...oops.
Diffstat (limited to 'src/tafreader.cpp')
-rw-r--r--src/tafreader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tafreader.cpp b/src/tafreader.cpp
index 6441ac3..5609f7c 100644
--- a/src/tafreader.cpp
+++ b/src/tafreader.cpp
@@ -79,7 +79,10 @@ Bu::TafComment *Bu::TafReader::readComment()
79 { 79 {
80 next(); 80 next();
81 if( c == '*' && la == '/' ) 81 if( c == '*' && la == '/' )
82 {
83 next(); next();
82 break; 84 break;
85 }
83 sCmnt += c; 86 sCmnt += c;
84 } 87 }
85 88