aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-10-06 14:55:25 +0100
committergingerBill <bill@gingerbill.org>2019-10-06 14:55:25 +0100
commit6c69e8c043e7dcf9d9965c7b28c7bdae44e0537c (patch)
treeaf5f3434bcbc20a87e905a4f7646dc958b00ae8d /src/parser.cpp
parent7fa2d25eea28955c12d8fc6a597e8615562c0ee9 (diff)
Make `typeid` semantics consistent across variables and constants
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 204ff3984..fb093ffd9 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -1923,10 +1923,6 @@ Ast *parse_operand(AstFile *f, bool lhs) {
case Token_typeid: {
Token token = expect_token(f, Token_typeid);
- // Ast *specialization = nullptr;
- // if (allow_token(f, Token_Quo)) {
- // specialization = parse_type(f);
- // }
return ast_typeid_type(f, token, nullptr);
} break;