From e8e00adeaa29cfc0e7b581550bc1bca15f4ddc69 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 30 Jan 2019 23:05:44 -0800 Subject: Fixed is/== mixup --- lib/compatibility/2.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compatibility/2.nom b/lib/compatibility/2.nom index 0b17082..da11245 100644 --- a/lib/compatibility/2.nom +++ b/lib/compatibility/2.nom @@ -8,7 +8,7 @@ use "compatibility/compatibility" upgrade $tree to "2" as: unless ($tree is "Action" syntax tree): return - if ($tree.stub is "if 1 2 else"): + if ($tree.stub == "if 1 2 else"): $true_body = ($tree.3 upgraded) unless ($true_body is "Block" syntax tree): $true_body = \(: $true_body) -- cgit v1.2.3