aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.nim
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-01-29 20:51:35 +1100
committerNeil <nyamatongwe@gmail.com>2021-01-29 20:51:35 +1100
commitecc3545ef863ad43c54a53b7ba0082d45f037bec (patch)
treea5f5cbc6c3516585b45445ed5dcd8d7b980e1cfa /test/examples/x.nim
parent54341053b273c905afa7503d8dadcc4c46a0d2d3 (diff)
downloadscintilla-mirror-ecc3545ef863ad43c54a53b7ba0082d45f037bec.tar.gz
Remove lexer tests from Scintilla
Diffstat (limited to 'test/examples/x.nim')
-rw-r--r--test/examples/x.nim28
1 files changed, 0 insertions, 28 deletions
diff --git a/test/examples/x.nim b/test/examples/x.nim
deleted file mode 100644
index 874940d47..000000000
--- a/test/examples/x.nim
+++ /dev/null
@@ -1,28 +0,0 @@
-# Tests for Nim
-let s = "foobar"
-
-# Feature #1260
-{.ident.}
-stdin.readLine.split.map(parseInt).max.`$`.echo(" is the maximum!")
-
-# Feature #1261
-# IsFuncName("proc") so style ticks as SCE_NIM_FUNCNAME:
-proc `$` (x: myDataType): string = ...
-# Style ticks as SCE_NIM_BACKTICKS:
-if `==`( `+`(3,4),7): echo "True"
-
-# Feature #1262
-# Standard raw string identifier:
-let standardDoubleLitRawStr = R"A raw string\"
-let standardTripleLitRawStr = R"""A triple-double raw string\""""
-# Style of 'customIdent' is determined by lexer.nim.raw.strings.highlight.ident. 16 if false, 6 or 10 if true
-let customDoubleLitRawStr = customIdent"A string\"
-let customTripleLitRawStr = customIdent"""A triple-double raw string\""""
-
-# Feature #1268
-10_000
-10__000
-10_
-1....5
-1.ident
-1._ident