summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/parser.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-03-12 14:25:51 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-03-12 14:25:51 +0000
commit230f309317af6ae79f49091c9580223f756dbfb8 (patch)
treeee1cee3c48370fcf04b63794250c71c16b28cbfb /src/runtime/c/pgf/parser.h
parent1726995921f6c05686b2b06f672b1376e589f8ac (diff)
libpgf: a new implementation for literals which also allows custom literals. the same mechanism is now used for the metavariables
Diffstat (limited to 'src/runtime/c/pgf/parser.h')
-rw-r--r--src/runtime/c/pgf/parser.h3
1 files changed, 3 insertions, 0 deletions
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