From 43ff3892f39188163446f1a00ee8d2aad59e0392 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 19 Nov 2018 17:28:33 -0800 Subject: Fixed a string indexing issue. --- compatibility/compatibility.nom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compatibility') diff --git a/compatibility/compatibility.nom b/compatibility/compatibility.nom index c7895e0..23ec703 100644 --- a/compatibility/compatibility.nom +++ b/compatibility/compatibility.nom @@ -24,7 +24,7 @@ externally (upgrade action %stub to %version via %upgrade_fn) means: for %action in %actions: %replacements = {} for %i in 1 to (size of %action): - if (%action.%i.type is "Var"): + if (%action.%i is "Var" syntax tree): %replacements.(%action.%i.1) = "\(\%tree as lua id)[\%i]" define mangler (make tree %t) means: -- cgit v1.2.3