summaryrefslogtreecommitdiff
path: root/example.pl
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-06-29 16:28:09 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-06-29 16:28:09 +0000
commit8fdf0bc6e9770e2cea4d8e18299ff5a8a9aa0802 (patch)
tree34f90a0006bf6e06be587cd0d7a71aa8408b8c9c /example.pl
parent02145f06ac007d730bc16930185fe18fa3e76c68 (diff)
Fix some parser errors, and accept clauses without a body
Diffstat (limited to 'example.pl')
-rw-r--r--example.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/example.pl b/example.pl
index b0c6ebe..8037d1c 100644
--- a/example.pl
+++ b/example.pl
@@ -2,4 +2,4 @@
math(A,B,C,D) :- D is A + B + C * A.
-true :- 1 = 1.
+true. \ No newline at end of file