Skip to content

Commit d0836be

Browse files
committed
Allow x: const = init; and x: * = init; without _ type wildcard
Closes #1120 See also #190
1 parent ddcf0fd commit d0836be

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

source/parse.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6482,9 +6482,6 @@ class parser
64826482
assert (n->id.index() == type_id_node::unqualified);
64836483
}
64846484
else {
6485-
if (!n->pc_qualifiers.empty()) {
6486-
error("'*'/'const' type qualifiers must be followed by a type name or '_' wildcard");
6487-
}
64886485
return {};
64896486
}
64906487
if (curr().type() == lexeme::Multiply) {

0 commit comments

Comments
 (0)