DEFINE: Improve error messages for parsing macro body.
[pspp] / tests / language / control / define.at
index e528509b1e8bfe344aa0dc9a4ff6f933faa39ec4..b3896b1aca4bc4027d1a1d82aa1ab4c61347989e 100644 (file)
@@ -1790,8 +1790,10 @@ x'123'
 !ENDDEFINE.
 ])
 AT_CHECK([pspp define.sps], [1], [dnl
-define.sps:3: error: DEFINE: String of hex digits has 3 characters, which is
-not a multiple of 2.
+define.sps:2.1-2.6: error: DEFINE: String of hex digits has 3 characters, which
+is not a multiple of 2.
+    2 | x'123'
+      | ^~~~~~
 ])
 AT_CLEANUP