summaryrefslogtreecommitdiff
path: root/test/colm.d/sendstream.lm
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/colm.d/sendstream.lm
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/colm.d/sendstream.lm')
-rw-r--r--test/colm.d/sendstream.lm4
1 files changed, 2 insertions, 2 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
}