From b4b3ffef24dea2eb1deb4f649fe20359d79e9940 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sat, 24 Dec 2016 00:47:11 +0100 Subject: Fixes --- bfc-amd64-linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bfc-amd64-linux.c b/bfc-amd64-linux.c index eb54e43..ee14e25 100644 --- a/bfc-amd64-linux.c +++ b/bfc-amd64-linux.c @@ -86,7 +86,7 @@ enum command SET, EAT, INCACC, DECACC }; -bool grouped[] = { 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0 }; +bool grouped[] = { 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 }; struct instruction { enum command cmd; int offset; size_t arg; }; #define INSTRUCTION(c, o, a) (struct instruction) { (c), (o), (a) } @@ -363,7 +363,7 @@ int main (int argc, char *argv[]) { if (argc > 3) - exit_fatal ("usage: %s [INPUT-FILE]\n", argv[0]); + exit_fatal ("usage: %s [INPUT-FILE] [OUTPUT-FILE]\n", argv[0]); FILE *input_file = stdin; if (argc > 1 && !(input_file = fopen (argv[1], "r"))) -- cgit v1.2.3-70-g09d2