summaryrefslogtreecommitdiff
path: root/colm/keyops.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-12-28 15:32:53 +0200
committerAdrian Thurston <thurston@colm.net>2019-12-28 15:32:53 +0200
commita1028d7f79c71a1e52ae11071b69adaec593cbdb (patch)
tree684fd7114a7bd67df1140c15a0accbfbe66bc624 /colm/keyops.h
parentf2bbad18a77fc52ba64d6bf4a14338fec8061d1f (diff)
downloadcolm-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