aboutsummaryrefslogtreecommitdiff
path: root/tests/os.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-15 19:41:22 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-15 19:43:28 -0700
commitbe06fc096aa28358914bd6a76b4ea380a04b8873 (patch)
tree1f6c300bc8fbeb6cd84008124fca1e43f5513616 /tests/os.nom
parent8a44869c4a548692a19afe5258e2540f7d351c8a (diff)
Major changes to how versioning and parsing work. This should be a
better path going forward to handling upgrades. Old syntax files will stick around for compatibility purposes. Old syntax can be parsed into valid syntax trees via the old syntax (.peg) files, and then old syntax trees should be valid and can be upgraded via the normal code path. This change has lots of improvements to Nomsu codegen too.
Diffstat (limited to 'tests/os.nom')
-rw-r--r--tests/os.nom3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/os.nom b/tests/os.nom
index 9b546ef..efc6e56 100644
--- a/tests/os.nom
+++ b/tests/os.nom
@@ -1,3 +1,4 @@
+#!/usr/bin/env nomsu -V1
#
Tests for the stuff defined in lib/os.nom
@@ -5,7 +6,7 @@ use "core"
use "lib/os.nom"
%lines <-: lines in: read file "tests/os.nom"
-assume: %lines.2 = " Tests for the stuff defined in lib/os.nom"
+assume: %lines.3 = " Tests for the stuff defined in lib/os.nom"
%n <- 0
for file %f in "core"