From 2ab64959d83ed2793d71ab3fa03b8ebdd4925902 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 9 Nov 2007 22:38:47 +0000 Subject: Figured I might as well add single-line comments to taf, it now supports // style comments. --- src/tafnode.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tafnode.h') 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 class TafComment : public TafNode { public: - TafComment( const Bu::FString &sText ); + TafComment( const Bu::FString &sText, bool bEOL=false ); virtual ~TafComment(); const Bu::FString &getText() const; + bool isEOLStyle() const; private: Bu::FString sText; + bool bEOL; }; } -- cgit v1.2.3