aboutsummaryrefslogtreecommitdiffstats
path: root/tools/npl/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/npl/ast.h')
-rw-r--r--tools/npl/ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/npl/ast.h b/tools/npl/ast.h
index 735a294fa9..fd116a41b2 100644
--- a/tools/npl/ast.h
+++ b/tools/npl/ast.h
@@ -164,6 +164,7 @@ typedef struct {
char *tmpid;
struct ettinfo *ett;
struct symbol *sym;
+ int struct_size;
} npl_struct_t;
typedef struct {
@@ -289,6 +290,7 @@ typedef struct _npl_statement {
struct hfinfo *hfi;
npl_expression_t *byte_order_attr;
int generate_var;
+ int field_size;
} f;
};
@@ -309,7 +311,6 @@ typedef struct {
/* code generator */
struct symbol *sym;
- npl_expression_t *byte_order_attr;
} npl_protocol_t;
typedef enum {