From 7edbd99775416a32c88acf8e9379518436905f02 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 21 Nov 2020 15:19:45 +0100 Subject: Support gcc 10 and clang 11 --- asm/parse.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'asm/parse.cpp') diff --git a/asm/parse.cpp b/asm/parse.cpp index 8f6f831..28e79f3 100644 --- a/asm/parse.cpp +++ b/asm/parse.cpp @@ -20,6 +20,13 @@ namespace { "dl", "dh", }; + std::unordered_set reg16 { + "ax", "sp", + "bx", "bp", + "cx", "si", + "dx", "di", + }; + std::unordered_set reg32 { "eax", "esp", "ebx", "ebp", -- cgit v1.2.3