CORRELATIONS: Improve error messages and coding style.
[pspp] / tests / language / stats / ctables.at
index 5bc111787c9428b56d9b1ed60a9b5cf345159911..7aca64e3a9bfb73b179c94eb601f492a820f0e08 100644 (file)
@@ -262,8 +262,10 @@ and 100 for PTILE.
    11 | CTABLES /TABLE qn1 [PTILE 101].
       |                           ^~~
 
-ctables.sps:12: error: CTABLES: Output format F0.1 specifies width 0, but F
-requires a width between 1 and 40.
+ctables.sps:12.26-12.29: error: CTABLES: Output format F0.1 specifies width 0,
+but F requires a width between 1 and 40.
+   12 | CTABLES /TABLE qn1 [MEAN F0.1].
+      |                          ^~~~
 
 ctables.sps:13.26-13.36: error: CTABLES: Output format NEGPAREN requires width 2
 or greater.
@@ -411,17 +413,17 @@ ctables.sps:42.20: error: CTABLES: Syntax error expecting identifier.
    42 | CTABLES /PCOMPUTE &1.
       |                    ^
 
-ctables.sps:43.21-43.22: error: CTABLES: Syntax error expecting `='.
+ctables.sps:43.21-43.22: error: CTABLES: Syntax error expecting `=EXPR@{:@'.
    43 | CTABLES /PCOMPUTE &k**.
       |                     ^~
 
-ctables.sps:44.22-44.23: error: CTABLES: Syntax error expecting EXPR.
+ctables.sps:44.21-44.23: error: CTABLES: Syntax error expecting `=EXPR@{:@'.
    44 | CTABLES /PCOMPUTE &k=**.
-      |                      ^~
+      |                     ^~~
 
-ctables.sps:45.26-45.27: error: CTABLES: Syntax error expecting `@{:@'.
+ctables.sps:45.21-45.27: error: CTABLES: Syntax error expecting `=EXPR@{:@'.
    45 | CTABLES /PCOMPUTE &k=EXPR**.
-      |                          ^~
+      |                     ^~~~~~~
 
 ctables.sps:46.28: error: CTABLES: Syntax error expecting `@:}@'.
    46 | CTABLES /PCOMPUTE &k=EXPR(1x).