aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/lexer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/asm/lexer.cpp b/asm/lexer.cpp
index ec80e19..c0ea978 100644
--- a/asm/lexer.cpp
+++ b/asm/lexer.cpp
@@ -16,6 +16,8 @@
#include "./lexer.hpp"
+static_assert(NUMBER_OF_OPCODES == 98, "ERROR: Lexer is out of date");
+
using std::string, std::string_view, std::pair, std::make_pair;
constexpr auto VALID_SYMBOL = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUV"