diff options
Diffstat (limited to 'py/scope.h')
| -rw-r--r-- | py/scope.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/scope.h b/py/scope.h index ba07c3949..b52d98ea1 100644 --- a/py/scope.h +++ b/py/scope.h @@ -55,6 +55,7 @@ typedef struct _id_info_t { } id_info_t; #define SCOPE_IS_FUNC_LIKE(s) ((s) >= SCOPE_LAMBDA) +#define SCOPE_IS_COMP_LIKE(s) (SCOPE_LIST_COMP <= (s) && (s) <= SCOPE_GEN_EXPR) // scope is a "block" in Python parlance typedef enum { |
