lexer: New function lex_force_int_range().
[pspp] / tests / language / data-io / data-list.at
index 8637ff7c6a348c4f4afa318109ee8e23e314c062..ee576ae474451670fde52863d16de6bc96951422 100644 (file)
@@ -410,7 +410,7 @@ EXECUTE.
 ])
 
 AT_CHECK([pspp -O format=csv data-list.sps], [1], [dnl
-data-list.sps:1: error: DATA LIST: The SKIP value must be non-negative.
+data-list.sps:1.41-1.42: error: DATA LIST: Syntax error at `-1': Expected non-negative integer for SKIP.
 
 data-list.sps:3: error: Stopping syntax file processing here to avoid a cascade of dependent command failures.
 ])
@@ -426,7 +426,7 @@ EXECUTE.
 ])
 
 AT_CHECK([pspp -O format=csv data-list.sps], [1], [dnl
-data-list.sps:1: error: DATA LIST: The RECORDS value must be non-negative.
+data-list.sps:1.44-1.45: error: DATA LIST: Syntax error at `-1': Expected non-negative integer for RECORDS.
 
 data-list.sps:3: error: Stopping syntax file processing here to avoid a cascade of dependent command failures.
 ])