[uim-commit] r2084 - branches/r5rs/sigscheme
yamaken at freedesktop.org
yamaken at freedesktop.org
Tue Nov 8 05:24:35 PST 2005
Author: yamaken
Date: 2005-11-08 05:24:29 -0800 (Tue, 08 Nov 2005)
New Revision: 2084
Modified:
branches/r5rs/sigscheme/operations.c
branches/r5rs/sigscheme/sigschemeinternal.h
Log:
* sigscheme/sigschemeinternal.h
- (Scm_ErrorObj): Add SCM_NORETURN attribute
* sigscheme/operations.c
- (ScmOp_integer2char): Append /* NOTREACHED */ comment to ERR_OBJ()
Modified: branches/r5rs/sigscheme/operations.c
===================================================================
--- branches/r5rs/sigscheme/operations.c 2005-11-08 13:19:04 UTC (rev 2083)
+++ branches/r5rs/sigscheme/operations.c 2005-11-08 13:24:29 UTC (rev 2084)
@@ -1086,6 +1086,7 @@
return Scm_NewChar(buf);
} else {
ERR_OBJ("current implementation only supports ASCII", obj);
+ /* NOTREACHED */
}
}
Modified: branches/r5rs/sigscheme/sigschemeinternal.h
===================================================================
--- branches/r5rs/sigscheme/sigschemeinternal.h 2005-11-08 13:19:04 UTC (rev 2083)
+++ branches/r5rs/sigscheme/sigschemeinternal.h 2005-11-08 13:24:29 UTC (rev 2084)
@@ -361,7 +361,7 @@
/* error.c */
void Scm_ThrowException(ScmObj errorobj) SCM_NORETURN;
void SigScm_ShowErrorHeader(void);
-void Scm_ErrorObj(const char *func_name, const char *msg, ScmObj obj);
+void Scm_ErrorObj(const char *func_name, const char *msg, ScmObj obj) SCM_NORETURN;
/* operations.c */
int ScmOp_c_length(ScmObj lst);
More information about the uim-commit
mailing list