From 230f309317af6ae79f49091c9580223f756dbfb8 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Mon, 12 Mar 2012 14:25:51 +0000 Subject: libpgf: a new implementation for literals which also allows custom literals. the same mechanism is now used for the metavariables --- src/runtime/c/pgf/parser.h | 3 +++ 1 file changed, 3 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 2744dd242..dc033385b 100644 --- a/src/runtime/c/pgf/parser.h +++ b/src/runtime/c/pgf/parser.h @@ -65,6 +65,9 @@ pgf_parse_token(PgfParse* parse, PgfToken tok, bool robust, GuPool* pool); * the pool used to create \parse. */ +void +pgf_parser_add_literal(PgfConcr *concr, PgfCId cat, + PgfLiteralCallback* callback); /** @} * @name Retrieving abstract syntax trees -- cgit v1.2.3