Added a void* user_data pointer to HPredicate
This commit is contained in:
parent
e487d5435c
commit
69e84bcbb0
9 changed files with 28 additions and 22 deletions
|
|
@ -10,7 +10,7 @@ H_ACT_APPLY(act_index0, h_act_index, 0)
|
|||
/**
|
||||
* A label can't be more than 63 characters.
|
||||
*/
|
||||
bool validate_label(HParseResult *p) {
|
||||
bool validate_label(HParseResult *p, void* user_data) {
|
||||
if (TT_SEQUENCE != p->ast->token_type)
|
||||
return false;
|
||||
return (64 > p->ast->seq->used);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue