From 193f68d5cff5d6d7bbc351b07757d6679ba551ca Mon Sep 17 00:00:00 2001 From: Fredrik Robertsen Date: Thu, 29 Jan 2026 16:55:21 +0100 Subject: [PATCH] comments --- src/table.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/table.c b/src/table.c index 56132c7..453fb9b 100644 --- a/src/table.c +++ b/src/table.c @@ -59,6 +59,17 @@ void fillTable() { table[START]['g'] = 1; table[START]['d'] = 1; + table[START]['/'] = 8; + table[2]['/'] = 8; + table[5]['/'] = 8; + table[7]['/'] = 8; + + table[8]['/'] = 9; + for (int c = 0; c < 256; c++) { + table[9][c] = 9; + } + table[9]['\n'] = ACCEPT; + // TODO Expand the table to pass (and fail) the described syntax // table[...][...] = ...