Added (some of the) calculations for the examine command.
[pspp] / src / lexer.h
index cf7451582106aa3ef066d0bf4db216e637b4c3e6..1561d79319c15ddcd7dc12d8a391ac1de34f3ecd 100644 (file)
@@ -65,7 +65,7 @@ enum
 
     T_FIRST_KEYWORD = T_AND,
     T_LAST_KEYWORD = T_WITH,
-    T_N_KEYWORDS = T_LAST_KEYWORD - T_FIRST_KEYWORD + 1,
+    T_N_KEYWORDS = T_LAST_KEYWORD - T_FIRST_KEYWORD + 1
   };
 
 
@@ -111,11 +111,11 @@ int lex_id_match (const char *keyword_string, const char *token_string);
 /* Weird token functions. */
 int lex_look_ahead (void);
 void lex_put_back (int);
-void lex_put_forward (int);
+void lex_put_back_id (const char *tokid);
 
 /* Weird line processing functions. */
-char *lex_entire_line (void);
-char *lex_rest_of_line (int *had_dot);
+const char *lex_entire_line (void);
+const char *lex_rest_of_line (int *end_dot);
 void lex_discard_line (void);
 void lex_set_prog (char *p);