projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef0d85d
)
コマンドラインオプションの修正
author
j8takagi
<j8takagi@nifty.com>
Wed, 4 Jul 2018 16:09:04 +0000
(
01:09
+0900)
committer
j8takagi
<j8takagi@nifty.com>
Wed, 4 Jul 2018 16:09:04 +0000
(
01:09
+0900)
src/casl2rev.c
patch
|
blob
|
history
src/comet2.c
patch
|
blob
|
history
diff --git
a/src/casl2rev.c
b/src/casl2rev.c
index
11a2f5e
..
6d0d527
100644
(file)
--- a/
src/casl2rev.c
+++ b/
src/casl2rev.c
@@
-49,7
+49,6
@@
int main(int argc, char *argv[])
}
disassemble_file(argv[optind]); /* プログラム実行 */
stat = (cerr->num == 0) ? 0 : 1;
- /* エラーの解放 */
- freecerr();
+ freecerr(); /* エラーの解放 */
return stat;
}
diff --git
a/src/comet2.c
b/src/comet2.c
index
f499022
..
a3d6ee1
100644
(file)
--- a/
src/comet2.c
+++ b/
src/comet2.c
@@
-9,11
+9,10
@@
static struct option longopts[] = {
{"tracearithmetic", no_argument, NULL, 't'},
{"tracelogical", no_argument, NULL, 'T'},
{"dump", no_argument, NULL, 'd'},
- {"debug", no_argument, NULL, 'b'},
{"monitor", no_argument, NULL, 'm'},
{"memorysize", required_argument, NULL, 'M'},
{"clocks", required_argument, NULL, 'C'},
- {
"version", no_argument, NULL, 'v' },
+ {"version", no_argument, NULL, 'v' },
{"help", no_argument, NULL, 'h'},
{0, 0, 0, 0},
};