diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2014-12-16 10:21:26 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2014-12-16 10:21:26 +0000 |
| commit | 9bc5349e622cf00156b46f56a940d035e000115a (patch) | |
| tree | 8259f44c9857e66dc5901235eac94ad8f3f74cdc /src/runtime/c/pgf/literals.h | |
| parent | d98bd34a33cee7bd6a0fba3c7105256512c309ad (diff) | |
change in the API for literals
The API in the C runtime as well as in the Haskell, Python and Java binding
is changed. Now instead of adding the literal callbacks to the concrete syntax
you need to supply them every time when you need to parse. The main reason is:
- referentially transparent API for Haskell
- when we start using memory mapped files we will not be allowed to change
anything in the grammar data structures. At that point the old API would
be impossible to use.
Diffstat (limited to 'src/runtime/c/pgf/literals.h')
| -rw-r--r-- | src/runtime/c/pgf/literals.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/runtime/c/pgf/literals.h b/src/runtime/c/pgf/literals.h index 88f9304a1..bf071c202 100644 --- a/src/runtime/c/pgf/literals.h +++ b/src/runtime/c/pgf/literals.h @@ -3,9 +3,6 @@ #include <pgf/data.h> -PgfCallbacksMap* -pgf_new_callbacks_map(PgfConcr* concr, GuPool *pool); - // literal for named entities recognition extern PgfLiteralCallback pgf_nerc_literal_callback; |
