diff options
author | albert-github <albert.tests@gmail.com> | 2020-06-28 12:08:24 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-06-28 12:08:24 (GMT) |
commit | 4f28f621b67d96c3f9eb78f01009867377695558 (patch) | |
tree | 661dd47ef62852e822c7e0609bd46a71d2b2cca1 /src/doctokenizer.l | |
parent | d5916c06fba9667911a19cf658e7c5ab54daf72c (diff) | |
download | Doxygen-4f28f621b67d96c3f9eb78f01009867377695558.zip Doxygen-4f28f621b67d96c3f9eb78f01009867377695558.tar.gz Doxygen-4f28f621b67d96c3f9eb78f01009867377695558.tar.bz2 |
More flexible and correct detection of direction of an argument
In the current version a line like:
```
uint8_t innInstances, ///< [inn]Number of CIP node instances.
```
was seen as an input parameter.
Also not all combinations were checked (`[inout]` was OK but `[outin]` wasn't although `[in,out]` and `[out,in]` were working in the tokenizer.
Line up the detection of the direction between the tokenizer and the method `extractDirection`
Note: this problem was found when working on #7879.
Diffstat (limited to 'src/doctokenizer.l')
-rw-r--r-- | src/doctokenizer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doctokenizer.l b/src/doctokenizer.l index b1aa82f..a08fef0 100644 --- a/src/doctokenizer.l +++ b/src/doctokenizer.l @@ -378,7 +378,7 @@ SPCMD2 {CMD}[\\@<>&$#%~".+=|-] SPCMD3 {CMD}_form#[0-9]+ SPCMD4 {CMD}"::" SPCMD5 {CMD}":" -INOUT "inout"|"in"|"out"|("in"{BLANK}*","{BLANK}*"out")|("out"{BLANK}*","{BLANK}*"in") +INOUT "in"|"out"|("in"{BLANK}*","?{BLANK}*"out")|("out"{BLANK}*","?{BLANK}*"in") PARAMIO {CMD}param{BLANK}*"["{BLANK}*{INOUT}{BLANK}*"]" VARARGS "..." TEMPCHAR [a-z_A-Z0-9.,: \t\*\&\(\)\[\]] |