]> Nishi Git Mirror - gwion.git/commitdiff
:art: Check dot expression in parser
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 23 Sep 2020 21:51:58 +0000 (23:51 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 23 Sep 2020 21:51:58 +0000 (23:51 +0200)
.github/workflows/benchmarks.yml
ast
src/parse/scan1.c

index b0187b1df388040070b5cee1bb404730ca279438..9b90072ebf3cefa668ef1368b173190dca54bd34 100644 (file)
@@ -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 ab74f8faf9335b74d5bbad7513c20e0e5243cdc1..334e34c271a28a0d5b2dd07705e564b51ef44605 160000 (submodule)
--- a/ast
+++ b/ast
@@ -1 +1 @@
-Subproject commit ab74f8faf9335b74d5bbad7513c20e0e5243cdc1
+Subproject commit 334e34c271a28a0d5b2dd07705e564b51ef44605
index 094ae99e66c183b69a39c329de83130189129474..350c9239dcb9bf371eaf625dd486303e8b6c01bf 100644 (file)
@@ -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);
 }