From 5bcbdf7308a9ab215176e3dd712b399c783fd96e Mon Sep 17 00:00:00 2001 From: James Jones Date: Sun, 14 Aug 2022 22:54:18 -0700 Subject: [PATCH] Fix ccdef ccdef was broken by the following commit: commit 7d748dc6e2259984c9093c48d84ae1ed280632ad Author: ggn Date: Thu Mar 24 13:28:09 2022 +0200 Fix for #159: Split register sets according to architecture into different tables so they don't clash with label/symbol names. Modified tokeniser to use different tables when scanning for registers This change fixes it by moving the ccdef and .ccdef tokens from the unary table to the keyword table. --- kw.tab | 2 ++ unary.tab | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kw.tab b/kw.tab index 6e87cf6..9c3a836 100644 --- a/kw.tab +++ b/kw.tab @@ -4,6 +4,8 @@ equ 61 reg 82 .equr 85 equr 85 +.ccdef 183 +ccdef 183 .regequ 85 regequ 85 .equrundef 50 diff --git a/unary.tab b/unary.tab index b81a50c..9041fab 100644 --- a/unary.tab +++ b/unary.tab @@ -1,5 +1,3 @@ -.ccdef 183 -ccdef 183 defined 112 referenced 113