summary refs log tree commit diff stats
path: root/examples/cross_calculator/nim_backend
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-09-04 23:05:22 +0200
committerAdam Strzelecki <ono@java.pl>2015-09-04 23:05:22 +0200
commit5d80548cce84ea62dc8b85c10375f70d037ea4f8 (patch)
tree110db6acbe7cf57031571cbd5f3519bb3ee0a039 /examples/cross_calculator/nim_backend
parente80465dacf50f260abec30ae57d37b298c93fd83 (diff)
downloadNim-5d80548cce84ea62dc8b85c10375f70d037ea4f8.tar.gz
examples: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
Diffstat (limited to 'examples/cross_calculator/nim_backend')
-rw-r--r--examples/cross_calculator/nim_backend/backend.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/cross_calculator/nim_backend/backend.nim b/examples/cross_calculator/nim_backend/backend.nim
index ffa4311f9..c8684581c 100644
--- a/examples/cross_calculator/nim_backend/backend.nim
+++ b/examples/cross_calculator/nim_backend/backend.nim
@@ -1,5 +1,5 @@
-# Backend for the different user interfaces.

-

-proc myAdd*(x, y: int): int {.cdecl, exportc.} = 

-  result = x + y

-

+# Backend for the different user interfaces.
+
+proc myAdd*(x, y: int): int {.cdecl, exportc.} =
+  result = x + y
+