]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Emit constants without initializer list in defines section
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 7 Nov 2021 15:31:47 +0000 (16:31 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 11 Nov 2021 14:54:18 +0000 (15:54 +0100)
commit765316595e115614cc814fa3a7d41d4b4741111e
tree1d2f2ed7f9562424d9ad9e982e3ed703d6542cc1
parenta68d35d32004818447e3dc70f8fee77f67cf9f75
codegen: Emit constants without initializer list in defines section

Fixes https://gitlab.gnome.org/GNOME/vala/issues/440
24 files changed:
codegen/valaccodebasemodule.vala
tests/Makefile.am
tests/arrays/fixed-length-init0-not-allowed.c-expected
tests/basic-types/arrays.c-expected
tests/basic-types/bug648364.c-expected
tests/basic-types/bug756376.c-expected
tests/basic-types/sizeof.c-expected
tests/constants/strings.c-expected
tests/control-flow/switch-string.c-expected
tests/enums/enums.c-expected
tests/genie/constant.c-expected
tests/methods/bug642350.c-expected
tests/ordering/constant-class.c-expected [new file with mode: 0644]
tests/ordering/constant-class.vala [new file with mode: 0644]
tests/ordering/constant-constant.c-expected [new file with mode: 0644]
tests/ordering/constant-constant.vala [new file with mode: 0644]
tests/ordering/constant-enum.c-expected [new file with mode: 0644]
tests/ordering/constant-enum.vala [new file with mode: 0644]
tests/ordering/constant-field.c-expected [new file with mode: 0644]
tests/ordering/constant-field.vala [new file with mode: 0644]
tests/ordering/constant-struct.c-expected [new file with mode: 0644]
tests/ordering/constant-struct.vala [new file with mode: 0644]
tests/posix/arrays.c-expected
tests/semantic/member-access-static-with-instance.c-expected