Stub for lab graph.
This commit is contained in:
parent
81fc10966d
commit
7f8937db55
@ -64,6 +64,10 @@ int main(void) {
|
|||||||
if(!freopen(intent, "w", stdout)) goto catch;
|
if(!freopen(intent, "w", stdout)) goto catch;
|
||||||
scan_score_graph(&scn);
|
scan_score_graph(&scn);
|
||||||
|
|
||||||
|
intent = "labs.gnu";
|
||||||
|
if(!freopen(intent, "w", stdout)) goto catch;
|
||||||
|
scan_labs_graph(&scn);
|
||||||
|
|
||||||
intent = "glider.gnu";
|
intent = "glider.gnu";
|
||||||
if(!freopen(intent, "w", stdout)) goto catch;
|
if(!freopen(intent, "w", stdout)) goto catch;
|
||||||
scan_glider_graph(&scn);
|
scan_glider_graph(&scn);
|
||||||
|
@ -159,6 +159,7 @@ void scan_(struct scan *);
|
|||||||
struct scan scan(struct journal *);
|
struct scan scan(struct journal *);
|
||||||
const struct kvpair *scan_source_lookup(struct scan *, const union line64);
|
const struct kvpair *scan_source_lookup(struct scan *, const union line64);
|
||||||
void scan_score_graph(struct scan *);
|
void scan_score_graph(struct scan *);
|
||||||
|
void scan_labs_graph(struct scan *);
|
||||||
void scan_glider_graph(struct scan *);
|
void scan_glider_graph(struct scan *);
|
||||||
void scan_flight_graph(struct scan *);
|
void scan_flight_graph(struct scan *);
|
||||||
void scan_kjv_graph(struct scan *);
|
void scan_kjv_graph(struct scan *);
|
||||||
|
@ -1212,6 +1212,16 @@ void scan_score_graph(struct scan *const scan) {
|
|||||||
fprintf(stderr, "\n");
|
fprintf(stderr, "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void scan_labs_graph(struct scan *const scan) {
|
||||||
|
struct linekvpair_tree_iterator it
|
||||||
|
= linekvpair_tree_iterator(&scan->labs);
|
||||||
|
assert(scan);
|
||||||
|
|
||||||
|
fprintf(stderr, "*** Labs graph %s.\n",
|
||||||
|
linekvpair_tree_to_string(&scan->labs));
|
||||||
|
fprintf(stderr, "\n");
|
||||||
|
}
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
void scan_glider_graph(struct scan *const scan) {
|
void scan_glider_graph(struct scan *const scan) {
|
||||||
|
Loading…
Reference in New Issue
Block a user