From e7279994e11b1e8f1598407766bfb60a64cb591d Mon Sep 17 00:00:00 2001 From: anon Date: Fri, 6 Dec 2024 21:28:46 +0100 Subject: [PATCH] remove static prototype table --- source/generator.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/source/generator.c b/source/generator.c index 446f3b7..ae41518 100644 --- a/source/generator.c +++ b/source/generator.c @@ -1,24 +1,6 @@ // @BAKE gcc -o $*.out $@ -ggdb #include -/* -#define ALPHABET_SIZE 4 -#define N_STATES 3 -#define AS_SYMBOL(c) (c-'a') - -enum { - NO_MATCH = 100, - AAB_MATCH, - AAC_MATCH, -}; - -char table[N_STATES][ALPHABET_SIZE] = { - [0] = {1, NO_MATCH, NO_MATCH, NO_MATCH}, - [1] = {2, NO_MATCH, NO_MATCH, NO_MATCH}, - [2] = {NO_MATCH, AAB_MATCH, AAC_MATCH, NO_MATCH}, -}; -*/ - int had_seperation = 1; #include "generated.h"