X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/3a3760ad26782403f6686183be3faa8b22cf849b..db974c0a690f2044dcbc06446333837c3c3e1cec:/src/gen-specstr.awk diff --git a/src/gen-specstr.awk b/src/gen-specstr.awk index c9148f8..0bc8278 100755 --- a/src/gen-specstr.awk +++ b/src/gen-specstr.awk @@ -1,6 +1,6 @@ #!/bin/awk -f # -# Copyright © 2021, 2023 Nick Bowler +# Copyright © 2021, 2023-2024 Nick Bowler # # Generate a function to return the C keyword corresponding to a specifier # type as a string, for internal use by the output routines. @@ -82,7 +82,7 @@ END { print "static const char *spec_string(unsigned type)" print "{" - print "\tstatic const uint_least8_t idx[] = {"; + print "\tstatic const unsigned char _Alignas(1) idx[] = {"; print "\t\t" offset_table; print "\t};\n";