From: Jérémie Astor Date: Wed, 23 Sep 2020 21:51:58 +0000 (+0200) Subject: :art: Check dot expression in parser X-Git-Tag: nightly~1267 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=f1d621771a12779d8e22ba67dcf7415b518123f1;p=gwion.git :art: Check dot expression in parser --- diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index b0187b1d..9b90072e 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: call the other repo if: github.ref == 'refs/heads/master' diff --git a/ast b/ast index ab74f8fa..334e34c2 160000 --- a/ast +++ b/ast @@ -1 +1 @@ -Subproject commit ab74f8faf9335b74d5bbad7513c20e0e5243cdc1 +Subproject commit 334e34c271a28a0d5b2dd07705e564b51ef44605 diff --git a/src/parse/scan1.c b/src/parse/scan1.c index 094ae99e..350c9239 100644 --- a/src/parse/scan1.c +++ b/src/parse/scan1.c @@ -235,9 +235,6 @@ ANN static m_bool scan1_exp_call(const Env env, const Exp_Call* exp_call) { } ANN static inline m_bool scan1_exp_dot(const Env env, const Exp_Dot* member) { - if(member->base->next) - ERR_B(member->base->pos, _("can't use multiple expression" - " in dot member base expression")) return scan1_exp(env, member->base); }