Arranging JERRY_UNIMPLEMENTED macro usages and adding comments to each invocation of the macro.
This commit is contained in:
@@ -530,7 +530,8 @@ __vfprintf (_FILE *stream, /**< stream pointer */
|
||||
|
||||
if (*format_iter_p == '*')
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
/* Not supported */
|
||||
JERRY_UNREACHABLE ();
|
||||
}
|
||||
|
||||
// If there is a number, recognize it as field width
|
||||
@@ -543,7 +544,8 @@ __vfprintf (_FILE *stream, /**< stream pointer */
|
||||
|
||||
if (*format_iter_p == '.')
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
/* Not supported */
|
||||
JERRY_UNREACHABLE ();
|
||||
}
|
||||
|
||||
switch (*format_iter_p)
|
||||
@@ -636,7 +638,8 @@ __vfprintf (_FILE *stream, /**< stream pointer */
|
||||
case 'a':
|
||||
case 'A':
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
/* Not supported */
|
||||
JERRY_UNREACHABLE ();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -644,7 +647,8 @@ __vfprintf (_FILE *stream, /**< stream pointer */
|
||||
{
|
||||
if (length & LIBC_PRINTF_ARG_LENGTH_TYPE_L)
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
/* Not supported */
|
||||
JERRY_UNREACHABLE ();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -667,7 +671,8 @@ __vfprintf (_FILE *stream, /**< stream pointer */
|
||||
{
|
||||
if (length & LIBC_PRINTF_ARG_LENGTH_TYPE_L)
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
/* Not supported */
|
||||
JERRY_UNREACHABLE ();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -707,7 +712,8 @@ __vfprintf (_FILE *stream, /**< stream pointer */
|
||||
|
||||
case 'n':
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
/* Not supported */
|
||||
JERRY_UNREACHABLE ();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,7 +186,8 @@ __fopen (const char *path, /**< file path */
|
||||
create_if_not_exist = true;
|
||||
if (mode[1] == '+')
|
||||
{
|
||||
JERRY_UNIMPLEMENTED();
|
||||
/* Not supported */
|
||||
JERRY_UNREACHABLE();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ extern void __noreturn exit (int status);
|
||||
int
|
||||
__putchar (int c)
|
||||
{
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(c);
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS("putchar is not implemented for STM32F3.", c);
|
||||
} /* __putchar */
|
||||
|
||||
/** exit - cause normal process termination */
|
||||
@@ -54,6 +54,6 @@ __fwrite (const void *ptr, /**< data to write */
|
||||
size_t nmemb, /**< number of elements */
|
||||
_FILE *stream) /**< stream pointer */
|
||||
{
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(ptr, size, nmemb, stream);
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS("fwrite is not implemented for STM32F3.", ptr, size, nmemb, stream);
|
||||
} /* __fwrite */
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ extern void __noreturn exit (int status);
|
||||
int
|
||||
__putchar (int c)
|
||||
{
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(c);
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS("putchar is not implemented for STM32F4.", c);
|
||||
} /* __putchar */
|
||||
|
||||
/** exit - cause normal process termination */
|
||||
@@ -54,6 +54,6 @@ __fwrite (const void *ptr, /**< data to write */
|
||||
size_t nmemb, /**< number of elements */
|
||||
_FILE *stream) /**< stream pointer */
|
||||
{
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS(ptr, size, nmemb, stream);
|
||||
JERRY_UNIMPLEMENTED_REF_UNUSED_VARS("fwrite is not implemented for STM32F4.", ptr, size, nmemb, stream);
|
||||
} /* __fwrite */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user