]> git.draconx.ca Git - cdecl99.git/blobdiff - src/parse.y
libcdecl: Replace uintmax_t with unsigned (long) long.
[cdecl99.git] / src / parse.y
index 8abc21a7b0450c28aa223d62359ba9805dd944d3..80801c3b7d041c1e94952fa9b6123e23f221ff43 100644 (file)
@@ -32,7 +32,6 @@
 #include <stdbool.h>
 
 #include "scan.h"
-#include "cdecl.h"
 #include "cdecl-internal.h"
 #include "errmsg.h"
 
@@ -120,6 +119,7 @@ static size_t yytnamerr_copy(char *dst, const char *src)
 %code requires {
 #include <inttypes.h>
 #include <stdbool.h>
+#include "cdecl.h"
 }
 
 %code provides {
@@ -129,7 +129,7 @@ const char *cdecl__token_name(unsigned token);
 }
 
 %union {
-       uintmax_t uintval;
+       cdecl_uintmax uintval;
        unsigned spectype;
        bool boolval;
        struct cdecl_declspec *declspec;