3 # Copyright © 2011 Nick Bowler
5 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
6 # This is free software: you are free to do what the fuck you want to.
7 # There is NO WARRANTY, to the extent permitted by law.
10 /* This file was automatically generated by $0 $*. */
11 struct cdecl_declspec *s, *p;
22 printf '%s\n' "$line";
35 token=`printf '%s' "$1" | tr [:lower:] [:upper:] | tr -d _`
38 s = malloc_nofail(sizeof *s);
39 *s = (struct cdecl_declspec) {
40 .type = CDECL_TYPE_$token,
56 #define TOTAL_TYPES $i