aboutsummaryrefslogtreecommitdiff
path: root/src/tafnode.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-11-09 22:38:47 +0000
committerMike Buland <eichlan@xagasoft.com>2007-11-09 22:38:47 +0000
commit2ab64959d83ed2793d71ab3fa03b8ebdd4925902 (patch)
tree5417aeff1cadeb36793cfee3bc0733b2b6c77f44 /src/tafnode.h
parentbb9c0dc8dd2c852d9b6e89b9fd883232019cea93 (diff)
downloadlibbu++-2ab64959d83ed2793d71ab3fa03b8ebdd4925902.tar.gz
libbu++-2ab64959d83ed2793d71ab3fa03b8ebdd4925902.tar.bz2
libbu++-2ab64959d83ed2793d71ab3fa03b8ebdd4925902.tar.xz
libbu++-2ab64959d83ed2793d71ab3fa03b8ebdd4925902.zip
Figured I might as well add single-line comments to taf, it now supports //
style comments.
Diffstat (limited to '')
-rw-r--r--src/tafnode.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tafnode.h b/src/tafnode.h
index 585ba73..e2e1cc0 100644
--- a/src/tafnode.h
+++ b/src/tafnode.h
@@ -98,13 +98,15 @@ namespace Bu
98 class TafComment : public TafNode 98 class TafComment : public TafNode
99 { 99 {
100 public: 100 public:
101 TafComment( const Bu::FString &sText ); 101 TafComment( const Bu::FString &sText, bool bEOL=false );
102 virtual ~TafComment(); 102 virtual ~TafComment();
103 103
104 const Bu::FString &getText() const; 104 const Bu::FString &getText() const;
105 bool isEOLStyle() const;
105 106
106 private: 107 private:
107 Bu::FString sText; 108 Bu::FString sText;
109 bool bEOL;
108 }; 110 };
109} 111}
110 112