summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2020-06-28 11:31:56 +0300
committerAdrian Thurston <thurston@colm.net>2020-07-18 10:39:35 +0300
commitc9ff691c82b565224be74bc89767cf9e61c0a960 (patch)
tree660fa0cb7c7c1f26293f2d286bf03eb2efd791fa /test
parente9d02062b2e588ca22efcd68e8bf1586c0b88a31 (diff)
downloadcolm-c9ff691c82b565224be74bc89767cf9e61c0a960.tar.gz
replced bare send syntax whith << and <- forms
Elimintates associated ambiguity between extending statements and starting a new one. Bare send was a nice idea, but it is too much for the language to bear.
Diffstat (limited to 'test')
-rw-r--r--test/colm.d/sendstream.lm4
-rw-r--r--test/colm.d/stds1.lm4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/colm.d/sendstream.lm b/test/colm.d/sendstream.lm
index 50edeae6..0db1cb99 100644
--- a/test/colm.d/sendstream.lm
+++ b/test/colm.d/sendstream.lm
@@ -16,14 +16,14 @@ Go: bool
Go = true
while ( Go ) {
_: parser<g> = Parser
- " hello friend
+ << " hello friend
Go = false
}
Go = true
while ( Go ) {
_: stream = stdout
- " hello friend
+ << " hello friend
Go = false
}
diff --git a/test/colm.d/stds1.lm b/test/colm.d/stds1.lm
index 64ba0f72..b1752b90 100644
--- a/test/colm.d/stds1.lm
+++ b/test/colm.d/stds1.lm
@@ -1,8 +1,8 @@
_: stream = stdout
-"hello
+<< "hello
-"hello
+<< "hello
##### EXP #####
hello