mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
20f82b0a8b
E.g. what depends on Text.Pandoc.Parsing?
make modules.pdf ROOTNODE=T.P.Parsing
This is helpful for figuring out what we can split out as separate
packages.
18 lines
328 B
Plaintext
18 lines
328 B
Plaintext
/* Construct subgraph reachable from node ARGV[0] by forward edges */
|
|
BEG_G {
|
|
node_t r = node($,ARGV[0]);
|
|
|
|
$tvroot = r;
|
|
$tvtype = TV_fwd;
|
|
//print ("// Staring node: ", r.name);
|
|
}
|
|
N{
|
|
print ("// subgraph node: ", $.name);
|
|
$tvroot=NULL;
|
|
subnode($T,$);
|
|
}
|
|
E{
|
|
print ("// subgraph edge: ", $.name);
|
|
subedge($T,$);
|
|
}
|