summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-30 09:36:53 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-30 09:36:53 -0800
commite7f6e01fd3a6ad6bbfdd76ea1f8c4eba718ae9b0 (patch)
treea12f98d6dea2fd5bb5272a3fcf5973ac861a2f86 /src/main.c
parent2f1e4e0edb581927b25aeba9972ed71b4605a2ba (diff)
Renamed cmark_parser_push -> cmark_parser_feed.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 87cc151..5d46e00 100644
--- a/src/main.c
+++ b/src/main.c
@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
start_timer();
while ((bytes = fread(buffer, 1, sizeof(buffer), fp)) > 0) {
- cmark_parser_push(parser, buffer, bytes);
+ cmark_parser_feed(parser, buffer, bytes);
}
end_timer("processing lines");
@@ -85,7 +85,7 @@ int main(int argc, char *argv[])
*/
while ((bytes = fread(buffer, 1, sizeof(buffer), stdin)) > 0) {
- cmark_parser_push(parser, buffer, bytes);
+ cmark_parser_feed(parser, buffer, bytes);
}
}