From 22f44ef61f99acdec5d19f336bb80f6bb3a4e8b7 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 1 May 2013 06:09:55 +0000 Subject: word completion in the C runtime. The runtime/python/test.py example is now using readline with word completion --- src/runtime/c/pgf/parser.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/runtime/c/pgf/parser.h') diff --git a/src/runtime/c/pgf/parser.h b/src/runtime/c/pgf/parser.h index 8c9839298..9fae0a565 100644 --- a/src/runtime/c/pgf/parser.h +++ b/src/runtime/c/pgf/parser.h @@ -66,6 +66,10 @@ pgf_parser_next_state(PgfParseState* prev, PgfToken tok); * the pool used to create \parse. */ +GuEnum* +pgf_parser_completions(PgfParseState* prev, GuString prefix, + GuPool* pool); + void pgf_parser_set_beam_size(PgfParseState* state, double beam_size); -- cgit v1.2.3