diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-07 22:26:13 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-07 22:26:13 -0400 |
commit | fb423f749cc0f6f0cceea7d8b77be5a0d807e26d (patch) | |
tree | 2b81a9ce0d514ef4b4400c6795f13c332f25833a /lisc/main.c | |
parent | b93b0d2902bae928edd960ae4d373f5e0033e39e (diff) | |
download | roux-fb423f749cc0f6f0cceea7d8b77be5a0d807e26d.tar.gz |
finish implementing data parsing
Diffstat (limited to 'lisc/main.c')
-rw-r--r-- | lisc/main.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisc/main.c b/lisc/main.c index c8edeb5..1591edb 100644 --- a/lisc/main.c +++ b/lisc/main.c @@ -22,6 +22,12 @@ dumpts(Bits *b, Tmp *tmp, FILE *f) fprintf(f, " ]\n"); } +static void +data(Dat *d) +{ + emitdat(d, stdout); +} + int main(int ac, char *av[]) { @@ -60,7 +66,7 @@ main(int ac, char *av[]) } } - fn = parse(inf); + fn = parse(inf, data); fclose(inf); if (debug['P']) { fprintf(stderr, "\n> After parsing:\n"); |