diff options
| author | Damien George <damien.p.george@gmail.com> | 2015-01-01 20:27:54 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2015-01-01 20:32:09 +0000 |
| commit | 51dfcb4bb7613ed164952712d9a5235a7b833cde (patch) | |
| tree | c1856c7db0ff6d5ae51190be4325804a0aad43f4 /py/scope.h | |
| parent | db1ac360c39aeedd28b6ef5d653faaa14c3ce01e (diff) | |
py: Move to guarded includes, everywhere in py/ core.
Addresses issue #1022.
Diffstat (limited to 'py/scope.h')
| -rw-r--r-- | py/scope.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/py/scope.h b/py/scope.h index 903a32a79..6d74b17d2 100644 --- a/py/scope.h +++ b/py/scope.h @@ -23,6 +23,11 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MICROPY_INCLUDED_PY_SCOPE_H__ +#define __MICROPY_INCLUDED_PY_SCOPE_H__ + +#include "py/parse.h" +#include "py/emitglue.h" enum { ID_INFO_KIND_GLOBAL_IMPLICIT, @@ -77,3 +82,5 @@ id_info_t *scope_find_global(scope_t *scope, qstr qstr); id_info_t *scope_find_local_in_parent(scope_t *scope, qstr qstr); void scope_close_over_in_parents(scope_t *scope, qstr qstr); void scope_print_info(scope_t *s); + +#endif // __MICROPY_INCLUDED_PY_SCOPE_H__ |
