DOC: fixed documented use of expression functions

- `functions<scalar>` and `functions<vector>` were erroneously
   documented in header as `lookup<scalar>` etc.

INT: handle fluent square brackets (fixes #2429)

- patch applied from openfoam.org
This commit is contained in:
Mark Olesen
2022-03-30 16:45:30 +02:00
parent c7f4ba1969
commit ecf8d260c4
2 changed files with 13 additions and 10 deletions

View File

@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2011-2016,2022 OpenFOAM Foundation
Copyright (C) 2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
@ -158,6 +158,7 @@ quote \"
dash "-"
dotColonDash [.:-]
commaPipe [,\|]
squareBracket [\[\]]
schemeSpecialInitial [!$%&*/\\:;<=>?~_^#.@']
schemeSpecialSubsequent [.+-]
@ -172,6 +173,7 @@ zeroLabel {digit}*
signedInteger [-+]?{integer}
word ({alpha}|{digit}|{dotColonDash})*
wordBraces ({word}|{lbrac}|{rbrac})*
wordSquareBrackets ({word}|{squareBracket})*
wordBracesExtras ({word}|{lbrac}|{rbrac}|{commaPipe})*
exponent_part [eE][-+]?{digit}+
@ -193,7 +195,7 @@ scalarList ({scalarListElement}+{space})
schemeSymbolList ({schemeSymbolListElement}+{space})
starStar ("**")
text ({space}({word}*{space})*)
text ({space}({wordSquareBrackets}*{space})*)
textBraces ({space}({wordBraces}*{space})*)
textExtras ({space}({word}*{commaPipe}{space})*)
textBracesExtras ({space}({wordBracesExtras}*{space})*)