diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-08 23:58:56 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-08 23:58:56 +0800 |
commit | b082aab8d49e3b5a2e1eeee97fd9330f782b7381 (patch) | |
tree | 5eb644019f9b1eca222258453bcc54ff266e40fe /src/parse/lex.cpp | |
parent | 54ab187e82a41f7221660c7b1dc7777ce8a17228 (diff) | |
download | mrust-b082aab8d49e3b5a2e1eeee97fd9330f782b7381.tar.gz |
Cleanup to pattern handling
Diffstat (limited to 'src/parse/lex.cpp')
-rw-r--r-- | src/parse/lex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/lex.cpp b/src/parse/lex.cpp index a81086ce..678da4d0 100644 --- a/src/parse/lex.cpp +++ b/src/parse/lex.cpp @@ -100,6 +100,7 @@ static const struct { const char* chars; signed int type; } RWORDS[] = { + TOKENT("_", TOK_UNDERSCORE), TOKENT("abstract",TOK_RWORD_ABSTRACT), TOKENT("alignof", TOK_RWORD_ALIGNOF), TOKENT("as", TOK_RWORD_AS), |