Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
1dc76af7
Commit
1dc76af7
authored
Feb 26, 2014
by
Damien George
Browse files
py: Remove name of var arg from macros with var args.
parent
c5ac2ac5
Changes
5
Hide whitespace changes
Inline
Side-by-side
py/compile.c
View file @
1dc76af7
...
...
@@ -2509,7 +2509,7 @@ STATIC compile_function_t compile_function[] = {
NULL
,
#define nc NULL
#define c(f) compile_##f
#define DEF_RULE(rule, comp, kind,
arg
...) comp,
#define DEF_RULE(rule, comp, kind, ...) comp,
#include
"grammar.h"
#undef nc
#undef c
...
...
py/emitcommon.c
View file @
1dc76af7
...
...
@@ -13,7 +13,7 @@
#include
"runtime0.h"
#include
"emit.h"
#define EMIT(fun,
arg
...) (emit_method_table->fun(emit,
##arg
))
#define EMIT(fun, ...) (emit_method_table->fun(emit,
__VA_ARGS__
))
void
emit_common_load_id
(
emit_t
*
emit
,
const
emit_method_table_t
*
emit_method_table
,
scope_t
*
scope
,
qstr
qstr
)
{
// assumes pass is greater than 1, ie that all identifiers are defined in the scope
...
...
py/malloc.c
View file @
1dc76af7
...
...
@@ -8,7 +8,7 @@
#if 0 // print debugging info
#define DEBUG_printf DEBUG_printf
#else
// don't print debugging info
#define DEBUG_printf(
args
...) (void)0
#define DEBUG_printf(...) (void)0
#endif
#if MICROPY_MEM_STATS
...
...
py/obj.h
View file @
1dc76af7
...
...
@@ -75,7 +75,6 @@ typedef struct _mp_obj_base_t mp_obj_base_t;
// Need to declare this here so we are not dependent on map.h
struct
_mp_map_t
;
struct
_mp_map_elem_t
;
enum
_mp_map_lookup_kind_t
;
// Type definitions for methods
...
...
py/qstr.c
View file @
1dc76af7
...
...
@@ -12,7 +12,7 @@
#if 0 // print debugging info
#define DEBUG_printf DEBUG_printf
#else
// don't print debugging info
#define DEBUG_printf(
args
...) (void)0
#define DEBUG_printf(...) (void)0
#endif
// A qstr is an index into the qstr pool.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment