From: Doug Kearns Date: Fri, 21 Nov 2025 18:22:37 +0000 (+0000) Subject: runtime(haskell): Add syntax test X-Git-Tag: v9.1.1925~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea14bb7df9313529981e0584cb199f0274a2cdea;p=thirdparty%2Fvim.git runtime(haskell): Add syntax test Add a test for issue #18776 (allow spaces in backticked operators). closes: #18783 Signed-off-by: Doug Kearns Signed-off-by: Christian Brabandt --- diff --git a/runtime/syntax/testdir/dumps/haskell_00.dump b/runtime/syntax/testdir/dumps/haskell_00.dump new file mode 100644 index 0000000000..133f52f506 --- /dev/null +++ b/runtime/syntax/testdir/dumps/haskell_00.dump @@ -0,0 +1,20 @@ +>-+0#0000e05#ffffff0@1| |I|s@1|u|e| |#|1|8|7@1|6| |(|a|l@1|o|w| |s|p|a|c|e|s| |i|n| |b|a|c|k|t|i|c|k|e|d| |o|p|e|r|a|t|o|r|s|)| +0#0000000&@20 +@75 +|m|a|i|n| |=+0#af5f00255&| +0#0000000&|p|r|i|n|t| |(|9+0#e000002&| +0#0000000&|`+0#af5f00255&| |d|i|v| |`| +0#0000000&|4+0#e000002&|)+0#0000000&| @48 +@75 +|~+0#4040ff13&| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +|~| @73 +| +0#0000000&@56|1|,|1| @10|A|l@1| diff --git a/runtime/syntax/testdir/input/haskell.hs b/runtime/syntax/testdir/input/haskell.hs new file mode 100644 index 0000000000..c8607920e1 --- /dev/null +++ b/runtime/syntax/testdir/input/haskell.hs @@ -0,0 +1,4 @@ +-- Issue #18776 (allow spaces in backticked operators) + +main = print (9 ` div ` 4) +