Add TODO and FIXME macroses
This commit is contained in:
@@ -57,6 +57,10 @@ typedef signed int int32_t;
|
|||||||
#define JERRY_STATIC_ASSERT_GLUE( a, b ) JERRY_STATIC_ASSERT_GLUE_( a, b )
|
#define JERRY_STATIC_ASSERT_GLUE( a, b ) JERRY_STATIC_ASSERT_GLUE_( a, b )
|
||||||
#define JERRY_STATIC_ASSERT( x ) typedef char JERRY_STATIC_ASSERT_GLUE( static_assertion_failed_, __LINE__) [ ( x ) ? 1 : -1 ] __unused
|
#define JERRY_STATIC_ASSERT( x ) typedef char JERRY_STATIC_ASSERT_GLUE( static_assertion_failed_, __LINE__) [ ( x ) ? 1 : -1 ] __unused
|
||||||
|
|
||||||
|
#define CALL_PRAGMA(x) _Pragma (#x)
|
||||||
|
#define TODO(x) CALL_PRAGMA(message ("TODO - " #x))
|
||||||
|
#define FIXME(x) CALL_PRAGMA(message ("FIXME - " #x))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Variable that must not be referenced.
|
* Variable that must not be referenced.
|
||||||
*
|
*
|
||||||
|
|||||||
+1
-1
@@ -77,7 +77,7 @@ main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// FIXME: Call parser
|
TODO(Call parser);
|
||||||
|
|
||||||
//gen_bytecode (generated_source);
|
//gen_bytecode (generated_source);
|
||||||
//gen_bytecode ();
|
//gen_bytecode ();
|
||||||
|
|||||||
Reference in New Issue
Block a user