diff options
author | Adrian Thurston <thurston@colm.net> | 2020-06-28 11:31:56 +0300 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-07-18 10:39:35 +0300 |
commit | c9ff691c82b565224be74bc89767cf9e61c0a960 (patch) | |
tree | 660fa0cb7c7c1f26293f2d286bf03eb2efd791fa /test/colm.d | |
parent | e9d02062b2e588ca22efcd68e8bf1586c0b88a31 (diff) | |
download | colm-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')
-rw-r--r-- | test/colm.d/sendstream.lm | 4 | ||||
-rw-r--r-- | test/colm.d/stds1.lm | 4 |
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 |