summaryrefslogtreecommitdiff
path: root/src/tafnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tafnode.cpp')
-rw-r--r--src/tafnode.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/tafnode.cpp b/src/tafnode.cpp
index c04455b..ec51535 100644
--- a/src/tafnode.cpp
+++ b/src/tafnode.cpp
@@ -141,9 +141,10 @@ const Bu::FString &Bu::TafProperty::getValue() const
141 return sValue; 141 return sValue;
142} 142}
143 143
144Bu::TafComment::TafComment( const Bu::FString &sText ) : 144Bu::TafComment::TafComment( const Bu::FString &sText, bool bEOL ) :
145 TafNode( typeComment ), 145 TafNode( typeComment ),
146 sText( sText ) 146 sText( sText ),
147 bEOL( bEOL )
147{ 148{
148} 149}
149 150
@@ -156,3 +157,8 @@ const Bu::FString &Bu::TafComment::getText() const
156 return sText; 157 return sText;
157} 158}
158 159
160bool Bu::TafComment::isEOLStyle() const
161{
162 return bEOL;
163}
164