Skip to content

Commit 6bac26d

Browse files
committed
add index to struct Variable_, fix some whitespace
1 parent ff3fd1f commit 6bac26d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/express/variable.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ typedef struct Variable_ * Variable;
7676
/***************************/
7777

7878
struct Variable_ {
79-
Expression name; /**< Symbol is inside of 'name' */
79+
Expression name; /**< Symbol is inside of 'name' */
8080
Type type;
8181
Expression initializer; /**< or 'derived' */
82-
int offset; /**< used for attr order in Entitys, and for decl order in LOCAL vars. these two uses should never conflict! */
82+
int offset; /**< used for attr order in Entitys, and for decl order in LOCAL vars. these two uses should never conflict! */
83+
int idx; /**< used in exp2cxx to simplify calculation of attrDescriptor names in generated code */
8384

8485
struct {
8586
unsigned int optional : 1; /**< OPTIONAL keyword */

0 commit comments

Comments
 (0)