/* Filename: table.h * Transition Table and function declarations necessary for the scanner implementation * as required for CST8152 - Assignment #2. * Author: Victor Fernandes, 040772243 * Version: 1.17.1 * Date: 30 January 2017 * Provided by: Svillen Ranev * The file is incomplete. You are to complete it. *************************************************** * REPLACE THIS HEADER WITH YOUR HEADER *************************************************** */ #ifndef TABLE_H_ #define TABLE_H_ #ifndef BUFFER_H_ #include "buffer.h" #endif #ifndef TOKEN_H_ #include "token.h" #endif #ifndef NULL #include <_null.h> /* NULL pointer constant is defined there */ #endif /* Source end-of-file (SEOF) sentinel symbol * '\0' or only one of the folowing constants: 255, 0xFF , EOF */ /* Single-lexeme tokens processed separately one by one * in the token-driven part of the scanner * '=' , ' ' , '(' , ')' , '{' , '}' , == , <> , '>' , '<' , * space * !