From: Jérémie Astor Date: Sat, 9 May 2020 20:55:23 +0000 (+0200) Subject: :art: Change enum name place X-Git-Tag: nightly~1601 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c3e078bba131bdd041b16e48cf4820d7391d34f0;p=gwion.git :art: Change enum name place --- diff --git a/ast b/ast index b631a0ec..9d0aeac5 160000 --- a/ast +++ b/ast @@ -1 +1 @@ -Subproject commit b631a0ecbc6687ff9b38ad417f0f250f68fdb17f +Subproject commit 9d0aeac53100a9d62a368cd7ed418c5f21487e16 diff --git a/tests/error/enum_declared.gw b/tests/error/enum_declared.gw index 9cb712f9..45251c5b 100644 --- a/tests/error/enum_declared.gw +++ b/tests/error/enum_declared.gw @@ -1,6 +1,6 @@ #! [contains] already been defined int i; -enum +enum i { test -} i; +} diff --git a/tests/tree/named_enum.gw b/tests/tree/named_enum.gw new file mode 100644 index 00000000..fae589fa --- /dev/null +++ b/tests/tree/named_enum.gw @@ -0,0 +1,3 @@ +enum MyEnum { + a,b,c +}