From 16e66a42ad716b73dda4318781aa93e83c636684 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sun, 6 Sep 2026 02:21:17 +0000 Subject: SCRIPTIOCONTINVA --- module-test/ast.cc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'module-test') diff --git a/module-test/ast.cc b/module-test/ast.cc index 1710f23..9d5b7b0 100644 --- a/module-test/ast.cc +++ b/module-test/ast.cc @@ -28,7 +28,7 @@ constexpr int MAXLINE = 1024; int main() { - int test_case = 6; + int test_case = 7; string s; switch (test_case) @@ -51,10 +51,19 @@ int main() case 5: s = "alpha || beta && (gamma || epsilon)"; break; + + // bracket matching test case 6: - // bracket matching test s = ")alpha && beta("; break; + + // basic scriptio continua + // syntax is wrong but just to test tokenizer + case 7: + s = "((alpha&|&&beta)||gamma&&&delta)"; + break; + + default: return 0; } -- cgit v1.3.1-4-g156e