ast2firm: Implement casting from complex to real types.
[cparser] / format_check.h
index f7bc0a5..6693082 100644 (file)
@@ -1,8 +1,18 @@
+/*
+ * This file is part of cparser.
+ * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
+ */
 #ifndef FORMAT_CHECK_H
 #define FORMAT_CHECK_H
 
 #include "ast.h"
 
+typedef enum {
+       FORMAT_PRINTF,   /**< printf style format */
+       FORMAT_SCANF,    /**< scanf style format */
+       FORMAT_STRFTIME, /**< strftime time format */
+       FORMAT_STRFMON   /**< strfmon monetary format */
+} format_kind_t;
 
 void check_format(const call_expression_t *call);