Skip to content

Commit e1f5436

Browse files
author
Michal Malik
committed
Merge pull request #1 from michalmalik/michalmalik-patch-1
Fixed midrule at $8 of 'rule' has no declared type
2 parents 24e7f8d + 7f2ee48 commit e1f5436

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libyara/grammar.y

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ rule
226226

227227
ERROR_IF(rule == NULL);
228228

229-
$$ = rule;
229+
$<rule>$ = rule;
230230
}
231231
condition '}'
232232
{

0 commit comments

Comments
 (0)