Got include ignores to work, comment ignores work

Not sure yet if include renames work just yet (need to test)

Comment signatures are currently hardcoded for C/C++.
This commit is contained in:
2023-03-25 22:44:36 -04:00
parent d0fad572bc
commit 87c939e2b6
5 changed files with 110 additions and 26 deletions

View File

@ -7,6 +7,7 @@ namespace Spec
enum Tok
{
Not,
Comment,
Include,
Namespace,
Word,
@ -21,6 +22,7 @@ namespace Spec
char const* tok_to_str[ Tok::Num_Tok ] =
{
"not",
"comments",
"include",
"namespace",
"word",
@ -36,6 +38,7 @@ namespace Spec
const u8 tok_to_len[ Tok::Num_Tok ] =
{
3,
8,
7,
9,
4,