summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/when.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/when.y b/bin/when.y
index 46651ebb..bbc86084 100644
--- a/bin/when.y
+++ b/bin/when.y
@@ -204,8 +204,9 @@ static void printScalar(struct tm scalar) {
 %}
 
 %token Name Number Month Day
+%right '='
 %left '+' '-'
-%right '=' '<' '>'
+%right '<' '>'
 
 %%