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
|
|
@ -11,7 +11,7 @@
|
|||
// Validations and Semantic Actions
|
||||
///
|
||||
|
||||
bool validate_null(HParseResult *p) {
|
||||
bool validate_null(HParseResult *p, void* user_data) {
|
||||
if (TT_SEQUENCE != p->ast->token_type)
|
||||
return false;
|
||||
return (65536 > p->ast->seq->used);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue