add declaration with function support
This commit is contained in:
@@ -16,6 +16,7 @@ int yywrap(void * unused_param) {
|
||||
%%
|
||||
|
||||
"." { return TOKEN_DOT; }
|
||||
"!" { return TOKEN_EXCLAMATION; }
|
||||
"," { return TOKEN_COMMA; }
|
||||
":" { return TOKEN_COLON; }
|
||||
|
||||
|
||||
@@ -71,6 +71,7 @@ typedef enum {
|
||||
TOKEN_DOT,
|
||||
TOKEN_COMMA,
|
||||
TOKEN_COLON,
|
||||
TOKEN_EXCLAMATION,
|
||||
} TokenType;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user