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;
|
/** */ Token[] identifiers;
|
||||||
/** */ Initializer[] initializers;
|
/** */ Initializer[] initializers;
|
||||||
|
/** */ string comment;
|
||||||
mixin OpEquals;
|
mixin OpEquals;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6051,6 +6051,7 @@ q{doStuff(5)}c;
|
||||||
}
|
}
|
||||||
|
|
||||||
node.type = type is null ? parseType() : type;
|
node.type = type is null ? parseType() : type;
|
||||||
|
node.comment = comment;
|
||||||
|
|
||||||
Declarator[] declarators;
|
Declarator[] declarators;
|
||||||
while(true)
|
while(true)
|
||||||
|
|
@ -6073,7 +6074,7 @@ q{doStuff(5)}c;
|
||||||
// }
|
// }
|
||||||
// else
|
// else
|
||||||
{
|
{
|
||||||
expect(tok!";");
|
if (expect(tok!";") is null) return null;
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue