From cc16bc9338c1cb7c06d6b17bc44902afd0a3c1fe Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Sat, 7 Dec 2019 16:46:49 +0100
Subject: [PATCH] STYLE: comments, spelling in token.H

---
 src/OpenFOAM/db/IOstreams/token/token.H | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/OpenFOAM/db/IOstreams/token/token.H b/src/OpenFOAM/db/IOstreams/token/token.H
index e6a9b7aa3e5..44a0143ff14 100644
--- a/src/OpenFOAM/db/IOstreams/token/token.H
+++ b/src/OpenFOAM/db/IOstreams/token/token.H
@@ -87,12 +87,10 @@ public:
         DOUBLE_SCALAR,    //!< double (double-precision) type
 
         // Pointer types
-        WORD,             //!< Contents represent a Foam::word
-        STRING,           //!< Contents represent a Foam::string
-        VARIABLE,         //!< Contents are a Foam::string representing a
-                          //!< dictionary \c \$variable expansion
-        VERBATIMSTRING,   //!< Contents are a Foam::string representing verbatim
-                          //!< content
+        WORD,             //!< A Foam::word
+        STRING,           //!< A string
+        VARIABLE,         //!< A dictionary \c \$variable (string variant)
+        VERBATIMSTRING,   //!< Verbatim string content
         COMPOUND,         //!< Compound type such as \c List\<label\> etc.
 
         ERROR             //!< A token error encountered
@@ -133,7 +131,7 @@ public:
 
         ASSIGN         = '=',   //!< Assignment/equals [#isseparator]
         ADD            = '+',   //!< Addition [#isseparator]
-        SUBTRACT       = '-',   //!< Substract or start of negative number
+        SUBTRACT       = '-',   //!< Subtract or start of negative number
         MULTIPLY       = '*',   //!< Multiply [#isseparator]
         DIVIDE         = '/',   //!< Divide [#isseparator]
 
-- 
GitLab