ast2firm: Implement casting from complex to real types.
[cparser] / preprocessor.c
index aab016d..9fbf392 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * This file is part of cparser.
+ * Copyright (C) 2012 Matthias Braun <matze@braunis.de>
+ */
 #include <config.h>
 
 #include <assert.h>
@@ -1969,7 +1973,7 @@ static const char *parse_headername(bool *system_include)
                return NULL;
        }
 
-       /* check wether we have a "... or <... headername */
+       /* check whether we have a "... or <... headername */
        position_t pos = input.pos;
        switch (input.c) {
        {
@@ -2227,7 +2231,7 @@ static void parse_ifdef_ifndef_directive(bool const is_ifdef)
                /* just take the true case in the hope to avoid further errors */
                condition = true;
        } else {
-               /* evaluate wether we are in true or false case */
+               /* evaluate whether we are in true or false case */
                condition = (bool)pp_token.base.symbol->pp_definition == is_ifdef;
                eat_token(T_IDENTIFIER);
 
@@ -2669,7 +2673,7 @@ static void append_env_paths(searchpath_t *paths, const char *envvar)
                        /* skip : */
                        if (*begin == ':')
                                ++begin;
-               } while(*c != '\0');
+               } while (*c != '\0');
        }
 }