diff options
author | Adrian Thurston <thurston@colm.net> | 2019-12-28 15:32:53 +0200 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2019-12-28 15:32:53 +0200 |
commit | a1028d7f79c71a1e52ae11071b69adaec593cbdb (patch) | |
tree | 684fd7114a7bd67df1140c15a0accbfbe66bc624 /colm/keyops.h | |
parent | f2bbad18a77fc52ba64d6bf4a14338fec8061d1f (diff) | |
download | colm-literal-concatenation.tar.gz |
colm: testing a new grammar where string concatenations are allowedliteral-concatenation
This commit brings back string concatenations in match/cons/string literals at
the top level. It does not bring back concatenation of [] lists. For example,
you can write:
match Foo
"hi
"there
BUT NOT:
match Foo
[Hi] [There]
The concatenation (of both forms) was removed when bare sends were added, due
to the ambiguity created. However, removing these concatenations has proven
quite annoying.
This change re-introduces the ambiguity, which maybe we should do something
about by detecting when it is likely via mis-alignments of the strings, or
making some other change to sends.
refs #95
Diffstat (limited to 'colm/keyops.h')
0 files changed, 0 insertions, 0 deletions