projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47d2bb9
)
エラー追加時のバグを修正
author
j8takagi
<j8takagi@nifty.com>
Sat, 13 Mar 2010 16:14:14 +0000
(
01:14
+0900)
committer
j8takagi
<j8takagi@nifty.com>
Sat, 13 Mar 2010 16:14:14 +0000
(
01:14
+0900)
src/casl2.c
patch
|
blob
|
history
diff --git
a/src/casl2.c
b/src/casl2.c
index
944ed40
..
989bbe7
100644
(file)
--- a/
src/casl2.c
+++ b/
src/casl2.c
@@
-29,7
+29,7
@@
CERRARRAY cerr_casl2[] = {
};
bool addcerrlist_casl2()
{
- return addcerrlist
_casl2(ARRAYSIZE
(cerr_casl2), cerr_casl2);
+ return addcerrlist
(sizeof
(cerr_casl2), cerr_casl2);
}
/* 指定されたファイルにアセンブル結果を書込 */
@@
-117,9
+117,7
@@
int main(int argc, char *argv[])
}
}
- #if 0
addcerrlist_casl2();
- #endif
/* ソースファイルが指定されていない場合は終了 */
if(argv[optind] == NULL) {
setcerr(126, NULL); /* source file is not specified */