let's just use ((void *)-1) as another invalid pointer result
This commit is contained in:
parent
90b6f30fa1
commit
8995097a1d
3 changed files with 5 additions and 6 deletions
|
|
@ -57,7 +57,7 @@ static inline HStringMap *h_stringmap_get_char(const HStringMap *m, const uint8_
|
|||
{ return h_hashtable_get(m->char_branches, (void *)char_key(c)); }
|
||||
|
||||
// dummy return value used by h_stringmap_get_lookahead when out of input
|
||||
#define H_NEED_INPUT ((void *)&h_stringmap_get_lookahead)
|
||||
#define NEED_INPUT ((void *)-1)
|
||||
|
||||
|
||||
/* Convert 'parser' into CFG representation by desugaring and compiling the set
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue