File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
2018-10-31 Nathan Sidwell <
[email protected] >
2
2
3
+ * include/cpplib.h (HT_NODE): Don't cast NODE.
4
+ (NODE_LEN, NODE_NAME): Use HT_NODE.
5
+
3
6
* directives.c (DIRECTIVE_TABLE): Drop historical frequency
4
7
comments.
5
8
* files.c (_cpp_stack_file): Fix indentation.
Original file line number Diff line number Diff line change @@ -844,9 +844,9 @@ enum cpp_builtin_type
844
844
};
845
845
846
846
#define CPP_HASHNODE (HNODE ) ((cpp_hashnode *) (HNODE))
847
- #define HT_NODE (NODE ) ((ht_identifier *) ( NODE))
848
- #define NODE_LEN (NODE ) HT_LEN (& (NODE)->ident )
849
- #define NODE_NAME (NODE ) HT_STR (& (NODE)->ident )
847
+ #define HT_NODE (NODE ) (&( NODE)->ident )
848
+ #define NODE_LEN (NODE ) HT_LEN (HT_NODE (NODE))
849
+ #define NODE_NAME (NODE ) HT_STR (HT_NODE (NODE))
850
850
851
851
/* The common part of an identifier node shared amongst all 3 C front
852
852
ends. Also used to store CPP identifiers, which are a superset of
You can’t perform that action at this time.
0 commit comments