!for2 x=1 y=5.
])
AT_CHECK([pspp --testing-mode define.sps], [0], [dnl
-cannot use argument name or macro keyword as !DO variable
-cannot use argument name or macro keyword as !DO variable
+cannot use argument name or macro keyword !x as !DO variable
+cannot use argument name or macro keyword !noexpand as !DO variable
!DO 1 = 1 !TO 5 !var !DOEND.
!DO !noexpand = 1 !TO 5 !var !DOEND.
!ENDDEFINE.
DEBUG EXPAND.
-!macro 1.
+!macro x=1.
!macro2.
])
AT_CHECK([pspp --testing-mode define.sps -O format=csv], [0], [dnl
-cannot use argument name or macro keyword as !LET variable
-cannot use argument name or macro keyword as !LET variable
+cannot use argument name or macro keyword !x as !LET variable
+cannot use argument name or macro keyword !do as !LET variable
expected macro variable name following !DO
-!LET =
+!LET 1 = 1
!LET !do = x
])