DEFINE: Properly support redefining a macro.
[pspp] / tests / language / lexer / lexer.at
index d499f0922f7cd2e20cd35fc2fb9b579d7d2d98c5..c572e5fd864ad8ac042aaf0c983f3b3bd425e066 100644 (file)
@@ -46,7 +46,7 @@ u'110000'
 'foo
 'very long unterminated string that be ellipsized in its error message
 1e .x
-`
+^
 �
 ])
 AT_CHECK([pspp -O format=csv lexer.sps], [1], [dnl
@@ -68,11 +68,9 @@ lexer.sps:8.1-8.70: error: Syntax error at `'very long unterminated string that
 
 lexer.sps:9.1-9.2: error: Syntax error at `1e': Missing exponent following `1e'.
 
-lexer.sps:9.4: error: Syntax error at `.': Unexpected `.' in middle of command.
+lexer.sps:9.4: error: Syntax error at `.': expecting command name.
 
-lexer.sps:9: error: Unknown command `x'.
-
-lexer.sps:10.1: error: Syntax error at ``': Bad character ``' in input.
+lexer.sps:10.1: error: Syntax error at `^': Bad character `^' in input.
 
 lexer.sps:11.1: error: Syntax error at `�': Bad character U+FFFD in input.
 ])
@@ -89,8 +87,6 @@ lexer.sps:1: error: Unknown command `datA dist'.
 
 lexer.sps:2: error: LIST: LIST is allowed only after the active dataset has been defined.
 
-lexer.sps:2.5: error: LIST: Syntax error at `.': Unexpected `.' in middle of command.
-
 lexer.sps:2.6: error: LIST: Syntax error at `...': Bad character U+0000 in input.
 ])
 AT_CLEANUP