aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/grammar.lemon
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-08-10 17:49:28 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-08-10 17:49:28 +0000
commitc6669a3c63315725ddcd5941ec83d471f9a93595 (patch)
tree194254245f6768bb3ec110fb2a36a4cdf8588f4f /epan/dfilter/grammar.lemon
parent237182ba42445ecb5a067fb74f14f3ccfec601e7 (diff)
dfilter: report warning if OR and AND logic operands are mixed without parentheses.
svn path=/trunk/; revision=51247
Diffstat (limited to 'epan/dfilter/grammar.lemon')
-rw-r--r--epan/dfilter/grammar.lemon1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dfilter/grammar.lemon b/epan/dfilter/grammar.lemon
index 88c59b6347..a808d1bf36 100644
--- a/epan/dfilter/grammar.lemon
+++ b/epan/dfilter/grammar.lemon
@@ -309,5 +309,6 @@ funcparams(P) ::= funcparams(L) COMMA entity(E).
expr(X) ::= LPAREN expr(Y) RPAREN.
{
X = Y;
+ stnode_set_bracket(X, TRUE);
}