summaryrefslogtreecommitdiff
path: root/tools/d2c/pproc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/d2c/pproc.h')
-rw-r--r--tools/d2c/pproc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/d2c/pproc.h b/tools/d2c/pproc.h
index a2812f8..4ccdf32 100644
--- a/tools/d2c/pproc.h
+++ b/tools/d2c/pproc.h
@@ -25,6 +25,7 @@
#define _TOOLS_D2C_PPROC_H
+#include <stdbool.h>
#include <sys/types.h>
@@ -65,6 +66,12 @@ void define_macro(pre_processor *, const char *, const char *);
/* Recherche l'existence d'une macro pour un remplacement. */
const char *find_macro(const pre_processor *, const char *);
+/* Mémorise une fonction comme produisant un opérateur final. */
+void register_as_operand_producer(pre_processor *, const char *);
+
+/* Détermine si une fonction produit un opérande ou non. */
+bool is_operand_producer(const pre_processor *, const char *);
+
#endif /* _TOOLS_D2C_PPROC_H */