[Forensics-changes] [yara] 92/407: Fix copy/paste mistake.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Jul 1 10:28:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag v3.3.0
in repository yara.
commit c9fd5aba14d247c3525cdb42f4e79439d3f25421
Author: Wesley Shields <wxs at atarininja.org>
Date: Thu Oct 9 21:10:38 2014 -0400
Fix copy/paste mistake.
---
libyara/grammar.c | 2 +-
libyara/grammar.y | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libyara/grammar.c b/libyara/grammar.c
index 9e2c015..30b9f32 100644
--- a/libyara/grammar.c
+++ b/libyara/grammar.c
@@ -2608,7 +2608,7 @@ yyreduce:
case 54:
#line 938 "grammar.y"
{
- CHECK_TYPE((yyvsp[(1) - (3)].expression), EXPRESSION_TYPE_STRING, "contains");
+ CHECK_TYPE((yyvsp[(1) - (3)].expression), EXPRESSION_TYPE_STRING, "matches");
int result = yr_parser_reduce_string_identifier(
yyscanner,
diff --git a/libyara/grammar.y b/libyara/grammar.y
index d71430b..e119f95 100644
--- a/libyara/grammar.y
+++ b/libyara/grammar.y
@@ -936,7 +936,7 @@ expression
}
| primary_expression _MATCHES_ _STRING_IDENTIFIER_
{
- CHECK_TYPE($1, EXPRESSION_TYPE_STRING, "contains");
+ CHECK_TYPE($1, EXPRESSION_TYPE_STRING, "matches");
int result = yr_parser_reduce_string_identifier(
yyscanner,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git
More information about the forensics-changes
mailing list