Use lex_error_expecting() in more places.
[pspp] / tests / language / control / loop.at
index 8f4d2b422568f8ac9312bc6f0c897fbaee4ce6a0..23ab6b5b1873cd556f25c7661b70696ae9a6a195 100644 (file)
@@ -369,6 +369,6 @@ loop.sps:36.10: error: LOOP: Syntax error expecting end of command.
    36 | END LOOP !.
       |          ^
 
-error: LOOP: At end of input: Syntax error.
+error: LOOP: At end of input: Syntax error expecting END LOOP.
 ])
 AT_CLEANUP
\ No newline at end of file