Browse code

(asma) Disable recursion tests that no longer function.

Andrew Alderwick authored on 02/01/2023 15:07:34
Showing 2 changed files
... ...
@@ -86,14 +86,14 @@ expect_failure 'Memory overwrite: SUB' <<'EOD'
86 86
 |2000 ADD
87 87
 |1000 SUB
88 88
 EOD
89
-expect_failure 'Recursion level too deep:' <<'EOD'
90
-%me { you }
91
-%you { me }
92
-|1000 me
93
-EOD
94
-expect_failure 'Recursion level too deep: ~asma-test/in.tal' <<'EOD'
95
-~asma-test/in.tal
96
-EOD
89
+# expect_failure 'Recursion level too deep:' <<'EOD'
90
+# %me { you }
91
+# %you { me }
92
+# |1000 me
93
+# EOD
94
+# expect_failure 'Recursion level too deep: ~asma-test/in.tal' <<'EOD'
95
+# ~asma-test/in.tal
96
+# EOD
97 97
 expect_failure 'Label not found: ;blah' <<'EOD'
98 98
 |1000 ;blah
99 99
 EOD
... ...
@@ -833,7 +833,6 @@
833 833
 	( hex short   ) ,asma-short-helper/raw JMP
834 834
 
835 835
 	&not-hex
836
-	.System/rst DEI #e0 GTH ,&too-deep JCN
837 836
 	;asma-trees/macros ;asma-traverse-tree JSR2 ,&not-macro JCN
838 837
 
839 838
 	&macro-loop
... ...
@@ -855,12 +854,7 @@
855 854
 	;asma-msg-token ;asma/error STA2
856 855
 	JMP2r
857 856
 
858
-	&too-deep
859
-	;asma-msg-too-deep ;asma/error STA2
860
-	JMP2r
861
-
862 857
 @asma-include
863
-	.System/rst DEI #e0 GTH ,asma-normal-body/too-deep JCN
864 858
 	;heap LDA2
865 859
 		;asma/token LDA2 ;append-heap-string JSR2
866 860
 		;asma-assemble-file-pass JSR2
... ...
@@ -876,7 +870,6 @@
876 870
 @asma-msg-token     "Unrecognised 20 "token 00
877 871
 @asma-msg-macro     "Macro 20 "already 20 "exists 00
878 872
 @asma-msg-rewound   "Memory 20 "overwrite 00
879
-@asma-msg-too-deep  "Recursion 20 "level 20 "too 20 "deep 00
880 873
 @asma-msg-redefined "Label 20 "redefined 00
881 874
 
882 875
 ( trees )