Commit f54bcbf0 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py, unix: Make "mpconfig.h" be first included, as other headers depend on it.

Specifically, nlr.h does.
parent e0954d42
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "objstr.h" #include "objstr.h"
......
#include <stdint.h> #include <stdint.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "lexer.h" #include "lexer.h"
#include "lexerunix.h" #include "lexerunix.h"
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
#include <malloc.h> #include <malloc.h>
#endif #endif
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "lexer.h" #include "lexer.h"
#include "lexerunix.h" #include "lexerunix.h"
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#include <limits.h> #include <limits.h>
#include <setjmp.h> #include <setjmp.h>
#include "mpconfig.h"
typedef struct _nlr_buf_t nlr_buf_t; typedef struct _nlr_buf_t nlr_buf_t;
struct _nlr_buf_t { struct _nlr_buf_t {
......
#include <setjmp.h> #include <setjmp.h>
#include <stdio.h> #include <stdio.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#if MICROPY_NLR_SETJMP #if MICROPY_NLR_SETJMP
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
#include <stdarg.h> #include <stdarg.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime0.h" #include "runtime0.h"
......
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime0.h" #include "runtime0.h"
......
#include <stdlib.h> #include <stdlib.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime0.h" #include "runtime0.h"
......
#include <string.h> #include <string.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
#include <string.h> #include <string.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "objtuple.h" #include "objtuple.h"
......
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "parsenum.h" #include "parsenum.h"
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "objtuple.h" #include "objtuple.h"
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
#include <stdarg.h> #include <stdarg.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "objtuple.h" #include "objtuple.h"
......
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
#include <assert.h> #include <assert.h>
#include <math.h> #include <math.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "parsenum.h" #include "parsenum.h"
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
#include <malloc.h> #include <malloc.h>
#endif #endif
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "objtuple.h" #include "objtuple.h"
......
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
#include <stdlib.h> #include <stdlib.h>
#include "mpconfig.h"
#include "nlr.h" #include "nlr.h"
#include "misc.h" #include "misc.h"
#include "mpconfig.h"
#include "qstr.h" #include "qstr.h"
#include "obj.h" #include "obj.h"
#include "runtime.h" #include "runtime.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment