aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-07-26 13:47:17 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-07-26 13:47:17 +0200
commitcca906658aee1dcaa38787880c54fe304f9f2e94 (patch)
tree69fc4eb8f3a23db80192c15ff5023e9363600a95 /tests/testsuite.at
parent68364bd3637b6944fa1f63a00dae5caf375afab9 (diff)
`A` without arguments is now equivalent to `0A`
* It was equivalent to `1A` which is almost never what you want. I doubt that any existing macros would be broken by this. But neither do I replace all `0A` in the existing code base (yet). * `A` without arguments is a completely different "append" command in TECO-11, but it doesn't make sense in SciTECO and I don't see what else `A` could be repurposed for. It cannot be made an insertion command since it depends on the stack state which we don't track in parse-only mode. * Added test case.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 0bd68d3..074e973 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -259,6 +259,10 @@ TE_CHECK([[10^T]], 0, stdout, ignore)
TE_CHECK([[16,0ED @EB/stdout/ Z-1"N(0/0)' 0A-10"N(0/0)']], 0, ignore, ignore)
AT_CLEANUP
+AT_SETUP([Get character code])
+TE_CHECK([[@I/ABC/ 1J -A-^^A"N(0/0)' A-^^B"N(0/0)' 1A-^^C"N(0/0)']], 0, ignore, ignore)
+AT_CLEANUP
+
AT_SETUP([Convert between line and glyph positions])
TE_CHECK([[@I/1^J2^J3/J 2^QC :^Q-3"N(0/0)']], 0, ignore, ignore)
AT_CLEANUP