diff options
author | Jak Wings <jakwings@gmail.com> | 2016-04-08 18:20:21 +0800 |
---|---|---|
committer | Kurtis Rader <krader@skepticism.us> | 2016-04-08 21:05:46 -0700 |
commit | 2d5eaed745892a5e035caf7ccc02d27044f344fb (patch) | |
tree | 4f11fad111dc8744093af5a18faa2472acf4866e /tests/line-continuation.in | |
parent | 6adc35c63622888ddfa876c488ca41910f8efe13 (diff) |
fix handling of line continuation in keywords
This behavior is more consistent with line continuation in strings other
than keywords.
Fixes #2897
Diffstat (limited to 'tests/line-continuation.in')
-rw-r--r-- | tests/line-continuation.in | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/line-continuation.in b/tests/line-continuation.in new file mode 100644 index 00000000..a1ac9293 --- /dev/null +++ b/tests/line-continuation.in @@ -0,0 +1,25 @@ +ech\ +o echo + +buil\ +tin echo builtin echo + +true; an\ +d echo true + +\i\ +\U00000066\ + true + echo if true +\ +\145n\ +d\ +; + +'if'\ + true + echo if true +"\ +en\ +d\ +"; |