fix string lexer
[pspp] / src / language / lexer / lexer.c
index 1148cc29e0856752d071b784207944c5d95fa536..8711470fb0687314f43f4ce8377cec571678edbc 100644 (file)
@@ -1008,7 +1008,7 @@ lex_match_phrase (struct lexer *lexer, const char *s)
   int i;
 
   i = 0;
-  string_lexer_init (&slex, s, strlen (s), SEG_MODE_INTERACTIVE);
+  string_lexer_init (&slex, s, strlen (s), SEG_MODE_INTERACTIVE, true);
   while (string_lexer_next (&slex, &token))
     if (token.type != SCAN_SKIP)
       {