From 2f93579bd1d4d81b0ee3d327e604c0c4773759a7 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 30 Aug 2020 13:15:06 +0200 Subject: [PATCH] Do not check for 1 and 0 only --- frontends/verific/verific.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index 0bac2b57c..c974c3faa 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -203,12 +203,6 @@ void VerificImporter::import_attributes(dict &att auto p = v; if (p) { if (*p != '"') { - auto *q = p; - for (; *q != '\0'; q++) - if (*q != '0' && *q != '1') { - p = nullptr; - break; - } if (p != nullptr) attributes.emplace(stringf("\\enum_value_%s", p), RTLIL::escape_id(k)); } else {