tons of progress on macros
[pspp] / src / language / lexer / macro.h
index 23ae1d9a1869e4f618f62ce0a80874ae666dfa3c..ac5cb65579a399570db80af3d779b75c8c825130 100644 (file)
@@ -36,6 +36,10 @@ struct macro_token
 void macro_token_copy (struct macro_token *, const struct macro_token *);
 void macro_token_uninit (struct macro_token *);
 
+void macro_token_to_representation (struct macro_token *, struct string *);
+
+bool is_macro_keyword (struct substring);
+
 struct macro_tokens
   {
     struct macro_token *mts;
@@ -51,6 +55,8 @@ void macro_tokens_add (struct macro_tokens *, const struct macro_token *);
 void macro_tokens_from_string (struct macro_tokens *, const struct substring,
                                enum segmenter_mode);
 
+void macro_tokens_to_representation (struct macro_tokens *, struct string *);
+
 void macro_tokens_print (const struct macro_tokens *, FILE *);
 
 struct macro_param