diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-04-03 06:34:47 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-04-03 06:34:47 +0200 |
| commit | 38b60098e42b4a899eb574f65fa14d4fdbe82f9b (patch) | |
| tree | 3956fe1ab8107c5feb043fd466a969da8f5b1f9a /testdata/parse/basic.txt | |
| parent | d20acec5efcad4b3cd493f914d10e3d11cdfee4d (diff) | |
| download | ele-38b60098e42b4a899eb574f65fa14d4fdbe82f9b.tar.gz ele-38b60098e42b4a899eb574f65fa14d4fdbe82f9b.zip | |
Init
Diffstat (limited to 'testdata/parse/basic.txt')
| -rw-r--r-- | testdata/parse/basic.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testdata/parse/basic.txt b/testdata/parse/basic.txt new file mode 100644 index 0000000..bc16e53 --- /dev/null +++ b/testdata/parse/basic.txt @@ -0,0 +1,29 @@ +# Basic parsing tests. +-- basic1.test -- +x = 42 +-- basic1.out -- +compare = + x + 42 +-- basic2.test -- +a : b c = 17 +-- basic2.out -- +conjunction + compare : + a + b + compare = + c + 17 +-- basic3.test -- +x == 42 +-- basic3.err -- +1:3: expected identifier or value +-- basic4.test -- +a : AND b c = 17 +-- basic4.err -- +1:4: misplaced AND/OR/NOT +-- basic5.test -- +a : b c = 17 - +-- basic5.err -- +2:0: expected identifier or value |
