aboutsummaryrefslogtreecommitdiff
path: root/lib/object.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-22 15:01:05 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-22 15:01:05 -0700
commitaddac10a47693a976808bf75fe63aed19f8dbb63 (patch)
treeb072998c987f86eb1ecd381fd36eee0d1e3a6091 /lib/object.nom
parent4fa9757fa27d79a0cda399dcf3b711f4d0d60457 (diff)
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.
Diffstat (limited to 'lib/object.nom')
-rw-r--r--lib/object.nom3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/object.nom b/lib/object.nom
index f717cef..48e602a 100644
--- a/lib/object.nom
+++ b/lib/object.nom
@@ -11,7 +11,6 @@ compile [method %actions %body] to:
declare locals in %lua
for % in %actions:
to %lua write "\nclass.\(% as lua id) = \(% as lua id)"
-
return (..)
Lua ".."
do -- Method: \(%actions.(1).stub)
@@ -58,4 +57,4 @@ compile [object %classname extends %parent %class_body] to (..)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse [object %classname %class_body] as (..)
- object %classname extends (nil) %class_body \ No newline at end of file
+ object %classname extends (nil) %class_body