From adf031f1ce3891635d7c3af2bb2f3e90de52c6ca Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Wed, 1 Apr 2015 00:03:05 +0200 Subject: Some small formatting and comment changes, introduce more anonymous namespaces in cpp --- src/core/model/Syntax.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/model/Syntax.hpp') diff --git a/src/core/model/Syntax.hpp b/src/core/model/Syntax.hpp index 91b2226..e525224 100644 --- a/src/core/model/Syntax.hpp +++ b/src/core/model/Syntax.hpp @@ -39,10 +39,12 @@ struct TokenDescriptor { * The string content of this token, if it is not a special one. */ std::string token; + /** * A flag to be set true if this TokenDescriptor uses a special token. */ bool special; + /** * An id to uniquely identify this token. */ @@ -120,6 +122,8 @@ struct SyntaxDescriptor { * Given the current leaf in the parsed document the depth of a * SyntaxDescriptor is defined as the number of transparent elements that * would be needed to construct an instance of the referenced descriptor. + * + * TODO: What do negative values mean? */ ssize_t depth; -- cgit v1.2.3