summaryrefslogtreecommitdiff
path: root/src/scan-code.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scan-code.l')
-rw-r--r--src/scan-code.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scan-code.l b/src/scan-code.l
index f90916c1..308d1d0d 100644
--- a/src/scan-code.l
+++ b/src/scan-code.l
@@ -711,7 +711,7 @@ handle_action_dollar (symbol_list *rule, char *text, location dollar_loc)
"]b4_rhs_value(%d, %d, ", effective_rule_length, n);
obstack_quote (&obstack_for_string, type_name);
obstack_sgrow (&obstack_for_string, ")[");
- if (n > 0)
+ if (0 < n)
symbol_list_n_get (effective_rule, n)->action_props.is_value_used =
true;
break;