|
| From: | Jose E. Marchesi |
| Subject: | Re: [PATCH v3] repl: Enable auto-completion for structs |
| Date: | Mon, 17 Feb 2020 19:34:39 +0100 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Carlo.
Enable auto-completion for struct fields when a TAB is pressed after a
'.' appended to the struct name (struct.<TAB>).
Signed-off-by: Carlo Caione <address@hidden>
* src/pk-repl.c (pkl_complete_struct): new auto-complete function
* src/pkl-ast.c (pkl_struct_type_traverse): new helper function
* src/pkl-ast.h: likewise
LGTM! OK for master.
Thanks!
| [Prev in Thread] | Current Thread | [Next in Thread] |