]> Nishi Git Mirror - gwion.git/commitdiff
:art: Use spid is const
authorfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 9 Oct 2019 20:56:38 +0000 (22:56 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Wed, 9 Oct 2019 20:56:38 +0000 (22:56 +0200)
src/lib/import.c

index 756c2c459d079c78a369a8ac669f2a710034792c..78912a797b6de794cc20bca348ebdb828c5a40c1 100644 (file)
@@ -723,7 +723,7 @@ ANN void gwi_specialid(const Gwi gwi, const m_str id, const SpecialId spid) {
   a->ck = spid->ck;
   a->exec = spid->exec;
   a->em = spid->em;
-  a->const = spi->is_const;
+  a->is_const = spid->is_const;
   map_set(&gwi->gwion->data->id, (vtype)insert_symbol(gwi->gwion->st, id), (vtype)a);
   gwi_reserve(gwi, id);
 }