1
0
forked from GitHub/gf-core

fixes in the C and Python API to make them closer to the Haskell API

This commit is contained in:
kr.angelov
2013-08-16 12:44:37 +00:00
parent fc7e77bf50
commit 1e44fdb3d3
7 changed files with 29 additions and 28 deletions

View File

@@ -254,8 +254,8 @@ pgf_parse_with_heuristics(PgfConcr* concr, PgfCId cat, PgfLexer *lexer,
}
GuEnum*
pgf_get_completions(PgfConcr* concr, PgfCId cat, PgfLexer *lexer,
GuString prefix, GuPool* pool)
pgf_complete(PgfConcr* concr, PgfCId cat, PgfLexer *lexer,
GuString prefix, GuPool* pool)
{
// Begin parsing a sentence of the specified category
PgfParseState* state =