feat(lexer): matching more things
This commit is contained in:
parent
f003e3555b
commit
f6e034097d
4 changed files with 111 additions and 29 deletions
|
|
@ -14,11 +14,16 @@ typedef enum mrk_lexer_err {
|
|||
} mrk_lexer_err;
|
||||
|
||||
typedef enum mrk_token_type {
|
||||
mrk_token_type_header = 0,
|
||||
mrk_token_type_pounds = 0,
|
||||
mrk_token_type_backticks,
|
||||
mrk_token_type_dashes,
|
||||
mrk_token_type_underscores,
|
||||
mrk_token_type_stars,
|
||||
mrk_token_type_blank_line,
|
||||
mrk_token_type_star_star,
|
||||
mrk_token_type_space_space,
|
||||
mrk_token_type_space,
|
||||
mrk_token_type_line_break,
|
||||
mrk_token_type_right_angle_bracket,
|
||||
mrk_token_type_tab,
|
||||
} mrk_token_type;
|
||||
|
||||
typedef struct mrk_token {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue