Skip to content

Commit 2812c30

Browse files
committed
improve comment for TypeBody->flags.repeat
1 parent f1651b0 commit 2812c30

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

include/express/type.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,11 @@ struct TypeBody_ {
159159
unsigned optional : 1;
160160
unsigned fixed : 1;
161161
unsigned shared : 1; /**< type is shared */
162-
unsigned repeat : 1; /**< expression is a repeat count*/
162+
unsigned repeat : 1; /**< Expression is the number of repetitions of the previous Expression
163+
* 10303-11:2004 production #203
164+
* element = expression [ ':' repetition ] .
165+
* TODO exp2cxx and exp2py do not use this! Are all use cases handled by libexppp?
166+
*/
163167
unsigned encoded : 1; /**< encoded string */
164168
} flags;
165169
Type base; /**< underlying base type if any can also contain true type if this type is a type reference */

0 commit comments

Comments
 (0)