refine comments
This commit is contained in:
parent
831057d881
commit
c124a17a15
|
@ -2,13 +2,13 @@
|
|||
* See Copyright Notice in picrin.h
|
||||
*/
|
||||
|
||||
/** no dependency on libc? */
|
||||
/** enable libc? */
|
||||
/* #define PIC_USE_LIBC 1 */
|
||||
|
||||
/** use stdio or not */
|
||||
/** enable stdio */
|
||||
/* #define PIC_USE_STDIO 1 */
|
||||
|
||||
/** enable some specific features? */
|
||||
/** enable specific features */
|
||||
/* #define PIC_USE_WRITE 1 */
|
||||
|
||||
/** essential external functions */
|
||||
|
@ -16,15 +16,3 @@
|
|||
/* #define PIC_SETJMP(pic, buf) setjmp(buf) */
|
||||
/* #define PIC_LONGJMP(pic, buf, val) longjmp((buf), (val)) */
|
||||
/* #define PIC_ABORT(pic) abort() */
|
||||
|
||||
/** initial memory size (to be dynamically extended if necessary) */
|
||||
/* #define PIC_ARENA_SIZE 1000 */
|
||||
/* #define PIC_HEAP_PAGE_SIZE 10000 */
|
||||
/* #define PIC_PAGE_REQUEST_THRESHOLD(total) ((total) * 77 / 100) */
|
||||
/* #define PIC_STACK_SIZE 1024 */
|
||||
/* #define PIC_RESCUE_SIZE 30 */
|
||||
/* #define PIC_SYM_POOL_SIZE 128 */
|
||||
/* #define PIC_IREP_SIZE 8 */
|
||||
/* #define PIC_POOL_SIZE 8 */
|
||||
/* #define PIC_SYMS_SIZE 32 */
|
||||
/* #define PIC_ISEQ_SIZE 1024 */
|
||||
|
|
|
@ -95,7 +95,7 @@ void abort(void);
|
|||
#if __STDC_VERSION__ >= 199901L
|
||||
# include <stdint.h>
|
||||
#else
|
||||
# if INT_MAX > 2147483640L /* borrowed from luaconf.h */
|
||||
# if INT_MAX > 2147483640L /* imported from luaconf.h */
|
||||
typedef int int32_t;
|
||||
typedef unsigned int uint32_t;
|
||||
# else
|
||||
|
@ -121,8 +121,6 @@ typedef unsigned long uint32_t;
|
|||
# define PIC_INLINE static
|
||||
#endif
|
||||
|
||||
#define PIC_FALLTHROUGH ((void)0)
|
||||
|
||||
#if defined(__cplusplus)
|
||||
# define PIC_UNUSED(v)
|
||||
#elif __GNUC__ || __clang__
|
||||
|
|
|
@ -558,7 +558,7 @@ read_label_set(pic_state *pic, xFILE *file, int i, struct reader_control *p)
|
|||
return val;
|
||||
}
|
||||
|
||||
PIC_FALLTHROUGH;
|
||||
/* fall through */
|
||||
}
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue