comments
This commit is contained in:
11
src/table.c
11
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[...][...] = ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user