Browse Source

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

Specifically, nlr.h does.
pull/529/merge
Paul Sokolovsky 11 years ago
parent
commit
f54bcbf099
  1. 2
      py/argcheck.c
  2. 2
      py/builtin.c
  3. 2
      py/builtinevex.c
  4. 2
      py/builtinimport.c
  5. 1
      py/nlr.h
  6. 1
      py/nlrsetjmp.c
  7. 2
      py/obj.c
  8. 2
      py/objarray.c
  9. 2
      py/objbool.c
  10. 2
      py/objboundmeth.c
  11. 2
      py/objcell.c
  12. 2
      py/objclosure.c
  13. 2
      py/objcomplex.c
  14. 2
      py/objdict.c
  15. 2
      py/objexcept.c
  16. 2
      py/objfilter.c
  17. 2
      py/objfloat.c
  18. 2
      py/objfun.c
  19. 2
      py/objgenerator.c
  20. 2
      py/objgetitemiter.c
  21. 2
      py/objint.c
  22. 2
      py/objint_longlong.c
  23. 2
      py/objint_mpz.c
  24. 2
      py/objlist.c
  25. 2
      py/objmap.c
  26. 2
      py/objmodule.c
  27. 2
      py/objnamedtuple.c
  28. 2
      py/objnone.c
  29. 2
      py/objobject.c
  30. 2
      py/objproperty.c
  31. 2
      py/objrange.c
  32. 2
      py/objset.c
  33. 2
      py/objslice.c
  34. 2
      py/objstr.c
  35. 2
      py/objstringio.c
  36. 2
      py/objtuple.c
  37. 2
      py/objtype.c
  38. 2
      py/objzip.c
  39. 2
      py/opmethods.c
  40. 2
      py/runtime.c
  41. 2
      py/sequence.c
  42. 2
      py/showbc.c
  43. 2
      py/stream.c
  44. 2
      py/vm.c
  45. 2
      unix/file.c
  46. 2
      unix/main.c

2
py/argcheck.c

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/builtin.c

@ -1,9 +1,9 @@
#include <stdio.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "objstr.h"

2
py/builtinevex.c

@ -1,8 +1,8 @@
#include <stdint.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "lexer.h"
#include "lexerunix.h"

2
py/builtinimport.c

@ -8,9 +8,9 @@
#include <malloc.h>
#endif
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "lexer.h"
#include "lexerunix.h"

1
py/nlr.h

@ -3,7 +3,6 @@
#include <limits.h>
#include <setjmp.h>
#include "mpconfig.h"
typedef struct _nlr_buf_t nlr_buf_t;
struct _nlr_buf_t {

1
py/nlrsetjmp.c

@ -1,5 +1,6 @@
#include <setjmp.h>
#include <stdio.h>
#include "mpconfig.h"
#include "nlr.h"
#if MICROPY_NLR_SETJMP

2
py/obj.c

@ -2,9 +2,9 @@
#include <stdarg.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objarray.c

@ -1,9 +1,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objbool.c

@ -1,8 +1,8 @@
#include <stdlib.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objboundmeth.c

@ -1,8 +1,8 @@
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objcell.c

@ -1,6 +1,6 @@
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objclosure.c

@ -1,8 +1,8 @@
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "objtuple.h"

2
py/objcomplex.c

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "parsenum.h"

2
py/objdict.c

@ -2,9 +2,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "objtuple.h"

2
py/objexcept.c

@ -2,9 +2,9 @@
#include <stdarg.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "objtuple.h"

2
py/objfilter.c

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objfloat.c

@ -4,9 +4,9 @@
#include <assert.h>
#include <math.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "parsenum.h"

2
py/objfun.c

@ -7,9 +7,9 @@
#include <malloc.h>
#endif
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "objtuple.h"

2
py/objgenerator.c

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objgetitemiter.c

@ -1,8 +1,8 @@
#include <stdlib.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objint.c

@ -3,9 +3,9 @@
#include <assert.h>
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "parsenum.h"

2
py/objint_longlong.c

@ -2,9 +2,9 @@
#include <stdint.h>
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "mpz.h"

2
py/objint_mpz.c

@ -3,9 +3,9 @@
#include <stdio.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "parsenumbase.h"
#include "obj.h"

2
py/objlist.c

@ -1,9 +1,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objmap.c

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objmodule.c

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "objmodule.h"

2
py/objnamedtuple.c

@ -1,7 +1,7 @@
#include <string.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "nlr.h"
#include "qstr.h"
#include "obj.h"

2
py/objnone.c

@ -1,8 +1,8 @@
#include <stdlib.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objobject.c

@ -1,8 +1,8 @@
#include <stdlib.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objproperty.c

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objrange.c

@ -1,8 +1,8 @@
#include <stdlib.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objset.c

@ -2,9 +2,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objslice.c

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objstr.c

@ -2,9 +2,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objstringio.c

@ -1,9 +1,9 @@
#include <stdio.h>
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/objtuple.c

@ -1,9 +1,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objtype.c

@ -3,9 +3,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/objzip.c

@ -1,8 +1,8 @@
#include <stdlib.h>
#include <assert.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/opmethods.c

@ -1,6 +1,6 @@
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
py/runtime.c

@ -2,9 +2,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "objtuple.h"

2
py/sequence.c

@ -2,9 +2,9 @@
#include <stdbool.h>
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime0.h"

2
py/showbc.c

@ -1,8 +1,8 @@
#include <stdio.h>
#include <assert.h>
#include "misc.h"
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "bc0.h"

2
py/stream.c

@ -1,8 +1,8 @@
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "stream.h"

2
py/vm.c

@ -2,9 +2,9 @@
#include <string.h>
#include <assert.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "emitglue.h"

2
unix/file.c

@ -5,9 +5,9 @@
#include <sys/stat.h>
#include <sys/types.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"

2
unix/main.c

@ -8,9 +8,9 @@
#include <sys/types.h>
#include <errno.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "lexer.h"
#include "lexerunix.h"

Loading…
Cancel
Save