X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/9cb5aae31e1c126970843ef9b6e54036b185fd51..4c819e9466a0573afae0f9787a4704a479517624:/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";