verilog: fix const func eval with upto variables
[yosys.git] / frontends / ast / ast.h
index 48ec9a0630e355504ecbbdbfed982ff1bd53da48..80497c131dc613779b61f7f7b8229974c384f35e 100644 (file)
@@ -268,6 +268,7 @@ namespace AST
                struct varinfo_t {
                        RTLIL::Const val;
                        int offset;
+                       bool range_swapped;
                        bool is_signed;
                        AstNode *arg = nullptr;
                        bool explicitly_sized;