On Tue, Oct 26, 2021 at 05:04:24PM +0900, Shinya Kato wrote: > Barring any objection, I will change status to Ready for Committer.
+ else if (Matches("COMMENT", "ON", "PROCEDURAL")) + COMPLETE_WITH("LANGUAGE"); + else if (Matches("COMMENT", "ON", "PROCEDURAL", "LANGUAGE")) + COMPLETE_WITH_QUERY(Query_for_list_of_languages); I don't think that there is much point in being this picky either with the usage of PROCEDURAL, as we already complete a similar and simpler grammar with LANGUAGE. I would just remove this part of the patch. + else if (Matches("COMMENT", "ON", "OPERATOR")) + COMPLETE_WITH("CLASS", "FAMILY"); Isn't this one wrong? Operators can have comments, and we'd miss them. This is mentioned upthread, but it seems to me that we'd better drop this part of the patch if the operator naming part cannot be solved easily. -- Michael
signature.asc
Description: PGP signature