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[...][...] = ...