]> ocean-lang.org Git - ocean/blobdiff - csrc/oceani-tests.mdc
oceani: add more syntax error handling.
[ocean] / csrc / oceani-tests.mdc
index 40489bffd41dd17f74a6428ba9826614e4e7fb53..a10d0271fab3291f8251de230891ad1c3312b07e 100644 (file)
@@ -595,8 +595,7 @@ separate file first, then run from there.
                if then else while do
 
 ###### output: syn1
-       .tmp.code:3:11: error: unhandled parse error: then
-       oceani: no program found.
+       .tmp.code:3:11: Syntax error in statement: then
 
 ###### test: tokerr
        program:
@@ -795,8 +794,8 @@ various places that `type_err()` are called.
                print foo, bar
 
 ###### output: type_err_const1
-       .tmp.code:3:12: error: unhandled parse error: :
-       oceani: no program found.
+       .tmp.code:3:12: Syntax error in constant: :
+       .tmp.code:4:8: Syntax error in constant: bar
 
 ## Test erroneous command line args