diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-19 00:30:47 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-19 00:30:47 -0700 |
| commit | 3b10a608267ce00cc140b63a19c9433f261f9794 (patch) | |
| tree | 4a4c6c9da5841bc2a18f794967f5b2127412075a | |
| parent | 0ee5b5888208dff29881869d9dc3595025b515c0 (diff) | |
Moved core into lib/ and recompiled.
| -rw-r--r-- | examples/parser_tests.nom | 2 | ||||
| -rw-r--r-- | examples/sample_code.nom | 2 | ||||
| -rw-r--r-- | examples/sample_game.nom | 2 | ||||
| -rw-r--r-- | lib/core.nom (renamed from core.nom) | 0 | ||||
| -rw-r--r-- | nomsu.lua | 2 |
5 files changed, 4 insertions, 4 deletions
diff --git a/examples/parser_tests.nom b/examples/parser_tests.nom index 81608b7..47cb893 100644 --- a/examples/parser_tests.nom +++ b/examples/parser_tests.nom @@ -1,4 +1,4 @@ -run file "core.nom" +run file "lib/core.nom" test: say "foo" ..yields ".." |Call [say %]: diff --git a/examples/sample_code.nom b/examples/sample_code.nom index 4f4d2dd..4aa8cde 100644 --- a/examples/sample_code.nom +++ b/examples/sample_code.nom @@ -3,7 +3,7 @@ start with a #.. and continue until dedent -run file "core.nom" +run file "lib/core.nom" say "foo" diff --git a/examples/sample_game.nom b/examples/sample_game.nom index e366243..e393747 100644 --- a/examples/sample_game.nom +++ b/examples/sample_game.nom @@ -1,4 +1,4 @@ -run file "core.nom" +run file "lib/core.nom" run file "lib/secrets.nom" run file "lib/plurals.nom" @@ -576,7 +576,7 @@ do elseif "Var" == _exp_0 then add("vars[" .. tostring(utils.repr(tree.value, true)) .. "]") else - error("Unknown/unimplemented thingy: " .. tostring(tree.type)) + self:error("Unknown/unimplemented thingy: " .. tostring(tree.type)) end buffer = table.concat(buffer, "\n") return buffer, return_value |
