diff options
author | Adrian Thurston <thurston@colm.net> | 2020-01-09 12:25:46 +0200 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-01-09 12:30:08 +0200 |
commit | 59b0581d54d8518488de49cd685aeb7aac30dc6b (patch) | |
tree | baa0e7c6625de52549c9394a433dd9513d831e10 /colm/pdarun.c | |
parent | f450375f87b7d7c26cd47ee5b9ed0567c068b1c2 (diff) | |
download | colm-59b0581d54d8518488de49cd685aeb7aac30dc6b.tar.gz |
colm: added outdent check on literal concatenations
The colm language has an ambiguity between literal concatenations and distinct
statements, where the first ends in string/accum/cons/pat and the second is a
bare send. For example:
match P
"a b c d"
"e f g h"
Warn on some of these by checking for an outdent (relative to the first
component) on top level concatenations. If the user does not outdent between
separate intended statements we cannot help with this check.
refs #95
Diffstat (limited to 'colm/pdarun.c')
0 files changed, 0 insertions, 0 deletions