+
+## Error tests
+
+Now to test for some errors ... though things I thought would be errors
+sometimes aren't.
+
+###### test list
+ scanner_tests += "errtest,--ignore-ident,--ignore-mark,-W_,-w_,if,then,+,-"
+ scanner_tests += "errtest,--ignore-ident,--ignore-mark,-N,if,then,+,-"
+
+###### test: errtest
+
+ multiple decimal pointer 3.141.59
+ "Check for decimal commas" 3,14159 = 3,141,59
+ """A multi-string must not have text here
+ """
+ "or after close" + """
+ no text ..
+ """ here
+
+ /* No embedded /* comments */ in comments */
+ /* or content after
+ * a multiline comment */ Error
+
+ " \\ \t \n special chars in strings"
+
+###### output: errtest,--ignore-ident,--ignore-mark,-W_,-w_,if,then,+,-
+
+ Tokenizing:
+ 2:0 ERROR(multiple)
+ 2:9 ERROR(decimal)
+ 2:17 ERROR(pointer)
+ 2:25 number(3.141) 3141/1000
+ 2:30 ERROR(.)
+ 2:31 number(59) 59
+ 3:0 newline()
+ 3:0 string("Check for decimal..) Check for decimal ..
+ 3:27 number(3,14159) 314159/100000
+ 3:35 ERROR(=)
+ 3:37 number(3,141) 3141/1000
+ 3:42 ERROR(,)
+ 3:43 number(59) 59
+ 4:0 newline()
+ 4:0 string("")
+ 4:2 ERROR("A multi-string mu..)
+ 5:0 newline()
+ 5:0 ERROR("""\x0a"or after clos..)
+ 8:12 ERROR(here)
+ 10:0 newline()
+ 10:0 newline()
+ 10:0 ERROR(/* No embedded /*)
+ 10:15 bcomment(/* comments */)
+ 10:30 ERROR(in)
+ 10:33 ERROR(comments)
+ 10:42 ERROR(*/)
+ 11:0 newline()
+ 11:0 ERROR(/* or content afte..)
+ 12:26 ERROR(Error)
+ 14:0 newline()
+ 14:0 newline()
+ 14:0 string(" \\\\ \\t \\n specia..) \\ \x09 \x0a special ch..
+ 15:0 newline()
+ 15:0 eof()
+
+###### output: errtest,--ignore-ident,--ignore-mark,-N,if,then,+,-
+ Tokenizing:
+ 2:0 ERROR(multiple)
+ 2:9 ERROR(decimal)
+ 2:17 ERROR(pointer)
+ 2:25 ERROR(3)
+ 2:26 ERROR(.)
+ 2:27 ERROR(1)
+ 2:28 ERROR(4)
+ 2:29 ERROR(1)
+ 2:30 ERROR(.)
+ 2:31 ERROR(5)
+ 2:32 ERROR(9)
+ 3:0 newline()
+ 3:0 string("Check for decimal..) Check for decimal ..
+ 3:27 ERROR(3)
+ 3:28 ERROR(,)
+ 3:29 ERROR(1)
+ 3:30 ERROR(4)
+ 3:31 ERROR(1)
+ 3:32 ERROR(5)
+ 3:33 ERROR(9)
+ 3:35 ERROR(=)
+ 3:37 ERROR(3)
+ 3:38 ERROR(,)
+ 3:39 ERROR(1)
+ 3:40 ERROR(4)
+ 3:41 ERROR(1)
+ 3:42 ERROR(,)
+ 3:43 ERROR(5)
+ 3:44 ERROR(9)
+ 4:0 newline()
+ 4:0 string("")
+ 4:2 ERROR("A multi-string mu..)
+ 5:0 newline()
+ 5:0 ERROR("""\x0a"or after clos..)
+ 8:12 ERROR(here)
+ 10:0 newline()
+ 10:0 newline()
+ 10:0 ERROR(/* No embedded /*)
+ 10:15 bcomment(/* comments */)
+ 10:30 ERROR(in)
+ 10:33 ERROR(comments)
+ 10:42 ERROR(*/)
+ 11:0 newline()
+ 11:0 ERROR(/* or content afte..)
+ 12:26 ERROR(Error)
+ 14:0 newline()
+ 14:0 newline()
+ 14:0 string(" \\\\ \\t \\n specia..) \\ \x09 \x0a special ch..
+ 15:0 newline()
+ 15:0 eof()