Encapsulated lexer and updated calling functions accordingly.
[pspp-builds.git] / src / language / utilities / date.c
index 7529f9776d112ffddfd816618be1169f6b5bf530..254421350a5a9338121975239762d8b67e123357 100644 (file)
 
 /* Stub for USE command. */
 int
-cmd_use (struct dataset *ds UNUSED) 
+cmd_use (struct lexer *lexer, struct dataset *ds UNUSED) 
 {
-  if (lex_match (T_ALL))
-    return lex_end_of_command ();
+  if (lex_match (lexer, T_ALL))
+    return lex_end_of_command (lexer);
 
   msg (SW, _("Only USE ALL is currently implemented."));
   return CMD_FAILURE;