Fix issues with doc comments being missing from some declarations
This commit is contained in:
parent
e3d8e448bc
commit
2ce5995a1c
|
@ -787,6 +787,7 @@ public:
|
|||
}
|
||||
/** */ Token[] identifiers;
|
||||
/** */ Initializer[] initializers;
|
||||
/** */ string comment;
|
||||
mixin OpEquals;
|
||||
}
|
||||
|
||||
|
|
|
@ -6051,6 +6051,7 @@ q{doStuff(5)}c;
|
|||
}
|
||||
|
||||
node.type = type is null ? parseType() : type;
|
||||
node.comment = comment;
|
||||
|
||||
Declarator[] declarators;
|
||||
while(true)
|
||||
|
@ -6073,7 +6074,7 @@ q{doStuff(5)}c;
|
|||
// }
|
||||
// else
|
||||
{
|
||||
expect(tok!";");
|
||||
if (expect(tok!";") is null) return null;
|
||||
return node;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue