From addac10a47693a976808bf75fe63aed19f8dbb63 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 22 Jul 2018 15:01:05 -0700 Subject: Re-autoformatted everything. The main changes are: no longer adding a newline after 1-line indented code inside blocks, and forcing files to have a trailing newline. The trailing newline thing created a lot of spurious changes. --- compatibility/2.nom | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compatibility/2.nom') diff --git a/compatibility/2.nom b/compatibility/2.nom index 36917b1..a7a3afe 100644 --- a/compatibility/2.nom +++ b/compatibility/2.nom @@ -8,11 +8,9 @@ upgrade %tree to "2" as: %true_body = (%tree.3 upgraded) unless (%true_body is "Block" syntax tree): %true_body = (=lua "Block(\%true_body.source, \%true_body)") - %false_body = (%tree.5 upgraded) unless (%false_body is "Block" syntax tree): %false_body = (=lua "Block(\%false_body.source, \%false_body)") - return (..) \(if %cond %true_body else %false_body) with vars {..} cond:%tree.2 upgraded, true_body:%true_body, false_body:%false_body @@ -30,4 +28,4 @@ upgrade %tree to "2" as: %body = (last in %bits) %bits.(length of %bits) = (=lua "Block(\%body.source, \%body)") - return (=lua "Action(\%tree.source, unpack(\%bits))") \ No newline at end of file + return (=lua "Action(\%tree.source, unpack(\%bits))") -- cgit v1.2.3