projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ccc21
)
ソースファイルが指定されない場合のエラーメッセージを変更
author
j8takagi
<j8takagi@nifty.com>
Wed, 24 Mar 2010 15:08:24 +0000
(
00:08
+0900)
committer
j8takagi
<j8takagi@nifty.com>
Wed, 24 Mar 2010 15:08:24 +0000
(
00:08
+0900)
src/casl2.c
patch
|
blob
|
history
diff --git
a/src/casl2.c
b/src/casl2.c
index
139e6b9
..
7ec14fa
100644
(file)
--- a/
src/casl2.c
+++ b/
src/casl2.c
@@
-25,7
+25,7
@@
static struct option longopts[] = {
/* casl2のエラー定義 */
CERR cerr_casl2[] = {
- { 126, "
source file is not specified
" },
+ { 126, "
no source file
" },
};
bool addcerrlist_casl2()
{
@@
-118,7
+118,7
@@
int main(int argc, char *argv[])
}
/* ソースファイルが指定されていない場合は終了 */
if(argv[optind] == NULL) {
- setcerr(126, NULL); /*
source file is not specified
*/
+ setcerr(126, NULL); /*
no source file
*/
fprintf(stderr, "CASL2 error - %d: %s\n", cerr->num, cerr->msg);
exit(-1);
}