forked from GitHub/gf-core
the linearizer API now allows to detect metavariables. This is used for instancein the lookup where the tokens produced from the metavariables are interpreted as distinct from all other tokens.
This commit is contained in:
@@ -176,13 +176,20 @@ pgf_aligner_lzn_symbol_capit(PgfLinFuncs** funcs, PgfCapitState capit)
|
||||
alin->capit = capit;
|
||||
}
|
||||
|
||||
static void
|
||||
pgf_aligner_lzn_symbol_meta(PgfLinFuncs** funcs, PgfMetaId id)
|
||||
{
|
||||
pgf_aligner_lzn_symbol_token(funcs, "?");
|
||||
}
|
||||
|
||||
static PgfLinFuncs pgf_file_lin_funcs = {
|
||||
.symbol_token = pgf_aligner_lzn_symbol_token,
|
||||
.begin_phrase = pgf_aligner_lzn_begin_phrase,
|
||||
.end_phrase = pgf_aligner_lzn_end_phrase,
|
||||
.symbol_ne = pgf_aligner_lzn_symbol_ne,
|
||||
.symbol_bind = pgf_aligner_lzn_symbol_bind,
|
||||
.symbol_capit = pgf_aligner_lzn_symbol_capit
|
||||
.symbol_capit = pgf_aligner_lzn_symbol_capit,
|
||||
.symbol_meta = pgf_aligner_lzn_symbol_meta
|
||||
};
|
||||
|
||||
GuSeq*
|
||||
|
||||
Reference in New Issue
Block a user