Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4f3b38f

Browse files
committed
Get rid of explicit argument-count markings in tab-complete.c.
This replaces the "TailMatchesN" macros with just "TailMatches",and likewise "HeadMatchesN" becomes "HeadMatches" and "MatchesN"becomes "Matches". The various COMPLETE_WITH_LISTn macros arereduced to COMPLETE_WITH, and the single-item COMPLETE_WITH_CONSTalso gets folded into that. This eliminates a lot of minorannoyance in writing tab-completion rules. Usefully, the compiledcode also gets a bit smaller (10% or so, on my machine).The implementation depends on variadic macros, so we couldn't havedone this before we required C99.Andres Freund and Thomas Munro; some cosmetic cleanup by me.Discussion:https://postgr.es/m/d8jo9djvm7h.fsf@dalvik.ping.uio.no
1 parent1f7fc76 commit4f3b38f

File tree

2 files changed

+1222
-1362
lines changed

2 files changed

+1222
-1362
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp