/* Generated by Nim Compiler v0.13.0 */
/*   (c) 2015 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 64

#include "nimbase.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <setjmp.h>
typedef struct Table182428 Table182428;
typedef struct Keyvaluepairseq182431 Keyvaluepairseq182431;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct TY182612 TY182612;
typedef struct Tfileinfo182335 Tfileinfo182335;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Ropeobj169006 Ropeobj169006;
typedef struct TY182350 TY182350;
typedef struct Cell47505 Cell47505;
typedef struct Cellseq47521 Cellseq47521;
typedef struct Gcheap49818 Gcheap49818;
typedef struct Gcstack49816 Gcstack49816;
typedef struct Cellset47517 Cellset47517;
typedef struct Pagedesc47513 Pagedesc47513;
typedef struct Memregion29688 Memregion29688;
typedef struct Smallchunk29640 Smallchunk29640;
typedef struct Llchunk29682 Llchunk29682;
typedef struct Bigchunk29642 Bigchunk29642;
typedef struct Intset29614 Intset29614;
typedef struct Trunk29610 Trunk29610;
typedef struct Avlnode29686 Avlnode29686;
typedef struct Gcstat49814 Gcstat49814;
typedef struct Tlineinfo182337 Tlineinfo182337;
typedef struct TY183090 TY183090;
typedef struct Erecoverableerror182343 Erecoverableerror182343;
typedef struct Valueerror3646 Valueerror3646;
typedef struct Exception Exception;
typedef struct TNimObject TNimObject;
typedef struct Slice187011 Slice187011;
typedef struct TSafePoint TSafePoint;
typedef struct TY88687 TY88687;
typedef struct Esuggestdone182345 Esuggestdone182345;
typedef struct Keyvaluepair182434 Keyvaluepair182434;
typedef struct Basechunk29638 Basechunk29638;
typedef struct Freecell29630 Freecell29630;
struct  Table182428  {
Keyvaluepairseq182431* data;
NI counter;
};
typedef N_NIMCALL_PTR(void, TY3489) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3494) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3489 marker;
TY3494 deepcopy;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tfileinfo182335  {
NimStringDesc* fullpath;
NimStringDesc* projpath;
NimStringDesc* shortname;
Ropeobj169006* quotedname;
TY182350* lines;
NimStringDesc* dirtyfile;
};
struct  Cell47505  {
NI refcount;
TNimType* typ;
};
struct  Cellseq47521  {
NI len;
NI cap;
Cell47505** d;
};
struct  Cellset47517  {
NI counter;
NI max;
Pagedesc47513* head;
Pagedesc47513** data;
};
typedef Smallchunk29640* TY29703[512];
typedef Trunk29610* Trunkbuckets29612[256];
struct  Intset29614  {
Trunkbuckets29612 data;
};
struct  Memregion29688  {
NI minlargeobj;
NI maxlargeobj;
TY29703 freesmallchunks;
Llchunk29682* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk29642* freechunkslist;
Intset29614 chunkstarts;
Avlnode29686* root;
Avlnode29686* deleted;
Avlnode29686* last;
Avlnode29686* freeavlnodes;
};
struct  Gcstat49814  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap49818  {
Gcstack49816* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq47521 zct;
Cellseq47521 decstack;
Cellset47517 cycleroots;
Cellseq47521 tempstack;
NI recgclock;
Memregion29688 region;
Gcstat49814 stat;
};
struct  Tlineinfo182337  {
NI16 line;
NI16 col;
NI32 fileindex;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (NimStringDesc* output, void* ClEnv);
void* ClEnv;
} TY183111;
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (NU8 err, NimStringDesc* msg, NIM_BOOL usewarning, void* ClEnv);
void* ClEnv;
} TY169017;
typedef NimStringDesc* TY184169[2];
typedef NimStringDesc* TY184156[3];
typedef NimStringDesc* TY182297[291];
typedef NimStringDesc* TY183752[1];
typedef N_CLOSURE_PTR(void, TMP429) (NimStringDesc* output);
typedef NimStringDesc* TY182302[31];
typedef NimStringDesc* TY182308[23];
typedef N_CLOSURE_PTR(void, TMP492) (NimStringDesc* output);
typedef N_CLOSURE_PTR(void, TMP493) (NimStringDesc* output);
typedef N_CLOSURE_PTR(void, TMP502) (NimStringDesc* output);
struct  TNimObject  {
TNimType* m_type;
};
struct  Exception  {
  TNimObject Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
NimStringDesc* trace;
};
struct  Valueerror3646  {
  Exception Sup;
};
struct  Erecoverableerror182343  {
  Valueerror3646 Sup;
};
typedef N_CLOSURE_PTR(void, TMP505) (NU8 err, NimStringDesc* msg, NIM_BOOL usewarning, void* ClEnv);
typedef NimStringDesc* TY185781[4];
typedef N_CLOSURE_PTR(void, TMP1049) (NimStringDesc* output);
typedef N_CLOSURE_PTR(void, TMP1050) (NimStringDesc* output);
struct  Slice187011  {
NU16 a;
NU16 b;
};
typedef N_CLOSURE_PTR(void, TMP1051) (NimStringDesc* output);
typedef struct {
N_NIMCALL_PTR(NIM_BOOL, ClPrc) (Exception* e, void* ClEnv);
void* ClEnv;
} TY17811;
struct  TSafePoint  {
TSafePoint* prev;
NI status;
jmp_buf context;
NIM_BOOL hasRaiseAction;
TY17811 raiseAction;
};
struct TY88687 {
NimStringDesc* Field0;
NI Field1;
};
typedef NU64 TY182361[4];
typedef N_CLOSURE_PTR(void, TMP2098) (NimStringDesc* output);
struct  Esuggestdone182345  {
  Exception Sup;
};
struct Keyvaluepair182434 {
NI Field0;
NimStringDesc* Field1;
NI32 Field2;
};
struct  Ropeobj169006  {
  TNimObject Sup;
Ropeobj169006* left;
Ropeobj169006* right;
NI length;
NimStringDesc* data;
};
struct  Gcstack49816  {
Gcstack49816* prev;
Gcstack49816* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY29619[8];
struct  Pagedesc47513  {
Pagedesc47513* next;
NI key;
TY29619 bits;
};
struct  Basechunk29638  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk29640  {
  Basechunk29638 Sup;
Smallchunk29640* next;
Smallchunk29640* prev;
Freecell29630* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk29682  {
NI size;
NI acc;
Llchunk29682* next;
};
struct  Bigchunk29642  {
  Basechunk29638 Sup;
Bigchunk29642* next;
Bigchunk29642* prev;
NI align;
NF data;
};
struct  Trunk29610  {
Trunk29610* next;
NI key;
TY29619 bits;
};
typedef Avlnode29686* TY29693[2];
struct  Avlnode29686  {
TY29693 link;
NI key;
NI upperbound;
NI level;
};
struct  Freecell29630  {
Freecell29630* next;
NI zerofield;
};
struct TY182612 {
  TGenericSeq Sup;
  Tfileinfo182335 data[SEQ_DECL_SIZE];
};
struct TY182350 {
  TGenericSeq Sup;
  Ropeobj169006* data[SEQ_DECL_SIZE];
};
struct TY183090 {
  TGenericSeq Sup;
  Tlineinfo182337 data[SEQ_DECL_SIZE];
};
struct Keyvaluepairseq182431 {
  TGenericSeq Sup;
  Keyvaluepair182434 data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, inittable_182420)(NI initialsize, Table182428* Result);
N_NOINLINE(void, chckNil)(void* p);
N_NIMCALL(void, genericReset)(void* dest, TNimType* mt);
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP144)(void* p, NI op);
N_NIMCALL(void, TMP145)(void* p, NI op);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Cell47505*, usrtocell_51440)(void* usr);
static N_INLINE(void, rtladdzct_53001)(Cell47505* c);
N_NOINLINE(void, addzct_51417)(Cellseq47521* s, Cell47505* c);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_NIMCALL(void, newfileinfo_182666)(NimStringDesc* fullpath, NimStringDesc* projpath, Tfileinfo182335* Result);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(NimStringDesc*, nosextractFilename)(NimStringDesc* path);
N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
N_NIMCALL(Ropeobj169006*, makecstring_182637)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, tocchar_182633)(NIM_CHAR c);
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, nsuToOctal)(NIM_CHAR c);
N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
N_NIMCALL(void, add_169482)(Ropeobj169006** a, Ropeobj169006* b);
N_NIMCALL(Ropeobj169006*, rope_169277)(NimStringDesc* s);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(TGenericSeq*, incrSeqV2)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
N_NIMCALL(Tlineinfo182337, newlineinfo_183023)(NI32 fileinfoidx, NI line, NI col);
N_NIMCALL(void, TMP152)(void* p, NI op);
N_NIMCALL(Tlineinfo182337, unknownlineinfo_183087)(void);
N_NIMCALL(void, HEX3Aanonymous_187429)(NU8 err, NimStringDesc* msg, NIM_BOOL usewarning);
N_NIMCALL(void, internalerror_187113)(NimStringDesc* errmsg);
N_NIMCALL(void, writecontext_184130)(Tlineinfo182337 lastinfo);
N_NIMCALL(NIM_BOOL, HEX3DHEX3D_184125)(Tlineinfo182337 a, Tlineinfo182337 b);
N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen0);
N_NIMCALL(NimStringDesc*, tomsgfilename_183411)(Tlineinfo182337 info);
N_NIMCALL(NimStringDesc*, coordtostr_183739)(NI coord);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_NIMCALL(NimStringDesc*, getmessagestr_183747)(NU16 msg, NimStringDesc* arg);
N_NIMCALL(NimStringDesc*, msgkindtostring_183743)(NU16 kind);
static N_INLINE(void, writeline_161405)(FILE* f, NimStringDesc** x, NI xLen0);
N_NIMCALL(void, write_15489)(FILE* f, NimStringDesc* s);
N_NIMCALL(void, setstyle_179601)(FILE* f, NU8 style);
N_NIMCALL(void, resetattributes_179203)(FILE* f);
N_NIMCALL(void, rawmessage_185612)(NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, rawmessage_184645)(NU16 msg, NimStringDesc** args, NI argsLen0);
N_NIMCALL(NIM_BOOL, ignoremsgbecauseofidetools_184613)(NU16 msg);
N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
N_NIMCALL(void, setforegroundcolor_180045)(FILE* f, NU8 fg, NIM_BOOL bright);
N_NIMCALL(void, handleerror_184039)(NU16 msg, NU8 eh, NimStringDesc* s);
N_NIMCALL(void, log_184005)(NimStringDesc* s);
N_NIMCALL(NIM_BOOL, open_15403)(FILE** f, NimStringDesc* filename, NU8 mode, NI bufsize);
static N_INLINE(void, writeln_184014)(FILE* f, NimStringDesc** x, NI xLen0);
N_NIMCALL(void, quit_183759)(NU16 msg);
N_NIMCALL(NIM_BOOL, stacktraceavailable_20272)(void);
N_NIMCALL(void, writestacktrace_18807)(void);
N_NOINLINE(void, raiserecoverableerror_183057)(NimStringDesc* msg) __attribute__((noreturn));
N_NIMCALL(void, TMP503)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
N_NIMCALL(void, raiseException)(Exception* e, NCSTRING ename);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_53819)(Cell47505* c);
static N_INLINE(NIM_BOOL, canbecycleroot_51458)(Cell47505* c);
static N_INLINE(void, rtladdcycleroot_52220)(Cell47505* c);
N_NOINLINE(void, incl_48247)(Cellset47517* s, Cell47505* cell);
static N_INLINE(void, decref_53401)(Cell47505* c);
N_NIMCALL(NIM_BOOL, isatty_180420)(FILE* f);
N_NIMCALL(void, limessage_185658)(Tlineinfo182337 info, NU16 msg, NimStringDesc* arg, NU8 eh);
static N_INLINE(NIM_BOOL, contains_187018)(Slice187011 s, NU16 value);
static N_INLINE(Slice187011, HEX2EHEX2E_187002)(NU16 a, NU16 b);
N_NIMCALL(void, writesurroundingsrc_185645)(Tlineinfo182337 info);
N_NIMCALL(void, msgwriteln_183449)(NimStringDesc* s, NU8 flags);
N_NIMCALL(NimStringDesc*, HEX24_169856)(Ropeobj169006* r);
N_NIMCALL(Ropeobj169006*, sourceline_183074)(Tlineinfo182337 i);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_NIMCALL(NimStringDesc*, tofullpath_183266)(NI32 fileidx);
N_NIMCALL(FILE*, open_15417)(NimStringDesc* filename, NU8 mode, NI bufsize);
N_NIMCALL(NIM_BOOL, readline_15513)(FILE* f, NimStringDesc** line);
N_NIMCALL(void, addsourceline_187137)(NI32 fileidx, NimStringDesc* line);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
static N_INLINE(void, popSafePoint)(void);
N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
static N_INLINE(Exception*, getCurrentException)(void);
static N_INLINE(void, popCurrentException)(void);
N_NIMCALL(void, reraiseException)(void);
N_NIMCALL(NimStringDesc*, HEX24_187183)(TY88687 x);
N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NIM_CHAR c, NI count);
N_NIMCALL(NI32, fileinfoidx_182698)(NimStringDesc* filename, NIM_BOOL* isknownfile);
N_NIMCALL(NimStringDesc*, canonicalizepath_160405)(NimStringDesc* path);
static N_INLINE(void, shallow_89218)(NimStringDesc** s_89221);
N_NIMCALL(NIM_BOOL, haskey_182708)(Table182428 t, NimStringDesc* key);
N_NIMCALL(NI32*, HEX5BHEX5D_182740)(Table182428* t, NimStringDesc* key);
N_NIMCALL(NimStringDesc*, shortendir_160601)(NimStringDesc* dir);
N_NIMCALL(void, HEX5BHEX5DHEX3D_182835)(Table182428* t, NimStringDesc* key, NI32 val);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(void, TMP2822)(void* p, NI op);
static N_INLINE(NimStringDesc*, tofilelinecol_183427)(Tlineinfo182337 info);
N_NIMCALL(NimStringDesc*, tofilename_183262)(NI32 fileidx);
STRING_LITERAL(TMP147, "", 0);
STRING_LITERAL(TMP148, "\"", 1);
STRING_LITERAL(TMP149, "command line", 12);
STRING_LITERAL(TMP150, "compilation artifact", 20);
STRING_LITERAL(TMP154, "$1($2, $3) ", 11);
STRING_LITERAL(TMP155, "???", 3);
STRING_LITERAL(TMP156, "unknown error", 13);
STRING_LITERAL(TMP157, "illformed AST: $1", 17);
STRING_LITERAL(TMP158, "internal error: $1", 18);
STRING_LITERAL(TMP159, "cannot open \'$1\'", 16);
STRING_LITERAL(TMP160, "$1", 2);
STRING_LITERAL(TMP161, "\'$1\' compiler does not support C++", 34);
STRING_LITERAL(TMP162, "string literal expected", 23);
STRING_LITERAL(TMP163, "integer literal expected", 24);
STRING_LITERAL(TMP164, "invalid character constant", 26);
STRING_LITERAL(TMP165, "closing \"\"\" expected, but end of file reached", 45);
STRING_LITERAL(TMP166, "closing \" expected", 18);
STRING_LITERAL(TMP167, "tabulators are not allowed", 26);
STRING_LITERAL(TMP168, "invalid token: $1", 17);
STRING_LITERAL(TMP169, "line too long", 13);
STRING_LITERAL(TMP170, "$1 is not a valid number", 24);
STRING_LITERAL(TMP171, "$1 is not a valid number; did you mean octal? Then use one of \'"
"0o\', \'0c\' or \'0C\'.", 81);
STRING_LITERAL(TMP172, "number $1 out of valid range", 28);
STRING_LITERAL(TMP173, "\\n not allowed in character literal", 35);
STRING_LITERAL(TMP174, "closing \']\' expected, but end of file reached", 45);
STRING_LITERAL(TMP175, "missing final \' for character literal", 37);
STRING_LITERAL(TMP176, "identifier expected, but found \'$1\'", 35);
STRING_LITERAL(TMP177, "newline expected, but found \'$1\'", 32);
STRING_LITERAL(TMP178, "invalid module name: \'$1\'", 25);
STRING_LITERAL(TMP179, "operator expected, but found \'$1\'", 33);
STRING_LITERAL(TMP180, "\'$1\' expected", 13);
STRING_LITERAL(TMP181, "string after \'include\' expected", 31);
STRING_LITERAL(TMP182, "recursive dependency: \'$1\'", 26);
STRING_LITERAL(TMP183, "\'on\' or \'off\' expected", 22);
STRING_LITERAL(TMP184, "\'none\', \'speed\' or \'size\' expected", 34);
STRING_LITERAL(TMP185, "invalid pragma", 14);
STRING_LITERAL(TMP186, "unknown pragma: \'$1\'", 20);
STRING_LITERAL(TMP187, "invalid directive: \'$1\'", 23);
STRING_LITERAL(TMP188, "\'pop\' without a \'push\' pragma", 29);
STRING_LITERAL(TMP189, "empty asm statement", 19);
STRING_LITERAL(TMP190, "invalid indentation", 19);
STRING_LITERAL(TMP191, "exception expected", 18);
STRING_LITERAL(TMP192, "exception already handled", 25);
STRING_LITERAL(TMP193, "\'yield\' only allowed in an iterator", 35);
STRING_LITERAL(TMP194, "\'yield\' cannot be used within \'try\' in a non-inlined iterator", 61);
STRING_LITERAL(TMP195, "invalid number of \'yield\' expressions", 37);
STRING_LITERAL(TMP196, "current routine cannot return an expression", 43);
STRING_LITERAL(TMP197, "redefinition of \'$1\'", 20);
STRING_LITERAL(TMP198, "statement not allowed after \'return\', \'break\', \'raise\' or \'cont"
"inue\'", 68);
STRING_LITERAL(TMP199, "statement expected", 18);
STRING_LITERAL(TMP200, "\'$1\' is no label", 16);
STRING_LITERAL(TMP201, "invalid command line option: \'$1\'", 33);
STRING_LITERAL(TMP202, "argument for command line option expected: \'$1\'", 47);
STRING_LITERAL(TMP203, "invalid argument for command line option: \'$1\'", 46);
STRING_LITERAL(TMP204, "invalid variable substitution in \'$1\'", 37);
STRING_LITERAL(TMP205, "unknown variable: \'$1\'", 22);
STRING_LITERAL(TMP206, "unknown C compiler: \'$1\'", 24);
STRING_LITERAL(TMP207, "\'on\' or \'off\' expected, but \'$1\' found", 38);
STRING_LITERAL(TMP208, "\'on\', \'off\' or \'list\' expected, but \'$1\' found", 46);
STRING_LITERAL(TMP209, "\'none\', \'boehm\' or \'refc\' expected, but \'$1\' found", 50);
STRING_LITERAL(TMP210, "\'none\', \'speed\' or \'size\' expected, but \'$1\' found", 50);
STRING_LITERAL(TMP211, "\'gui\', \'console\' or \'lib\' expected, but \'$1\' found", 50);
STRING_LITERAL(TMP212, "unknown OS: \'$1\'", 16);
STRING_LITERAL(TMP213, "unknown CPU: \'$1\'", 17);
STRING_LITERAL(TMP214, "\'c\', \'c++\' or \'yaml\' expected, but \'$1\' found", 45);
STRING_LITERAL(TMP215, "arguments can only be given if the \'--run\' option is selected", 61);
STRING_LITERAL(TMP216, "multiple assignment is not allowed", 34);
STRING_LITERAL(TMP217, "\':\' or \'=\' expected, but found \'$1\'", 35);
STRING_LITERAL(TMP218, "expression expected, but found \'$1\'", 35);
STRING_LITERAL(TMP219, "undeclared identifier: \'$1\'", 27);
STRING_LITERAL(TMP220, "undeclared field: \'$1\'", 22);
STRING_LITERAL(TMP221, "attempting to call undeclared routine: \'$1\'", 43);
STRING_LITERAL(TMP222, "ambiguous identifier: \'$1\' -- use a qualifier", 45);
STRING_LITERAL(TMP223, "type expected", 13);
STRING_LITERAL(TMP224, "system module needs \'$1\'", 24);
STRING_LITERAL(TMP225, "execution of an external program failed: \'$1\'", 45);
STRING_LITERAL(TMP226, "overloaded \'$1\' leads to ambiguous calls", 40);
STRING_LITERAL(TMP227, "invalid argument for \'$1\'", 25);
STRING_LITERAL(TMP228, "statement has no effect", 23);
STRING_LITERAL(TMP229, "\'$1\' expects a type or value", 28);
STRING_LITERAL(TMP230, "\'$1\' expects an array type", 26);
STRING_LITERAL(TMP231, "\'$1\' cannot be instantiated because its body has not been compi"
"led yet", 70);
STRING_LITERAL(TMP232, "expression \'$1\' ambiguous in this context", 41);
STRING_LITERAL(TMP233, "division by zero", 16);
STRING_LITERAL(TMP234, "ordinal type expected", 21);
STRING_LITERAL(TMP235, "ordinal or float type expected", 30);
STRING_LITERAL(TMP236, "over- or underflow", 18);
STRING_LITERAL(TMP237, "cannot evalutate \'$1\' because type is not defined completely", 60);
STRING_LITERAL(TMP238, "\'chr\' expects an int in the range 0..255", 40);
STRING_LITERAL(TMP239, "\'dynlib\' requires \'exportc\'", 27);
STRING_LITERAL(TMP240, "attempt to access a nil address", 31);
STRING_LITERAL(TMP241, "index out of bounds", 19);
STRING_LITERAL(TMP242, "index types do not match", 24);
STRING_LITERAL(TMP243, "\'[]\' operator invalid for this type", 35);
STRING_LITERAL(TMP244, "value out of set bounds", 23);
STRING_LITERAL(TMP245, "field initialized twice: \'$1\'", 29);
STRING_LITERAL(TMP246, "field \'$1\' not initialized", 26);
STRING_LITERAL(TMP247, "expression \'$1\' cannot be called", 32);
STRING_LITERAL(TMP248, "expression has no type", 22);
STRING_LITERAL(TMP249, "expression \'$1\' has no type (or is ambiguous)", 45);
STRING_LITERAL(TMP250, "\'cast\' not allowed in safe mode", 31);
STRING_LITERAL(TMP251, "expression cannot be casted to $1", 33);
STRING_LITERAL(TMP252, "\',\' or \')\' expected", 19);
STRING_LITERAL(TMP253, "\'{\' or \'(\' expected", 19);
STRING_LITERAL(TMP254, "section (\'type\', \'proc\', etc.) expected", 39);
STRING_LITERAL(TMP255, "range expected", 14);
STRING_LITERAL(TMP256, "\'magic\' only allowed in system module", 37);
STRING_LITERAL(TMP257, "power of two expected", 21);
STRING_LITERAL(TMP258, "string literal may not be empty", 31);
STRING_LITERAL(TMP259, "calling convention expected", 27);
STRING_LITERAL(TMP260, "a proc can only have one calling convention", 43);
STRING_LITERAL(TMP261, "symbol must be imported if \'lib\' pragma is used", 47);
STRING_LITERAL(TMP262, "expression must be of type \'bool\'", 33);
STRING_LITERAL(TMP263, "constant expression expected", 28);
STRING_LITERAL(TMP264, "duplicate case label", 20);
STRING_LITERAL(TMP265, "range is empty", 14);
STRING_LITERAL(TMP266, "selector must be of an ordinal type, float or string", 52);
STRING_LITERAL(TMP267, "selector must be of an ordinal type", 35);
STRING_LITERAL(TMP268, "ord($1) must not be negative", 28);
STRING_LITERAL(TMP269, "len($1) must be less than 32768", 31);
STRING_LITERAL(TMP270, "wrong number of variables", 25);
STRING_LITERAL(TMP271, "only a \'ref object\' can be raised", 33);
STRING_LITERAL(TMP272, "\'break\' only allowed in loop construct", 38);
STRING_LITERAL(TMP273, "type \'$1\' has unknown size", 26);
STRING_LITERAL(TMP274, "a constant can only be initialized with a constant expression", 61);
STRING_LITERAL(TMP275, "a constant needs a value", 24);
STRING_LITERAL(TMP276, "the result type cannot be on open array", 39);
STRING_LITERAL(TMP277, "computing the type\'s size produced an overflow", 46);
STRING_LITERAL(TMP278, "set is too large", 16);
STRING_LITERAL(TMP279, "base type of a set must be an ordinal", 37);
STRING_LITERAL(TMP280, "inheritance only works with non-final objects", 45);
STRING_LITERAL(TMP281, "inheritance only works with an enum", 35);
STRING_LITERAL(TMP282, "illegal recursion in type \'$1\'", 30);
STRING_LITERAL(TMP283, "cannot instantiate: \'$1\'", 24);
STRING_LITERAL(TMP284, "expression has no address", 25);
STRING_LITERAL(TMP285, "address of \'$1\' may not escape its stack frame", 46);
STRING_LITERAL(TMP286, "for a \'var\' type a variable needs to be passed", 46);
STRING_LITERAL(TMP287, "type mismatch", 13);
STRING_LITERAL(TMP288, "type mismatch: got (", 20);
STRING_LITERAL(TMP289, "but expected one of: ", 21);
STRING_LITERAL(TMP290, "but expected \'$1\'", 17);
STRING_LITERAL(TMP291, "ambiguous call; both $1 and $2 match for: $3", 44);
STRING_LITERAL(TMP292, "wrong number of arguments", 25);
STRING_LITERAL(TMP293, "\'$1\' cannot be passed to a procvar", 34);
STRING_LITERAL(TMP294, "$1 cannot be declared in parameter declaration", 46);
STRING_LITERAL(TMP295, "pragmas are only allowed in the header of a proc", 48);
STRING_LITERAL(TMP296, "implementation of \'$1\' is not allowed", 37);
STRING_LITERAL(TMP297, "implementation of \'$1\' expected", 31);
STRING_LITERAL(TMP298, "no symbol to borrow from found", 30);
STRING_LITERAL(TMP299, "value of type \'$1\' has to be discarded", 38);
STRING_LITERAL(TMP300, "statement returns no value that can be discarded", 48);
STRING_LITERAL(TMP301, "conversion from $1 to $2 is invalid", 35);
STRING_LITERAL(TMP302, "cannot bind parameter \'$1\' twice", 32);
STRING_LITERAL(TMP303, "invalid order in array constructor", 34);
STRING_LITERAL(TMP304, "invalid order in enum \'$1\'", 26);
STRING_LITERAL(TMP305, "enum \'$1\' has holes", 19);
STRING_LITERAL(TMP306, "\'except\' or \'finally\' expected", 30);
STRING_LITERAL(TMP307, "after catch all \'except\' or \'finally\' no section may follow", 59);
STRING_LITERAL(TMP308, "option expected, but found \'$1\'", 31);
STRING_LITERAL(TMP309, "\'$1\' is not a label", 19);
STRING_LITERAL(TMP310, "not all cases are covered", 25);
STRING_LITERAL(TMP311, "unknown substitution variable: \'$1\'", 35);
STRING_LITERAL(TMP312, "complex statement requires indentation", 38);
STRING_LITERAL(TMP313, "\'$1\' is not callable", 20);
STRING_LITERAL(TMP314, "no pragmas allowed for $1", 25);
STRING_LITERAL(TMP315, "no generic parameters allowed for $1", 36);
STRING_LITERAL(TMP316, "invalid param kind: \'$1\'", 24);
STRING_LITERAL(TMP317, "default argument invalid", 24);
STRING_LITERAL(TMP318, "named parameter has to be an identifier", 39);
STRING_LITERAL(TMP319, "no return type allowed for $1", 29);
STRING_LITERAL(TMP320, "a type conversion needs exactly one argument", 44);
STRING_LITERAL(TMP321, "invalid pragma: $1", 18);
STRING_LITERAL(TMP322, "$1 not allowed here", 19);
STRING_LITERAL(TMP323, "invalid control flow: $1", 24);
STRING_LITERAL(TMP324, "invalid type: \'$1\'", 18);
STRING_LITERAL(TMP325, "\'[]\' needs a pointer or reference type", 38);
STRING_LITERAL(TMP326, "invalid expression", 18);
STRING_LITERAL(TMP327, "invalid expression: \'$1\'", 24);
STRING_LITERAL(TMP328, "enum has no value \'$1\'", 22);
STRING_LITERAL(TMP329, "named expression expected", 25);
STRING_LITERAL(TMP330, "named expression not allowed here", 33);
STRING_LITERAL(TMP331, "\'$1\' expects one type parameter", 31);
STRING_LITERAL(TMP332, "array expects two type parameters", 33);
STRING_LITERAL(TMP333, "invalid visibility: \'$1\'", 24);
STRING_LITERAL(TMP334, "initialization not allowed here", 31);
STRING_LITERAL(TMP335, "\'$1\' cannot be assigned to", 26);
STRING_LITERAL(TMP336, "iterators can only be defined at the module\'s top level", 55);
STRING_LITERAL(TMP337, "$1 needs a return type", 22);
STRING_LITERAL(TMP338, "no return type declared", 23);
STRING_LITERAL(TMP339, "no command given", 16);
STRING_LITERAL(TMP340, "invalid command: \'$1\'", 21);
STRING_LITERAL(TMP341, "\'$1\' is only allowed at top level", 33);
STRING_LITERAL(TMP342, "\'$1\' needs a parameter that has an object type", 46);
STRING_LITERAL(TMP343, "template/macro instantiation too nested", 39);
STRING_LITERAL(TMP344, "template/generic instantiation from here", 40);
STRING_LITERAL(TMP345, "invalid index value for tuple subscript", 39);
STRING_LITERAL(TMP346, "command expects a filename argument", 35);
STRING_LITERAL(TMP347, "please, specify a main module in the project configuration file", 63);
STRING_LITERAL(TMP348, "\'$1\' is not a concrete type.", 28);
STRING_LITERAL(TMP349, "invalid section start", 21);
STRING_LITERAL(TMP350, "grid table is not implemented", 29);
STRING_LITERAL(TMP351, "general parse error", 19);
STRING_LITERAL(TMP352, "new section expected", 20);
STRING_LITERAL(TMP353, "whitespace expected, got \'$1\'", 29);
STRING_LITERAL(TMP354, "\'$1\' is no valid index file", 27);
STRING_LITERAL(TMP355, "cannot render reStructuredText element \'$1\'", 43);
STRING_LITERAL(TMP356, "type \'var var\' is not allowed", 29);
STRING_LITERAL(TMP357, "instantiate \'$1\' explicitly", 27);
STRING_LITERAL(TMP358, "only a call operator can be a delegator", 39);
STRING_LITERAL(TMP359, "\'$1\' is not a variable, constant or a proc name", 47);
STRING_LITERAL(TMP360, "the macro body cannot be compiled, because the parameter \'$1\' h"
"as a generic type", 80);
STRING_LITERAL(TMP361, "Destructor signature is too specific. A destructor must be asso"
"ciated will all instantiations of a generic type", 111);
STRING_LITERAL(TMP362, "inline iterators can be used as parameters only for templates, "
"macros and other inline iterators", 96);
STRING_LITERAL(TMP363, "\'$1\' expects two arguments", 26);
STRING_LITERAL(TMP364, "\'$1\' expects object types", 25);
STRING_LITERAL(TMP365, "\'$1\' can never be of this subtype", 33);
STRING_LITERAL(TMP366, "interpretation requires too many iterations", 43);
STRING_LITERAL(TMP367, "cannot evaluate \'$1\'", 20);
STRING_LITERAL(TMP368, "field \'$1\' cannot be found", 26);
STRING_LITERAL(TMP369, "invalid conversion from type \'$1\'", 33);
STRING_LITERAL(TMP370, "assertion failed", 16);
STRING_LITERAL(TMP371, "cannot generate code for \'$1\'", 29);
STRING_LITERAL(TMP372, "$1 requires one parameter", 25);
STRING_LITERAL(TMP373, "unhandled exception: $1", 23);
STRING_LITERAL(TMP374, "macro returned a cyclic abstract syntax tree", 44);
STRING_LITERAL(TMP375, "\'$1\' is no macro or template", 28);
STRING_LITERAL(TMP376, "\'$1\' can have side effects", 26);
STRING_LITERAL(TMP377, "iterator within for loop context expected", 41);
STRING_LITERAL(TMP378, "\'let\' symbol requires an initialization", 39);
STRING_LITERAL(TMP379, "a thread var cannot be initialized explicitly", 45);
STRING_LITERAL(TMP380, "usage of \'$1\' is a user-defined error", 37);
STRING_LITERAL(TMP381, "illegal capture \'$1\'", 20);
STRING_LITERAL(TMP382, "\'$1\' cannot have \'closure\' calling convention", 45);
STRING_LITERAL(TMP383, "\'$1\' can only be used in compile-time context", 45);
STRING_LITERAL(TMP384, "cannot infer the type of the $1", 31);
STRING_LITERAL(TMP385, "cannot infer the return type of the proc", 40);
STRING_LITERAL(TMP386, "A nested proc can have generic parameters only when it is used "
"as an operand to another routine and the types of the generic pa"
"ramers can be inferred from the expected signature.", 178);
STRING_LITERAL(TMP387, "The current compiler \'$1\' doesn\'t support the requested compila"
"tion target", 74);
STRING_LITERAL(TMP388, "External assembler not found", 28);
STRING_LITERAL(TMP389, "External assembler \'$1\' is not a valid assembler", 48);
STRING_LITERAL(TMP390, "octal escape sequences do not exist; leading zero is ignored", 60);
STRING_LITERAL(TMP391, "\'$1\' is never read", 18);
STRING_LITERAL(TMP392, "\'$1\' might not have been initialized", 36);
STRING_LITERAL(TMP393, "$1 is deprecated", 16);
STRING_LITERAL(TMP394, "config file \'$1\' is deprecated", 30);
STRING_LITERAL(TMP395, "\'l\' should not be used as an identifier; may look like \'1\' (one"
")", 64);
STRING_LITERAL(TMP396, "unknown magic \'$1\' might crash the compiler", 43);
STRING_LITERAL(TMP397, "redefinition of label \'$1\'", 26);
STRING_LITERAL(TMP398, "unknown substitution \'$1\'", 25);
STRING_LITERAL(TMP399, "language \'$1\' not supported", 27);
STRING_LITERAL(TMP400, "field \'$1\' not supported", 24);
STRING_LITERAL(TMP401, "comment \'$1\' ignored", 20);
STRING_LITERAL(TMP402, "\'nil\' statement is deprecated; use an empty \'discard\' statement"
" instead", 71);
STRING_LITERAL(TMP403, "\'$1\' has no type. Typeless parameters are deprecated; only allo"
"wed for \'template\'", 81);
STRING_LITERAL(TMP404, "use {.base.} for base methods; baseless methods are deprecated", 62);
STRING_LITERAL(TMP405, "write to foreign heap", 21);
STRING_LITERAL(TMP406, "unsafe code: \'$1\'", 17);
STRING_LITERAL(TMP407, "each identifier is a tuple", 26);
STRING_LITERAL(TMP408, "shadowed identifier: \'$1\'", 25);
STRING_LITERAL(TMP409, "Cannot prove that \'$1\' is initialized. This will become a compi"
"le time error in the future.", 91);
STRING_LITERAL(TMP410, "cannot prove that field \'$1\' is accessible", 42);
STRING_LITERAL(TMP411, "cannot prove index \'$1\' is valid", 32);
STRING_LITERAL(TMP412, "not GC-safe: \'$1\'", 17);
STRING_LITERAL(TMP413, "\'$1\' uses GC\'ed memory", 22);
STRING_LITERAL(TMP414, "usage of a type with a destructor in a non destructible context"
". This will become a compile time error in the future.", 117);
STRING_LITERAL(TMP415, "Special variable \'result\' is shadowed.", 38);
STRING_LITERAL(TMP416, "operation successful", 20);
STRING_LITERAL(TMP417, "operation successful ($# lines compiled; $# sec total; $#; $#)", 62);
STRING_LITERAL(TMP418, "\'$1\' is declared but not used", 29);
STRING_LITERAL(TMP419, "conversion to base object is not needed", 39);
STRING_LITERAL(TMP420, "conversion from $1 to itself is pointless", 41);
STRING_LITERAL(TMP421, "expression evaluates always to \'$1\'", 35);
STRING_LITERAL(TMP422, "quit() called", 13);
STRING_LITERAL(TMP423, "generated code listing:", 23);
STRING_LITERAL(TMP424, "end of listing", 14);
STRING_LITERAL(TMP425, "used config file \'$1\'", 21);
STRING_LITERAL(TMP426, "added path: \'$1\'", 16);
STRING_LITERAL(TMP427, "condition is always true: \'$1\'", 30);
STRING_LITERAL(TMP428, "name should be: \'$1\'", 20);
NIM_CONST TY182297 Msgkindtostr_182294 = {((NimStringDesc*) &TMP156),
((NimStringDesc*) &TMP157),
((NimStringDesc*) &TMP158),
((NimStringDesc*) &TMP159),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP161),
((NimStringDesc*) &TMP162),
((NimStringDesc*) &TMP163),
((NimStringDesc*) &TMP164),
((NimStringDesc*) &TMP165),
((NimStringDesc*) &TMP166),
((NimStringDesc*) &TMP167),
((NimStringDesc*) &TMP168),
((NimStringDesc*) &TMP169),
((NimStringDesc*) &TMP170),
((NimStringDesc*) &TMP171),
((NimStringDesc*) &TMP172),
((NimStringDesc*) &TMP173),
((NimStringDesc*) &TMP174),
((NimStringDesc*) &TMP175),
((NimStringDesc*) &TMP176),
((NimStringDesc*) &TMP177),
((NimStringDesc*) &TMP178),
((NimStringDesc*) &TMP179),
((NimStringDesc*) &TMP180),
((NimStringDesc*) &TMP181),
((NimStringDesc*) &TMP182),
((NimStringDesc*) &TMP183),
((NimStringDesc*) &TMP184),
((NimStringDesc*) &TMP185),
((NimStringDesc*) &TMP186),
((NimStringDesc*) &TMP187),
((NimStringDesc*) &TMP188),
((NimStringDesc*) &TMP189),
((NimStringDesc*) &TMP190),
((NimStringDesc*) &TMP191),
((NimStringDesc*) &TMP192),
((NimStringDesc*) &TMP193),
((NimStringDesc*) &TMP194),
((NimStringDesc*) &TMP195),
((NimStringDesc*) &TMP196),
((NimStringDesc*) &TMP197),
((NimStringDesc*) &TMP198),
((NimStringDesc*) &TMP199),
((NimStringDesc*) &TMP200),
((NimStringDesc*) &TMP201),
((NimStringDesc*) &TMP202),
((NimStringDesc*) &TMP203),
((NimStringDesc*) &TMP204),
((NimStringDesc*) &TMP205),
((NimStringDesc*) &TMP206),
((NimStringDesc*) &TMP207),
((NimStringDesc*) &TMP208),
((NimStringDesc*) &TMP209),
((NimStringDesc*) &TMP210),
((NimStringDesc*) &TMP211),
((NimStringDesc*) &TMP212),
((NimStringDesc*) &TMP213),
((NimStringDesc*) &TMP214),
((NimStringDesc*) &TMP215),
((NimStringDesc*) &TMP216),
((NimStringDesc*) &TMP217),
((NimStringDesc*) &TMP218),
((NimStringDesc*) &TMP219),
((NimStringDesc*) &TMP220),
((NimStringDesc*) &TMP221),
((NimStringDesc*) &TMP222),
((NimStringDesc*) &TMP223),
((NimStringDesc*) &TMP224),
((NimStringDesc*) &TMP225),
((NimStringDesc*) &TMP226),
((NimStringDesc*) &TMP227),
((NimStringDesc*) &TMP228),
((NimStringDesc*) &TMP229),
((NimStringDesc*) &TMP230),
((NimStringDesc*) &TMP231),
((NimStringDesc*) &TMP232),
((NimStringDesc*) &TMP233),
((NimStringDesc*) &TMP234),
((NimStringDesc*) &TMP235),
((NimStringDesc*) &TMP236),
((NimStringDesc*) &TMP237),
((NimStringDesc*) &TMP238),
((NimStringDesc*) &TMP239),
((NimStringDesc*) &TMP220),
((NimStringDesc*) &TMP240),
((NimStringDesc*) &TMP241),
((NimStringDesc*) &TMP242),
((NimStringDesc*) &TMP243),
((NimStringDesc*) &TMP244),
((NimStringDesc*) &TMP245),
((NimStringDesc*) &TMP246),
((NimStringDesc*) &TMP247),
((NimStringDesc*) &TMP248),
((NimStringDesc*) &TMP249),
((NimStringDesc*) &TMP250),
((NimStringDesc*) &TMP251),
((NimStringDesc*) &TMP252),
((NimStringDesc*) &TMP253),
((NimStringDesc*) &TMP254),
((NimStringDesc*) &TMP255),
((NimStringDesc*) &TMP256),
((NimStringDesc*) &TMP257),
((NimStringDesc*) &TMP258),
((NimStringDesc*) &TMP259),
((NimStringDesc*) &TMP260),
((NimStringDesc*) &TMP261),
((NimStringDesc*) &TMP262),
((NimStringDesc*) &TMP263),
((NimStringDesc*) &TMP264),
((NimStringDesc*) &TMP265),
((NimStringDesc*) &TMP266),
((NimStringDesc*) &TMP267),
((NimStringDesc*) &TMP268),
((NimStringDesc*) &TMP269),
((NimStringDesc*) &TMP270),
((NimStringDesc*) &TMP271),
((NimStringDesc*) &TMP272),
((NimStringDesc*) &TMP273),
((NimStringDesc*) &TMP274),
((NimStringDesc*) &TMP275),
((NimStringDesc*) &TMP276),
((NimStringDesc*) &TMP277),
((NimStringDesc*) &TMP278),
((NimStringDesc*) &TMP279),
((NimStringDesc*) &TMP280),
((NimStringDesc*) &TMP281),
((NimStringDesc*) &TMP282),
((NimStringDesc*) &TMP283),
((NimStringDesc*) &TMP284),
((NimStringDesc*) &TMP285),
((NimStringDesc*) &TMP286),
((NimStringDesc*) &TMP287),
((NimStringDesc*) &TMP288),
((NimStringDesc*) &TMP289),
((NimStringDesc*) &TMP290),
((NimStringDesc*) &TMP291),
((NimStringDesc*) &TMP292),
((NimStringDesc*) &TMP293),
((NimStringDesc*) &TMP294),
((NimStringDesc*) &TMP295),
((NimStringDesc*) &TMP296),
((NimStringDesc*) &TMP297),
((NimStringDesc*) &TMP298),
((NimStringDesc*) &TMP299),
((NimStringDesc*) &TMP300),
((NimStringDesc*) &TMP301),
((NimStringDesc*) &TMP302),
((NimStringDesc*) &TMP303),
((NimStringDesc*) &TMP304),
((NimStringDesc*) &TMP305),
((NimStringDesc*) &TMP306),
((NimStringDesc*) &TMP307),
((NimStringDesc*) &TMP308),
((NimStringDesc*) &TMP309),
((NimStringDesc*) &TMP310),
((NimStringDesc*) &TMP311),
((NimStringDesc*) &TMP312),
((NimStringDesc*) &TMP313),
((NimStringDesc*) &TMP314),
((NimStringDesc*) &TMP315),
((NimStringDesc*) &TMP316),
((NimStringDesc*) &TMP317),
((NimStringDesc*) &TMP318),
((NimStringDesc*) &TMP319),
((NimStringDesc*) &TMP320),
((NimStringDesc*) &TMP321),
((NimStringDesc*) &TMP322),
((NimStringDesc*) &TMP323),
((NimStringDesc*) &TMP324),
((NimStringDesc*) &TMP325),
((NimStringDesc*) &TMP326),
((NimStringDesc*) &TMP327),
((NimStringDesc*) &TMP328),
((NimStringDesc*) &TMP329),
((NimStringDesc*) &TMP330),
((NimStringDesc*) &TMP331),
((NimStringDesc*) &TMP332),
((NimStringDesc*) &TMP333),
((NimStringDesc*) &TMP334),
((NimStringDesc*) &TMP335),
((NimStringDesc*) &TMP336),
((NimStringDesc*) &TMP337),
((NimStringDesc*) &TMP338),
((NimStringDesc*) &TMP339),
((NimStringDesc*) &TMP340),
((NimStringDesc*) &TMP341),
((NimStringDesc*) &TMP342),
((NimStringDesc*) &TMP343),
((NimStringDesc*) &TMP344),
((NimStringDesc*) &TMP345),
((NimStringDesc*) &TMP346),
((NimStringDesc*) &TMP347),
((NimStringDesc*) &TMP180),
((NimStringDesc*) &TMP348),
((NimStringDesc*) &TMP349),
((NimStringDesc*) &TMP350),
((NimStringDesc*) &TMP351),
((NimStringDesc*) &TMP352),
((NimStringDesc*) &TMP353),
((NimStringDesc*) &TMP354),
((NimStringDesc*) &TMP355),
((NimStringDesc*) &TMP356),
((NimStringDesc*) &TMP357),
((NimStringDesc*) &TMP358),
((NimStringDesc*) &TMP359),
((NimStringDesc*) &TMP360),
((NimStringDesc*) &TMP361),
((NimStringDesc*) &TMP362),
((NimStringDesc*) &TMP363),
((NimStringDesc*) &TMP364),
((NimStringDesc*) &TMP365),
((NimStringDesc*) &TMP366),
((NimStringDesc*) &TMP367),
((NimStringDesc*) &TMP368),
((NimStringDesc*) &TMP369),
((NimStringDesc*) &TMP370),
((NimStringDesc*) &TMP371),
((NimStringDesc*) &TMP372),
((NimStringDesc*) &TMP373),
((NimStringDesc*) &TMP374),
((NimStringDesc*) &TMP375),
((NimStringDesc*) &TMP376),
((NimStringDesc*) &TMP377),
((NimStringDesc*) &TMP378),
((NimStringDesc*) &TMP379),
((NimStringDesc*) &TMP380),
((NimStringDesc*) &TMP381),
((NimStringDesc*) &TMP382),
((NimStringDesc*) &TMP383),
((NimStringDesc*) &TMP384),
((NimStringDesc*) &TMP385),
((NimStringDesc*) &TMP386),
((NimStringDesc*) &TMP387),
((NimStringDesc*) &TMP388),
((NimStringDesc*) &TMP389),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP159),
((NimStringDesc*) &TMP390),
((NimStringDesc*) &TMP391),
((NimStringDesc*) &TMP392),
((NimStringDesc*) &TMP393),
((NimStringDesc*) &TMP394),
((NimStringDesc*) &TMP395),
((NimStringDesc*) &TMP396),
((NimStringDesc*) &TMP397),
((NimStringDesc*) &TMP398),
((NimStringDesc*) &TMP399),
((NimStringDesc*) &TMP400),
((NimStringDesc*) &TMP401),
((NimStringDesc*) &TMP402),
((NimStringDesc*) &TMP403),
((NimStringDesc*) &TMP404),
((NimStringDesc*) &TMP405),
((NimStringDesc*) &TMP406),
((NimStringDesc*) &TMP407),
((NimStringDesc*) &TMP408),
((NimStringDesc*) &TMP409),
((NimStringDesc*) &TMP410),
((NimStringDesc*) &TMP411),
((NimStringDesc*) &TMP412),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP392),
((NimStringDesc*) &TMP413),
((NimStringDesc*) &TMP414),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP415),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP416),
((NimStringDesc*) &TMP417),
((NimStringDesc*) &TMP169),
((NimStringDesc*) &TMP418),
((NimStringDesc*) &TMP419),
((NimStringDesc*) &TMP420),
((NimStringDesc*) &TMP421),
((NimStringDesc*) &TMP422),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP423),
((NimStringDesc*) &TMP424),
((NimStringDesc*) &TMP425),
((NimStringDesc*) &TMP426),
((NimStringDesc*) &TMP427),
((NimStringDesc*) &TMP428),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP147),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP160),
((NimStringDesc*) &TMP160)}
;
STRING_LITERAL(TMP432, "\012", 1);
STRING_LITERAL(TMP435, "Error: ", 7);
STRING_LITERAL(TMP436, "Warning: ", 9);
STRING_LITERAL(TMP437, "CannotOpenFile", 14);
STRING_LITERAL(TMP438, "OctalEscape", 11);
STRING_LITERAL(TMP439, "XIsNeverRead", 12);
STRING_LITERAL(TMP440, "XmightNotBeenInit", 17);
STRING_LITERAL(TMP441, "Deprecated", 10);
STRING_LITERAL(TMP442, "ConfigDeprecated", 16);
STRING_LITERAL(TMP443, "SmallLshouldNotBeUsed", 21);
STRING_LITERAL(TMP444, "UnknownMagic", 12);
STRING_LITERAL(TMP445, "RedefinitionOfLabel", 19);
STRING_LITERAL(TMP446, "UnknownSubstitutionX", 20);
STRING_LITERAL(TMP447, "LanguageXNotSupported", 21);
STRING_LITERAL(TMP448, "FieldXNotSupported", 18);
STRING_LITERAL(TMP449, "CommentXIgnored", 15);
STRING_LITERAL(TMP450, "NilStmt", 7);
STRING_LITERAL(TMP451, "TypelessParam", 13);
STRING_LITERAL(TMP452, "UseBase", 7);
STRING_LITERAL(TMP453, "WriteToForeignHeap", 18);
STRING_LITERAL(TMP454, "UnsafeCode", 10);
STRING_LITERAL(TMP455, "EachIdentIsTuple", 16);
STRING_LITERAL(TMP456, "ShadowIdent", 11);
STRING_LITERAL(TMP457, "ProveInit", 9);
STRING_LITERAL(TMP458, "ProveField", 10);
STRING_LITERAL(TMP459, "ProveIndex", 10);
STRING_LITERAL(TMP460, "GcUnsafe", 8);
STRING_LITERAL(TMP461, "GcUnsafe2", 9);
STRING_LITERAL(TMP462, "Uninit", 6);
STRING_LITERAL(TMP463, "GcMem", 5);
STRING_LITERAL(TMP464, "Destructor", 10);
STRING_LITERAL(TMP465, "LockLevel", 9);
STRING_LITERAL(TMP466, "ResultShadowed", 14);
STRING_LITERAL(TMP467, "User", 4);
NIM_CONST TY182302 Warningstostr_182300 = {((NimStringDesc*) &TMP437),
((NimStringDesc*) &TMP438),
((NimStringDesc*) &TMP439),
((NimStringDesc*) &TMP440),
((NimStringDesc*) &TMP441),
((NimStringDesc*) &TMP442),
((NimStringDesc*) &TMP443),
((NimStringDesc*) &TMP444),
((NimStringDesc*) &TMP445),
((NimStringDesc*) &TMP446),
((NimStringDesc*) &TMP447),
((NimStringDesc*) &TMP448),
((NimStringDesc*) &TMP449),
((NimStringDesc*) &TMP450),
((NimStringDesc*) &TMP451),
((NimStringDesc*) &TMP452),
((NimStringDesc*) &TMP453),
((NimStringDesc*) &TMP454),
((NimStringDesc*) &TMP455),
((NimStringDesc*) &TMP456),
((NimStringDesc*) &TMP457),
((NimStringDesc*) &TMP458),
((NimStringDesc*) &TMP459),
((NimStringDesc*) &TMP460),
((NimStringDesc*) &TMP461),
((NimStringDesc*) &TMP462),
((NimStringDesc*) &TMP463),
((NimStringDesc*) &TMP464),
((NimStringDesc*) &TMP465),
((NimStringDesc*) &TMP466),
((NimStringDesc*) &TMP467)}
;
STRING_LITERAL(TMP468, "Hint: ", 6);
STRING_LITERAL(TMP469, "Success", 7);
STRING_LITERAL(TMP470, "SuccessX", 8);
STRING_LITERAL(TMP471, "LineTooLong", 11);
STRING_LITERAL(TMP472, "XDeclaredButNotUsed", 19);
STRING_LITERAL(TMP473, "ConvToBaseNotNeeded", 19);
STRING_LITERAL(TMP474, "ConvFromXtoItselfNotNeeded", 26);
STRING_LITERAL(TMP475, "ExprAlwaysX", 11);
STRING_LITERAL(TMP476, "QuitCalled", 10);
STRING_LITERAL(TMP477, "Processing", 10);
STRING_LITERAL(TMP478, "CodeBegin", 9);
STRING_LITERAL(TMP479, "CodeEnd", 7);
STRING_LITERAL(TMP480, "Conf", 4);
STRING_LITERAL(TMP481, "Path", 4);
STRING_LITERAL(TMP482, "CondTrue", 8);
STRING_LITERAL(TMP483, "Name", 4);
STRING_LITERAL(TMP484, "Pattern", 7);
STRING_LITERAL(TMP485, "Exec", 4);
STRING_LITERAL(TMP486, "Link", 4);
STRING_LITERAL(TMP487, "Dependency", 10);
STRING_LITERAL(TMP488, "Source", 6);
STRING_LITERAL(TMP489, "StackTrace", 10);
STRING_LITERAL(TMP490, "GCStats", 7);
NIM_CONST TY182308 Hintstostr_182305 = {((NimStringDesc*) &TMP469),
((NimStringDesc*) &TMP470),
((NimStringDesc*) &TMP471),
((NimStringDesc*) &TMP472),
((NimStringDesc*) &TMP473),
((NimStringDesc*) &TMP474),
((NimStringDesc*) &TMP475),
((NimStringDesc*) &TMP476),
((NimStringDesc*) &TMP477),
((NimStringDesc*) &TMP478),
((NimStringDesc*) &TMP479),
((NimStringDesc*) &TMP480),
((NimStringDesc*) &TMP481),
((NimStringDesc*) &TMP482),
((NimStringDesc*) &TMP483),
((NimStringDesc*) &TMP484),
((NimStringDesc*) &TMP485),
((NimStringDesc*) &TMP486),
((NimStringDesc*) &TMP487),
((NimStringDesc*) &TMP488),
((NimStringDesc*) &TMP489),
((NimStringDesc*) &TMP490),
((NimStringDesc*) &TMP467)}
;
STRING_LITERAL(TMP491, " [$1]", 5);
STRING_LITERAL(TMP499, "nimsuggest.log", 14);
STRING_LITERAL(TMP500, "No stack traceback available\012To create a stacktrace, rerun comp"
"ilation with ./koch temp ", 88);
STRING_LITERAL(TMP501, " <file>", 7);
STRING_LITERAL(TMP504, "ropes: invalid format string: ", 30);
STRING_LITERAL(TMP1052, "  ", 2);
STRING_LITERAL(TMP1065, "compiler/msgs.nim", 17);
NIM_CONST TY88687 TMP1064 = {((NimStringDesc*) &TMP1065),
((NI) 1017)}
;
STRING_LITERAL(TMP1933, "Warnings:", 9);
STRING_LITERAL(TMP1934, "  [$1] $2", 9);
STRING_LITERAL(TMP1935, "x", 1);
STRING_LITERAL(TMP1936, " ", 1);
STRING_LITERAL(TMP1995, "Hints:", 6);
NIM_CONST TY182361 Notesverbosity_182359 = {IL64(9130889969139711),
IL64(9412918996631551),
IL64(15762598695796735),
IL64(18014398509481983)}
;
STRING_LITERAL(TMP2823, "suggest done", 12);
STRING_LITERAL(TMP3273, "(", 1);
STRING_LITERAL(TMP3274, ",", 1);
STRING_LITERAL(TMP3275, ")", 1);
NIM_CONST TY88687 TMP4015 = {((NimStringDesc*) &TMP1065),
((NI) 1024)}
;
Table182428 filenametoindextbl_182611;
extern TNimType NTI182428; /* Table */
TY182612* fileinfos_182629;
TNimType NTI182335; /* TFileInfo */
extern TNimType NTI138; /* string */
extern TNimType NTI169004; /* Rope */
TNimType NTI182350; /* seq[Rope] */
TNimType NTI182612; /* seq[TFileInfo] */
extern Gcheap49818 gch_49859;
NI32 systemfileidx_182630;
extern NimStringDesc* tnl_167618;
extern NU32 gglobaloptions_160121;
Tlineinfo182337 gcmdlineinfo_183045;
Tlineinfo182337 gcodegenlineinfo_183056;
NU64 gnotes_183077;
NI gerrorcounter_183078;
NI ghintcounter_183079;
NI gwarncounter_183080;
NI gerrormax_183081;
TY183090* msgcontext_183107;
TNimType NTI182337; /* TLineInfo */
extern TNimType NTI108; /* int16 */
extern TNimType NTI110; /* int32 */
TNimType NTI183090; /* seq[TLineInfo] */
Tlineinfo182337 lasterror_183108;
NU8 erroroutputs_183110;
TY183111 writelnhook_183114;
Tlineinfo182337 gtrackpos_183441;
extern TY169017 errorhandler_169022;
extern NU8 gcmd_160123;
extern NIM_BOOL glistfullpaths_160135;
extern NU32 goptions_160119;
extern NimStringDesc* command_160205;
extern NI8 gexitcode_160122;
extern TNimType NTI3646; /* ValueError */
TNimType NTI182343; /* ERecoverableError */
TNimType NTI183064; /* ref ERecoverableError */
extern TSafePoint* exchandler_19437;
extern TNimType NTI3628; /* IOError */
extern Exception* currexception_19439;
TNimType NTI182002; /* TMsgKind */
TNimType NTI182331; /* TNoteKind */
TNimType NTI182333; /* TNoteKinds */
extern TNimType NTI3624; /* Exception */
TNimType NTI182345; /* ESuggestDone */
TNimType NTI183161; /* ref ESuggestDone */
N_NIMCALL(void, TMP144)(void* p, NI op) {
	TY182350* a;
	NI LOC1;
	a = (TY182350*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	nimGCvisit((void*)a->data[LOC1], op);
	}
}
N_NIMCALL(void, TMP145)(void* p, NI op) {
	TY182612* a;
	NI LOC1;
	a = (TY182612*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	nimGCvisit((void*)a->data[LOC1].fullpath, op);
	nimGCvisit((void*)a->data[LOC1].projpath, op);
	nimGCvisit((void*)a->data[LOC1].shortname, op);
	nimGCvisit((void*)a->data[LOC1].quotedname, op);
	nimGCvisit((void*)a->data[LOC1].lines, op);
	nimGCvisit((void*)a->data[LOC1].dirtyfile, op);
	}
}

static N_INLINE(Cell47505*, usrtocell_51440)(void* usr) {
	Cell47505* result;
	result = 0;
	result = ((Cell47505*) ((NI)((NU64)(((NI) (usr))) - (NU64)(((NI)sizeof(Cell47505))))));
	return result;
}

static N_INLINE(void, rtladdzct_53001)(Cell47505* c) {
	addzct_51417((&gch_49859.zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	Cell47505* c;
	c = usrtocell_51440(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3;
		rtladdzct_53001(c);
	}
	LA3: ;
}

static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	memcpy(((NCSTRING) ((&(*dest).data[((*dest).Sup.len)- 0]))), ((NCSTRING) ((*src).data)), (NI)((*src).Sup.len + ((NI) 1)));
	(*dest).Sup.len += (*src).Sup.len;
}

static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c) {
	(*dest).data[((*dest).Sup.len)- 0] = c;
	(*dest).data[((NI)((*dest).Sup.len + ((NI) 1)))- 0] = 0;
	(*dest).Sup.len += ((NI) 1);
}

N_NIMCALL(NimStringDesc*, tocchar_182633)(NIM_CHAR c) {
	NimStringDesc* result;
	result = 0;
	switch (((NU8)(c))) {
	case 0 ... 31:
	case 128 ... 255:
	{
		NimStringDesc* LOC2;
		NimStringDesc* LOC3;
		LOC2 = 0;
		LOC3 = 0;
		LOC3 = nsuToOctal(c);
		LOC2 = rawNewString(LOC3->Sup.len + 1);
appendChar(LOC2, 92);
appendString(LOC2, LOC3);
		result = LOC2;
	}
	break;
	case 39:
	case 34:
	case 92:
	{
		NimStringDesc* LOC5;
		LOC5 = 0;
		LOC5 = rawNewString(2);
appendChar(LOC5, 92);
appendChar(LOC5, c);
		result = LOC5;
	}
	break;
	default:
	{
		result = nimCharToStr(c);
	}
	break;
	}
	return result;
}

N_NIMCALL(Ropeobj169006*, makecstring_182637)(NimStringDesc* s) {
	Ropeobj169006* result;
	NimStringDesc* res;
	Ropeobj169006* LOC9;
	result = 0;
	result = NIM_NIL;
	res = rawNewString(((NI) ((NI)(((NI) (((NF)(((double) ((s ? s->Sup.len : 0)))) * (NF)(1.1000000000000001e+00)))) + ((NI) 1)))));
	res = resizeString(res, 1);
appendString(res, ((NimStringDesc*) &TMP148));
	{
		NI i_182654;
		NI HEX3Atmp_182659;
		NI res_182662;
		i_182654 = 0;
		HEX3Atmp_182659 = 0;
		HEX3Atmp_182659 = (NI)((s ? s->Sup.len : 0) - ((NI) 1));
		res_182662 = ((NI) 0);
		{
			while (1) {
				NimStringDesc* LOC8;
				if (!(res_182662 <= HEX3Atmp_182659)) goto LA3;
				i_182654 = res_182662;
				{
					if (!(((NI) ((NI)((NI)(i_182654 + ((NI) 1)) % ((NI) 64)))) == ((NI) 0))) goto LA6;
					res = addChar(res, 34);
					res = resizeString(res, tnl_167618->Sup.len + 0);
appendString(res, tnl_167618);
					res = addChar(res, 34);
				}
				LA6: ;
				LOC8 = 0;
				LOC8 = tocchar_182633(s->data[i_182654]);
				res = resizeString(res, LOC8->Sup.len + 0);
appendString(res, LOC8);
				res_182662 += ((NI) 1);
			} LA3: ;
		}
	}
	res = addChar(res, 34);
	LOC9 = 0;
	LOC9 = rope_169277(res);
	add_169482(&result, LOC9);
	return result;
}

N_NIMCALL(void, newfileinfo_182666)(NimStringDesc* fullpath, NimStringDesc* projpath, Tfileinfo182335* Result) {
	NimStringDesc* filename;
	unsureAsgnRef((void**) (&(*Result).fullpath), copyString(fullpath));
	unsureAsgnRef((void**) (&(*Result).projpath), copyString(projpath));
	filename = nosextractFilename(projpath);
	unsureAsgnRef((void**) (&(*Result).shortname), noschangeFileExt(filename, ((NimStringDesc*) &TMP147)));
	unsureAsgnRef((void**) (&(*Result).quotedname), makecstring_182637(filename));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((gglobaloptions_160121 &(1U<<((NU)(((NU8) 28))&31U)))!=0);
		if (LOC3) goto LA4;
		LOC3 = NIM_TRUE;
		LA4: ;
		if (!LOC3) goto LA5;
		unsureAsgnRef((void**) (&(*Result).lines), (TY182350*) newSeq((&NTI182350), 0));
	}
	LA5: ;
}

N_NIMCALL(Tlineinfo182337, newlineinfo_183023)(NI32 fileinfoidx, NI line, NI col) {
	Tlineinfo182337 result;
	memset((void*)(&result), 0, sizeof(result));
	result.fileindex = fileinfoidx;
	result.line = ((NI16) (line));
	result.col = ((NI16) (col));
	return result;
}
N_NIMCALL(void, TMP152)(void* p, NI op) {
	TY183090* a;
	NI LOC1;
	a = (TY183090*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	}
}

N_NIMCALL(Tlineinfo182337, unknownlineinfo_183087)(void) {
	Tlineinfo182337 result;
	memset((void*)(&result), 0, sizeof(result));
	result.line = ((NI16) -1);
	result.col = ((NI16) -1);
	result.fileindex = ((NI32) -1);
	return result;
}

N_NIMCALL(NIM_BOOL, HEX3DHEX3D_184125)(Tlineinfo182337 a, Tlineinfo182337 b) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (a.line == b.line);
	if (!(LOC1)) goto LA2;
	LOC1 = (a.fileindex == b.fileindex);
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(NimStringDesc*, tomsgfilename_183411)(Tlineinfo182337 info) {
	NimStringDesc* result;
	result = 0;
	{
		if (!(info.fileindex < ((NI32) 0))) goto LA3;
		result = copyString(((NimStringDesc*) &TMP155));
	}
	goto LA1;
	LA3: ;
	{
		if (!glistfullpaths_160135) goto LA6;
		result = copyString(fileinfos_182629->data[info.fileindex].fullpath);
	}
	goto LA1;
	LA6: ;
	{
		result = copyString(fileinfos_182629->data[info.fileindex].projpath);
	}
	LA1: ;
	return result;
}

N_NIMCALL(NimStringDesc*, coordtostr_183739)(NI coord) {
	NimStringDesc* result;
	result = 0;
	{
		if (!(coord == ((NI) -1))) goto LA3;
		result = copyString(((NimStringDesc*) &TMP155));
	}
	goto LA1;
	LA3: ;
	{
		result = nimIntToStr(coord);
	}
	LA1: ;
	return result;
}

N_NIMCALL(NimStringDesc*, msgkindtostring_183743)(NU16 kind) {
	NimStringDesc* result;
	result = 0;
	result = copyString(Msgkindtostr_182294[(kind)- 0]);
	return result;
}

N_NIMCALL(NimStringDesc*, getmessagestr_183747)(NU16 msg, NimStringDesc* arg) {
	NimStringDesc* result;
	NimStringDesc* LOC1;
	TY183752 LOC2;
	result = 0;
	LOC1 = 0;
	LOC1 = msgkindtostring_183743(msg);
	memset((void*)LOC2, 0, sizeof(LOC2));
	LOC2[0] = copyString(arg);
	result = nsuFormatOpenArray(LOC1, LOC2, 1);
	return result;
}

static N_INLINE(void, writeline_161405)(FILE* f, NimStringDesc** x, NI xLen0) {
	{
		NimStringDesc* i_161420;
		NI i_161428;
		i_161420 = 0;
		i_161428 = ((NI) 0);
		{
			while (1) {
				if (!(i_161428 < xLen0)) goto LA3;
				i_161420 = x[i_161428];
				write_15489(f, i_161420);
				i_161428 += ((NI) 1);
			} LA3: ;
		}
	}
	write_15489(f, ((NimStringDesc*) &TMP432));
}

N_NIMCALL(void, writecontext_184130)(Tlineinfo182337 lastinfo) {
	Tlineinfo182337 info;
	info = lastinfo;
	{
		NI i_184153;
		NI HEX3Atmp_184606;
		NI res_184609;
		i_184153 = 0;
		HEX3Atmp_184606 = 0;
		HEX3Atmp_184606 = (NI)((msgcontext_183107 ? msgcontext_183107->Sup.len : 0) - ((NI) 1));
		res_184609 = ((NI) 0);
		{
			while (1) {
				if (!(res_184609 <= HEX3Atmp_184606)) goto LA3;
				i_184153 = res_184609;
				{
					NIM_BOOL LOC6;
					NIM_BOOL LOC7;
					NIM_BOOL LOC9;
					LOC6 = 0;
					LOC7 = 0;
					LOC7 = HEX3DHEX3D_184125(msgcontext_183107->data[i_184153], lastinfo);
					LOC6 = !(LOC7);
					if (!(LOC6)) goto LA8;
					LOC9 = 0;
					LOC9 = HEX3DHEX3D_184125(msgcontext_183107->data[i_184153], info);
					LOC6 = !(LOC9);
					LA8: ;
					if (!LOC6) goto LA10;
					{
						NimStringDesc* s_184172;
						if (!!(writelnhook_183114.ClPrc == 0)) goto LA14;
						s_184172 = copyString(((NimStringDesc*) &TMP147));
						{
							NimStringDesc* arg_184174;
							NI i_184605;
							arg_184174 = 0;
							i_184605 = ((NI) 0);
							{
								while (1) {
									TY184169 LOC19;
									TY184156 LOC20;
									if (!(i_184605 < ((NI) 2))) goto LA18;
									memset((void*)LOC19, 0, sizeof(LOC19));
									memset((void*)LOC20, 0, sizeof(LOC20));
									LOC20[0] = tomsgfilename_183411(msgcontext_183107->data[i_184153]);
									LOC20[1] = coordtostr_183739(((NI) (msgcontext_183107->data[i_184153].line)));
									LOC20[2] = coordtostr_183739(((NI) ((NI16)(msgcontext_183107->data[i_184153].col + ((NI16) 1)))));
									LOC19[0] = nsuFormatOpenArray(((NimStringDesc*) &TMP154), LOC20, 3);
									LOC19[1] = getmessagestr_183747(((NU16) 189), ((NimStringDesc*) &TMP147));
									arg_184174 = LOC19[(i_184605)- 0];
									s_184172 = resizeString(s_184172, arg_184174->Sup.len + 0);
appendString(s_184172, arg_184174);
									i_184605 += ((NI) 1);
								} LA18: ;
							}
						}
						writelnhook_183114.ClEnv? writelnhook_183114.ClPrc(s_184172, writelnhook_183114.ClEnv):((TMP429)(writelnhook_183114.ClPrc))(s_184172);
					}
					goto LA12;
					LA14: ;
					{
						if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 23))&31U)))!=0)) goto LA22;
						{
							TY184169 LOC28;
							TY184156 LOC29;
							if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA26;
							memset((void*)LOC28, 0, sizeof(LOC28));
							memset((void*)LOC29, 0, sizeof(LOC29));
							LOC29[0] = tomsgfilename_183411(msgcontext_183107->data[i_184153]);
							LOC29[1] = coordtostr_183739(((NI) (msgcontext_183107->data[i_184153].line)));
							LOC29[2] = coordtostr_183739(((NI) ((NI16)(msgcontext_183107->data[i_184153].col + ((NI16) 1)))));
							LOC28[0] = nsuFormatOpenArray(((NimStringDesc*) &TMP154), LOC29, 3);
							LOC28[1] = getmessagestr_183747(((NU16) 189), ((NimStringDesc*) &TMP147));
							writeline_161405(stdout, LOC28, 2);
							fflush(stdout);
						}
						LA26: ;
					}
					goto LA12;
					LA22: ;
					{
						{
							if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 1))&7U)))!=0)) goto LA33;
							{
								TY184156 LOC39;
								NimStringDesc* LOC40;
								NimStringDesc* LOC41;
								if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 21))&31U)))!=0)) goto LA37;
								setstyle_179601(stderr, 1);
								memset((void*)LOC39, 0, sizeof(LOC39));
								LOC39[0] = tomsgfilename_183411(msgcontext_183107->data[i_184153]);
								LOC39[1] = coordtostr_183739(((NI) (msgcontext_183107->data[i_184153].line)));
								LOC39[2] = coordtostr_183739(((NI) ((NI16)(msgcontext_183107->data[i_184153].col + ((NI16) 1)))));
								LOC40 = 0;
								LOC40 = nsuFormatOpenArray(((NimStringDesc*) &TMP154), LOC39, 3);
								write_15489(stderr, LOC40);
								resetattributes_179203(stderr);
								LOC41 = 0;
								LOC41 = getmessagestr_183747(((NU16) 189), ((NimStringDesc*) &TMP147));
								write_15489(stderr, LOC41);
								write_15489(stderr, ((NimStringDesc*) &TMP432));
								resetattributes_179203(stderr);
							}
							goto LA35;
							LA37: ;
							{
								TY184169 LOC43;
								TY184156 LOC44;
								memset((void*)LOC43, 0, sizeof(LOC43));
								memset((void*)LOC44, 0, sizeof(LOC44));
								LOC44[0] = tomsgfilename_183411(msgcontext_183107->data[i_184153]);
								LOC44[1] = coordtostr_183739(((NI) (msgcontext_183107->data[i_184153].line)));
								LOC44[2] = coordtostr_183739(((NI) ((NI16)(msgcontext_183107->data[i_184153].col + ((NI16) 1)))));
								LOC43[0] = nsuFormatOpenArray(((NimStringDesc*) &TMP154), LOC44, 3);
								LOC43[1] = getmessagestr_183747(((NU16) 189), ((NimStringDesc*) &TMP147));
								writeline_161405(stderr, LOC43, 2);
							}
							LA35: ;
						}
						LA33: ;
					}
					LA12: ;
				}
				LA10: ;
				info = msgcontext_183107->data[i_184153];
				res_184609 += ((NI) 1);
			} LA3: ;
		}
	}
}

N_NIMCALL(NIM_BOOL, ignoremsgbecauseofidetools_184613)(NU16 msg) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	NIM_BOOL LOC2;
	result = 0;
	LOC1 = 0;
	LOC2 = 0;
	LOC2 = (((NU16) 4) <= msg);
	if (!(LOC2)) goto LA3;
	LOC2 = (gcmd_160123 == ((NU8) 14));
	LA3: ;
	LOC1 = LOC2;
	if (!(LOC1)) goto LA4;
	LOC1 = !(((gglobaloptions_160121 &(1U<<((NU)(((NU8) 29))&31U)))!=0));
	LA4: ;
	result = LOC1;
	return result;
}

static N_INLINE(void, writeln_184014)(FILE* f, NimStringDesc** x, NI xLen0) {
	{
		NimStringDesc* i_184029;
		NI i_184037;
		i_184029 = 0;
		i_184037 = ((NI) 0);
		{
			while (1) {
				if (!(i_184037 < xLen0)) goto LA3;
				i_184029 = x[i_184037];
				write_15489(f, i_184029);
				i_184037 += ((NI) 1);
			} LA3: ;
		}
	}
	write_15489(f, ((NimStringDesc*) &TMP432));
}

N_NIMCALL(void, log_184005)(NimStringDesc* s) {
	FILE* f;
	f = 0;
	{
		NIM_BOOL LOC3;
		TY183752 LOC6;
		LOC3 = 0;
		LOC3 = open_15403(&f, ((NimStringDesc*) &TMP499), ((NU8) 4), ((NI) -1));
		if (!LOC3) goto LA4;
		memset((void*)LOC6, 0, sizeof(LOC6));
		LOC6[0] = copyString(s);
		writeln_184014(f, LOC6, 1);
		fclose(f);
	}
	LA4: ;
}

N_NIMCALL(void, quit_183759)(NU16 msg) {
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = NIM_FALSE;
		if (LOC4) goto LA5;
		LOC4 = (msg == ((NU16) 2));
		LA5: ;
		LOC3 = LOC4;
		if (LOC3) goto LA6;
		LOC3 = ((gnotes_183077 &((NU64)1<<((NU)((((NU16) 288)- 237))&63U)))!=0);
		LA6: ;
		if (!LOC3) goto LA7;
		{
			NIM_BOOL LOC11;
			LOC11 = 0;
			LOC11 = stacktraceavailable_20272();
			if (!(LOC11)) goto LA12;
			LOC11 = writelnhook_183114.ClPrc == 0;
			LA12: ;
			if (!LOC11) goto LA13;
			writestacktrace_18807();
		}
		goto LA9;
		LA13: ;
		{
			{
				NimStringDesc* s_183803;
				if (!!(writelnhook_183114.ClPrc == 0)) goto LA18;
				s_183803 = copyString(((NimStringDesc*) &TMP147));
				{
					NimStringDesc* arg_183805;
					NI i_184004;
					arg_183805 = 0;
					i_184004 = ((NI) 0);
					{
						while (1) {
							TY183752 LOC23;
							NimStringDesc* LOC24;
							if (!(i_184004 < ((NI) 1))) goto LA22;
							memset((void*)LOC23, 0, sizeof(LOC23));
							LOC24 = 0;
							LOC24 = rawNewString(command_160205->Sup.len + 95);
appendString(LOC24, ((NimStringDesc*) &TMP500));
appendString(LOC24, command_160205);
appendString(LOC24, ((NimStringDesc*) &TMP501));
							LOC23[0] = LOC24;
							arg_183805 = LOC23[(i_184004)- 0];
							s_183803 = resizeString(s_183803, arg_183805->Sup.len + 0);
appendString(s_183803, arg_183805);
							i_184004 += ((NI) 1);
						} LA22: ;
					}
				}
				writelnhook_183114.ClEnv? writelnhook_183114.ClPrc(s_183803, writelnhook_183114.ClEnv):((TMP502)(writelnhook_183114.ClPrc))(s_183803);
			}
			goto LA16;
			LA18: ;
			{
				if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 23))&31U)))!=0)) goto LA26;
				{
					TY183752 LOC32;
					NimStringDesc* LOC33;
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA30;
					memset((void*)LOC32, 0, sizeof(LOC32));
					LOC33 = 0;
					LOC33 = rawNewString(command_160205->Sup.len + 95);
appendString(LOC33, ((NimStringDesc*) &TMP500));
appendString(LOC33, command_160205);
appendString(LOC33, ((NimStringDesc*) &TMP501));
					LOC32[0] = LOC33;
					writeline_161405(stdout, LOC32, 1);
					fflush(stdout);
				}
				LA30: ;
			}
			goto LA16;
			LA26: ;
			{
				{
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 1))&7U)))!=0)) goto LA37;
					{
						NimStringDesc* LOC43;
						if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 21))&31U)))!=0)) goto LA41;
						setforegroundcolor_180045(stderr, ((NU8) 31), NIM_FALSE);
						LOC43 = 0;
						LOC43 = rawNewString(command_160205->Sup.len + 95);
appendString(LOC43, ((NimStringDesc*) &TMP500));
appendString(LOC43, command_160205);
appendString(LOC43, ((NimStringDesc*) &TMP501));
						write_15489(stderr, LOC43);
						write_15489(stderr, ((NimStringDesc*) &TMP432));
						resetattributes_179203(stderr);
					}
					goto LA39;
					LA41: ;
					{
						TY183752 LOC45;
						NimStringDesc* LOC46;
						memset((void*)LOC45, 0, sizeof(LOC45));
						LOC46 = 0;
						LOC46 = rawNewString(command_160205->Sup.len + 95);
appendString(LOC46, ((NimStringDesc*) &TMP500));
appendString(LOC46, command_160205);
appendString(LOC46, ((NimStringDesc*) &TMP501));
						LOC45[0] = LOC46;
						writeline_161405(stderr, LOC45, 1);
					}
					LA39: ;
				}
				LA37: ;
			}
			LA16: ;
		}
		LA9: ;
	}
	LA7: ;
	exit(((NI) 1));
}
N_NIMCALL(void, TMP503)(void* p, NI op) {
	Erecoverableerror182343* a;
	a = (Erecoverableerror182343*)p;
	nimGCvisit((void*)(*a).Sup.Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.Sup.message, op);
	nimGCvisit((void*)(*a).Sup.Sup.trace, op);
}

N_NOINLINE(void, raiserecoverableerror_183057)(NimStringDesc* msg) {
	Erecoverableerror182343* e_183063;
	NimStringDesc* LOC1;
	e_183063 = 0;
	e_183063 = (Erecoverableerror182343*) newObj((&NTI183064), sizeof(Erecoverableerror182343));
	(*e_183063).Sup.Sup.Sup.m_type = (&NTI182343);
	LOC1 = 0;
	LOC1 = (*e_183063).Sup.Sup.message; (*e_183063).Sup.Sup.message = copyStringRC1(msg);
	if (LOC1) nimGCunrefNoCycle(LOC1);
	raiseException((Exception*)e_183063, "ERecoverableError");
}

N_NIMCALL(void, handleerror_184039)(NU16 msg, NU8 eh, NimStringDesc* s) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (((NU16) 0) <= msg);
		if (!(LOC3)) goto LA4;
		LOC3 = (msg <= ((NU16) 2));
		LA4: ;
		if (!LOC3) goto LA5;
		{
			if (!(gcmd_160123 == ((NU8) 14))) goto LA9;
			log_184005(s);
		}
		LA9: ;
		quit_183759(msg);
	}
	LA5: ;
	{
		NIM_BOOL LOC13;
		LOC13 = 0;
		LOC13 = (((NU16) 0) <= msg);
		if (!(LOC13)) goto LA14;
		LOC13 = (msg <= ((NU16) 236));
		LA14: ;
		if (!LOC13) goto LA15;
		gerrorcounter_183078 += ((NI) 1);
		gexitcode_160122 = ((NI8) 1);
		{
			if (!(gerrormax_183081 <= gerrorcounter_183078)) goto LA19;
			quit_183759(msg);
		}
		goto LA17;
		LA19: ;
		{
			NIM_BOOL LOC22;
			LOC22 = 0;
			LOC22 = (eh == ((NU8) 1));
			if (!(LOC22)) goto LA23;
			LOC22 = !((gcmd_160123 == ((NU8) 14)));
			LA23: ;
			if (!LOC22) goto LA24;
			quit_183759(msg);
		}
		goto LA17;
		LA24: ;
		{
			if (!(eh == ((NU8) 2))) goto LA27;
			raiserecoverableerror_183057(s);
		}
		goto LA17;
		LA27: ;
		LA17: ;
	}
	LA15: ;
}

N_NIMCALL(void, rawmessage_184645)(NU16 msg, NimStringDesc** args, NI argsLen0) {
	NimStringDesc* title;
	NU8 color;
	NimStringDesc* kind;
	NimStringDesc* s_184747;
	NimStringDesc* LOC22;
{	title = 0;
	color = 0;
	kind = 0;
	switch (msg) {
	case ((NU16) 0) ... ((NU16) 236):
	{
		Tlineinfo182337 LOC2;
		LOC2 = unknownlineinfo_183087();
		writecontext_184130(LOC2);
		title = copyString(((NimStringDesc*) &TMP435));
		color = ((NU8) 31);
	}
	break;
	case ((NU16) 237) ... ((NU16) 267):
	{
		Tlineinfo182337 LOC12;
		{
			if (!!(((goptions_160119 &(1U<<((NU)(((NU8) 11))&31U)))!=0))) goto LA6;
			goto BeforeRet;
		}
		LA6: ;
		{
			if (!!(((gnotes_183077 &((NU64)1<<((NU)((((NU16) (msg))- 237))&63U)))!=0))) goto LA10;
			goto BeforeRet;
		}
		LA10: ;
		LOC12 = unknownlineinfo_183087();
		writecontext_184130(LOC12);
		title = copyString(((NimStringDesc*) &TMP436));
		color = ((NU8) 33);
		kind = copyString(Warningstostr_182300[((NI)(((NI) (msg)) - ((NI) 237)))- 0]);
		gwarncounter_183080 += ((NI) 1);
	}
	break;
	case ((NU16) 268) ... ((NU16) 290):
	{
		{
			if (!!(((goptions_160119 &(1U<<((NU)(((NU8) 12))&31U)))!=0))) goto LA16;
			goto BeforeRet;
		}
		LA16: ;
		{
			if (!!(((gnotes_183077 &((NU64)1<<((NU)((((NU16) (msg))- 237))&63U)))!=0))) goto LA20;
			goto BeforeRet;
		}
		LA20: ;
		title = copyString(((NimStringDesc*) &TMP468));
		color = ((NU8) 32);
		kind = copyString(Hintstostr_182305[((NI)(((NI) (msg)) - ((NI) 268)))- 0]);
		ghintcounter_183079 += ((NI) 1);
	}
	break;
	}
	LOC22 = 0;
	LOC22 = msgkindtostring_183743(msg);
	s_184747 = nsuFormatOpenArray(LOC22, args, argsLen0);
	{
		NIM_BOOL LOC25;
		LOC25 = 0;
		LOC25 = ignoremsgbecauseofidetools_184613(msg);
		if (!!(LOC25)) goto LA26;
		{
			if (!!((kind == NIM_NIL))) goto LA30;
			{
				NimStringDesc* s_184765;
				if (!!(writelnhook_183114.ClPrc == 0)) goto LA34;
				s_184765 = copyString(((NimStringDesc*) &TMP147));
				{
					NimStringDesc* arg_184767;
					NI i_185607;
					arg_184767 = 0;
					i_185607 = ((NI) 0);
					{
						while (1) {
							TY184156 LOC39;
							if (!(i_185607 < ((NI) 3))) goto LA38;
							memset((void*)LOC39, 0, sizeof(LOC39));
							LOC39[0] = copyString(title);
							LOC39[1] = copyString(s_184747);
							LOC39[2] = nsuFormatSingleElem(((NimStringDesc*) &TMP491), kind);
							arg_184767 = LOC39[(i_185607)- 0];
							s_184765 = resizeString(s_184765, arg_184767->Sup.len + 0);
appendString(s_184765, arg_184767);
							i_185607 += ((NI) 1);
						} LA38: ;
					}
				}
				writelnhook_183114.ClEnv? writelnhook_183114.ClPrc(s_184765, writelnhook_183114.ClEnv):((TMP492)(writelnhook_183114.ClPrc))(s_184765);
			}
			goto LA32;
			LA34: ;
			{
				if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 23))&31U)))!=0)) goto LA41;
				{
					TY184156 LOC47;
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA45;
					memset((void*)LOC47, 0, sizeof(LOC47));
					LOC47[0] = copyString(title);
					LOC47[1] = copyString(s_184747);
					LOC47[2] = nsuFormatSingleElem(((NimStringDesc*) &TMP491), kind);
					writeline_161405(stdout, LOC47, 3);
					fflush(stdout);
				}
				LA45: ;
			}
			goto LA32;
			LA41: ;
			{
				{
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 1))&7U)))!=0)) goto LA51;
					{
						NimStringDesc* LOC57;
						if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 21))&31U)))!=0)) goto LA55;
						setforegroundcolor_180045(stderr, color, NIM_FALSE);
						write_15489(stderr, title);
						resetattributes_179203(stderr);
						write_15489(stderr, s_184747);
						setforegroundcolor_180045(stderr, ((NU8) 36), NIM_FALSE);
						LOC57 = 0;
						LOC57 = nsuFormatSingleElem(((NimStringDesc*) &TMP491), kind);
						write_15489(stderr, LOC57);
						write_15489(stderr, ((NimStringDesc*) &TMP432));
						resetattributes_179203(stderr);
					}
					goto LA53;
					LA55: ;
					{
						TY184156 LOC59;
						memset((void*)LOC59, 0, sizeof(LOC59));
						LOC59[0] = copyString(title);
						LOC59[1] = copyString(s_184747);
						LOC59[2] = nsuFormatSingleElem(((NimStringDesc*) &TMP491), kind);
						writeline_161405(stderr, LOC59, 3);
					}
					LA53: ;
				}
				LA51: ;
			}
			LA32: ;
		}
		goto LA28;
		LA30: ;
		{
			{
				NimStringDesc* s_185217;
				if (!!(writelnhook_183114.ClPrc == 0)) goto LA63;
				s_185217 = copyString(((NimStringDesc*) &TMP147));
				{
					NimStringDesc* arg_185219;
					NI i_185611;
					arg_185219 = 0;
					i_185611 = ((NI) 0);
					{
						while (1) {
							TY184169 LOC68;
							if (!(i_185611 < ((NI) 2))) goto LA67;
							memset((void*)LOC68, 0, sizeof(LOC68));
							LOC68[0] = copyString(title);
							LOC68[1] = copyString(s_184747);
							arg_185219 = LOC68[(i_185611)- 0];
							s_185217 = resizeString(s_185217, arg_185219->Sup.len + 0);
appendString(s_185217, arg_185219);
							i_185611 += ((NI) 1);
						} LA67: ;
					}
				}
				writelnhook_183114.ClEnv? writelnhook_183114.ClPrc(s_185217, writelnhook_183114.ClEnv):((TMP493)(writelnhook_183114.ClPrc))(s_185217);
			}
			goto LA61;
			LA63: ;
			{
				if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 23))&31U)))!=0)) goto LA70;
				{
					TY184169 LOC76;
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA74;
					memset((void*)LOC76, 0, sizeof(LOC76));
					LOC76[0] = copyString(title);
					LOC76[1] = copyString(s_184747);
					writeline_161405(stdout, LOC76, 2);
					fflush(stdout);
				}
				LA74: ;
			}
			goto LA61;
			LA70: ;
			{
				{
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 1))&7U)))!=0)) goto LA80;
					{
						if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 21))&31U)))!=0)) goto LA84;
						setforegroundcolor_180045(stderr, color, NIM_FALSE);
						write_15489(stderr, title);
						resetattributes_179203(stderr);
						write_15489(stderr, s_184747);
						write_15489(stderr, ((NimStringDesc*) &TMP432));
						resetattributes_179203(stderr);
					}
					goto LA82;
					LA84: ;
					{
						TY184169 LOC87;
						memset((void*)LOC87, 0, sizeof(LOC87));
						LOC87[0] = copyString(title);
						LOC87[1] = copyString(s_184747);
						writeline_161405(stderr, LOC87, 2);
					}
					LA82: ;
				}
				LA80: ;
			}
			LA61: ;
		}
		LA28: ;
	}
	LA26: ;
	handleerror_184039(msg, ((NU8) 1), s_184747);
	}BeforeRet: ;
}

N_NIMCALL(void, rawmessage_185612)(NU16 msg, NimStringDesc* arg) {
	TY183752 LOC1;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = copyString(arg);
	rawmessage_184645(msg, LOC1, 1);
}

N_NIMCALL(void, internalerror_187113)(NimStringDesc* errmsg) {
	Tlineinfo182337 LOC5;
{	{
		if (!(gcmd_160123 == ((NU8) 14))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	LOC5 = unknownlineinfo_183087();
	writecontext_184130(LOC5);
	rawmessage_185612(((NU16) 2), errmsg);
	}BeforeRet: ;
}

N_NIMCALL(void, HEX3Aanonymous_187429)(NU8 err, NimStringDesc* msg, NIM_BOOL usewarning) {
	switch (err) {
	case ((NU8) 1):
	{
		NimStringDesc* LOC2;
		LOC2 = 0;
		LOC2 = rawNewString(msg->Sup.len + 30);
appendString(LOC2, ((NimStringDesc*) &TMP504));
appendString(LOC2, msg);
		internalerror_187113(LOC2);
	}
	break;
	case ((NU8) 0):
	{
		NU16 LOC4;
		LOC4 = 0;
		{
			if (!usewarning) goto LA7;
			LOC4 = ((NU16) 237);
		}
		goto LA5;
		LA7: ;
		{
			LOC4 = ((NU16) 3);
		}
		LA5: ;
		rawmessage_185612(LOC4, msg);
	}
	break;
	}
}

static N_INLINE(NIM_BOOL, canbecycleroot_51458)(Cell47505* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).typ).flags &(1U<<((NU)(((NU8) 1))&7U)))!=0));
	return result;
}

static N_INLINE(void, rtladdcycleroot_52220)(Cell47505* c) {
	{
		if (!!((((NI) ((NI)((*c).refcount & ((NI) 3)))) == ((NI) 3)))) goto LA3;
		(*c).refcount = (NI)((NI)((*c).refcount & ((NI) -4)) | ((NI) 3));
		incl_48247((&gch_49859.cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_53819)(Cell47505* c) {
	(*c).refcount = (NI)((NU64)((*c).refcount) + (NU64)(((NI) 8)));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_51458(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_52220(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_53401)(Cell47505* c) {
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA3;
		rtladdzct_53001(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_51458(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_52220(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		Cell47505* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_51440(src);
		incref_53819(LOC5);
	}
	LA3: ;
	{
		Cell47505* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_51440((*dest));
		decref_53401(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

static N_INLINE(NIM_BOOL, contains_187018)(Slice187011 s, NU16 value) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (s.a <= value);
	if (!(LOC1)) goto LA2;
	LOC1 = (value <= s.b);
	LA2: ;
	result = LOC1;
	return result;
}

static N_INLINE(Slice187011, HEX2EHEX2E_187002)(NU16 a, NU16 b) {
	Slice187011 result;
	memset((void*)(&result), 0, sizeof(result));
	result.a = a;
	result.b = b;
	return result;
}

N_NIMCALL(void, msgwriteln_183449)(NimStringDesc* s, NU8 flags) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = !(writelnhook_183114.ClPrc == 0);
		if (!(LOC3)) goto LA4;
		LOC3 = !(((flags &(1U<<((NU)(((NU8) 1))&7U)))!=0));
		LA4: ;
		if (!LOC3) goto LA5;
		writelnhook_183114.ClEnv? writelnhook_183114.ClPrc(s, writelnhook_183114.ClEnv):((TMP1051)(writelnhook_183114.ClPrc))(s);
	}
	goto LA1;
	LA5: ;
	{
		NIM_BOOL LOC8;
		LOC8 = 0;
		LOC8 = ((gglobaloptions_160121 &(1U<<((NU)(((NU8) 23))&31U)))!=0);
		if (LOC8) goto LA9;
		LOC8 = ((flags &(1U<<((NU)(((NU8) 0))&7U)))!=0);
		LA9: ;
		if (!LOC8) goto LA10;
		{
			TY183752 LOC16;
			if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA14;
			memset((void*)LOC16, 0, sizeof(LOC16));
			LOC16[0] = copyString(s);
			writeline_161405(stdout, LOC16, 1);
			fflush(stdout);
		}
		LA14: ;
	}
	goto LA1;
	LA10: ;
	{
		{
			TY183752 LOC22;
			if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 1))&7U)))!=0)) goto LA20;
			memset((void*)LOC22, 0, sizeof(LOC22));
			LOC22[0] = copyString(s);
			writeline_161405(stderr, LOC22, 1);
		}
		LA20: ;
	}
	LA1: ;
}

static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
	(*s).hasRaiseAction = NIM_FALSE;
	(*s).prev = exchandler_19437;
	exchandler_19437 = s;
}

N_NIMCALL(NimStringDesc*, tofullpath_183266)(NI32 fileidx) {
	NimStringDesc* result;
	result = 0;
	{
		if (!(fileidx < ((NI32) 0))) goto LA3;
		result = copyString(((NimStringDesc*) &TMP155));
	}
	goto LA1;
	LA3: ;
	{
		result = copyString(fileinfos_182629->data[fileidx].fullpath);
	}
	LA1: ;
	return result;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		Cell47505* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_51440(src);
		(*c).refcount += ((NI) 8);
	}
	LA3: ;
	{
		Cell47505* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_51440((*dest));
		{
			(*c).refcount -= ((NI) 8);
			if (!((NU64)((*c).refcount) < (NU64)(((NI) 8)))) goto LA11;
			rtladdzct_53001(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(void, addsourceline_187137)(NI32 fileidx, NimStringDesc* line) {
	Ropeobj169006* LOC1;
	LOC1 = 0;
	LOC1 = rope_169277(line);
	fileinfos_182629->data[fileidx].lines = (TY182350*) incrSeqV2(&(fileinfos_182629->data[fileidx].lines)->Sup, sizeof(Ropeobj169006*));
	asgnRefNoCycle((void**) (&fileinfos_182629->data[fileidx].lines->data[fileinfos_182629->data[fileidx].lines->Sup.len]), LOC1);
	++fileinfos_182629->data[fileidx].lines->Sup.len;
}

static N_INLINE(void, popSafePoint)(void) {
	exchandler_19437 = (*exchandler_19437).prev;
}

static N_INLINE(Exception*, getCurrentException)(void) {
	Exception* result;
	result = 0;
	result = currexception_19439;
	return result;
}

static N_INLINE(void, popCurrentException)(void) {
	asgnRef((void**) (&currexception_19439), NIM_NIL);
}

N_NIMCALL(Ropeobj169006*, sourceline_183074)(Tlineinfo182337 i) {
	Ropeobj169006* result;
{	result = 0;
	{
		if (!(i.fileindex < ((NI32) 0))) goto LA3;
		result = NIM_NIL;
		goto BeforeRet;
	}
	LA3: ;
	{
		NIM_BOOL LOC7;
		TSafePoint TMP1053;
		LOC7 = 0;
		LOC7 = !(((gglobaloptions_160121 &(1U<<((NU)(((NU8) 28))&31U)))!=0));
		if (!(LOC7)) goto LA8;
		LOC7 = ((fileinfos_182629->data[i.fileindex].lines ? fileinfos_182629->data[i.fileindex].lines->Sup.len : 0) == ((NI) 0));
		LA8: ;
		if (!LOC7) goto LA9;
		pushSafePoint(&TMP1053);
		TMP1053.status = setjmp(TMP1053.context);
		if (TMP1053.status == 0) {
			{
				NimStringDesc* line_187173;
				NimStringDesc* HEX3Atmp_187411;
				FILE* f_187414;
				NimStringDesc* res_187416;
				line_187173 = 0;
				HEX3Atmp_187411 = 0;
				HEX3Atmp_187411 = tofullpath_183266(i.fileindex);
				f_187414 = open_15417(HEX3Atmp_187411, ((NU8) 0), ((NI) 8000));
				res_187416 = rawNewString(((NI) 80));
				{
					while (1) {
						NIM_BOOL LOC15;
						LOC15 = 0;
						LOC15 = readline_15513(f_187414, (&res_187416));
						if (!LOC15) goto LA14;
						line_187173 = res_187416;
						addsourceline_187137(i.fileindex, line_187173);
					} LA14: ;
				}
				fclose(f_187414);
			}
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI3628))) {
				TMP1053.status = 0;
				popCurrentException();
			}
		}
		if (TMP1053.status != 0) reraiseException();
	}
	LA9: ;
	{
		NimStringDesc* LOC22;
		if (!!((((NI) (i.fileindex)) < (fileinfos_182629 ? fileinfos_182629->Sup.len : 0)))) goto LA20;
		LOC22 = 0;
		LOC22 = HEX24_187183(TMP1064);
		internalerror_187113(LOC22);
	}
	LA20: ;
	{
		if (!((fileinfos_182629->data[i.fileindex].lines ? fileinfos_182629->data[i.fileindex].lines->Sup.len : 0) < ((NI) (i.line)))) goto LA25;
		result = NIM_NIL;
		goto BeforeRet;
	}
	LA25: ;
	result = fileinfos_182629->data[i.fileindex].lines->data[(NI16)(i.line - ((NI16) 1))];
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, writesurroundingsrc_185645)(Tlineinfo182337 info) {
	NimStringDesc* LOC1;
	Ropeobj169006* LOC2;
	NimStringDesc* LOC3;
	NimStringDesc* LOC4;
	NimStringDesc* LOC5;
	LOC1 = 0;
	LOC2 = 0;
	LOC2 = sourceline_183074(info);
	LOC3 = 0;
	LOC3 = HEX24_169856(LOC2);
	LOC1 = rawNewString(LOC3->Sup.len + 2);
appendString(LOC1, ((NimStringDesc*) &TMP1052));
appendString(LOC1, LOC3);
	msgwriteln_183449(LOC1, 0);
	LOC4 = 0;
	LOC5 = 0;
	LOC5 = nsuRepeatChar(32, ((NI) (info.col)));
	LOC4 = rawNewString(LOC5->Sup.len + 3);
appendString(LOC4, ((NimStringDesc*) &TMP1052));
appendString(LOC4, LOC5);
appendChar(LOC4, 94);
	msgwriteln_183449(LOC4, 0);
}

N_NIMCALL(void, limessage_185658)(Tlineinfo182337 info, NU16 msg, NimStringDesc* arg, NU8 eh) {
	NimStringDesc* title;
	NU8 color;
	NimStringDesc* kind;
	NIM_BOOL ignoremsg;
	NimStringDesc* x;
	TY184156 LOC12;
	NimStringDesc* s_185765;
	title = 0;
	color = 0;
	kind = 0;
	ignoremsg = NIM_FALSE;
	switch (msg) {
	case ((NU16) 0) ... ((NU16) 236):
	{
		writecontext_184130(info);
		title = copyString(((NimStringDesc*) &TMP435));
		color = ((NU8) 31);
		lasterror_183108 = info;
	}
	break;
	case ((NU16) 237) ... ((NU16) 267):
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = !(((goptions_160119 &(1U<<((NU)(((NU8) 11))&31U)))!=0));
		if (LOC3) goto LA4;
		LOC3 = !(((gnotes_183077 &((NU64)1<<((NU)((((NU16) (msg))- 237))&63U)))!=0));
		LA4: ;
		ignoremsg = LOC3;
		{
			if (!!(ignoremsg)) goto LA7;
			writecontext_184130(info);
		}
		LA7: ;
		title = copyString(((NimStringDesc*) &TMP436));
		color = ((NU8) 33);
		kind = copyString(Warningstostr_182300[((NI)(((NI) (msg)) - ((NI) 237)))- 0]);
		gwarncounter_183080 += ((NI) 1);
	}
	break;
	case ((NU16) 268) ... ((NU16) 290):
	{
		NIM_BOOL LOC10;
		LOC10 = 0;
		LOC10 = !(((goptions_160119 &(1U<<((NU)(((NU8) 12))&31U)))!=0));
		if (LOC10) goto LA11;
		LOC10 = !(((gnotes_183077 &((NU64)1<<((NU)((((NU16) (msg))- 237))&63U)))!=0));
		LA11: ;
		ignoremsg = LOC10;
		title = copyString(((NimStringDesc*) &TMP468));
		color = ((NU8) 32);
		kind = copyString(Hintstostr_182305[((NI)(((NI) (msg)) - ((NI) 268)))- 0]);
		ghintcounter_183079 += ((NI) 1);
	}
	break;
	}
	memset((void*)LOC12, 0, sizeof(LOC12));
	LOC12[0] = tomsgfilename_183411(info);
	LOC12[1] = coordtostr_183739(((NI) (info.line)));
	LOC12[2] = coordtostr_183739(((NI) ((NI16)(info.col + ((NI16) 1)))));
	x = nsuFormatOpenArray(((NimStringDesc*) &TMP154), LOC12, 3);
	s_185765 = getmessagestr_183747(msg, arg);
	{
		NIM_BOOL LOC15;
		NIM_BOOL LOC17;
		LOC15 = 0;
		LOC15 = !(ignoremsg);
		if (!(LOC15)) goto LA16;
		LOC17 = 0;
		LOC17 = ignoremsgbecauseofidetools_184613(msg);
		LOC15 = !(LOC17);
		LA16: ;
		if (!LOC15) goto LA18;
		{
			if (!!((kind == NIM_NIL))) goto LA22;
			{
				NimStringDesc* s_185784;
				if (!!(writelnhook_183114.ClPrc == 0)) goto LA26;
				s_185784 = copyString(((NimStringDesc*) &TMP147));
				{
					NimStringDesc* arg_185786;
					NI i_187061;
					arg_185786 = 0;
					i_187061 = ((NI) 0);
					{
						while (1) {
							TY185781 LOC31;
							if (!(i_187061 < ((NI) 4))) goto LA30;
							memset((void*)LOC31, 0, sizeof(LOC31));
							LOC31[0] = copyString(x);
							LOC31[1] = copyString(title);
							LOC31[2] = copyString(s_185765);
							LOC31[3] = nsuFormatSingleElem(((NimStringDesc*) &TMP491), kind);
							arg_185786 = LOC31[(i_187061)- 0];
							s_185784 = resizeString(s_185784, arg_185786->Sup.len + 0);
appendString(s_185784, arg_185786);
							i_187061 += ((NI) 1);
						} LA30: ;
					}
				}
				writelnhook_183114.ClEnv? writelnhook_183114.ClPrc(s_185784, writelnhook_183114.ClEnv):((TMP1049)(writelnhook_183114.ClPrc))(s_185784);
			}
			goto LA24;
			LA26: ;
			{
				if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 23))&31U)))!=0)) goto LA33;
				{
					TY185781 LOC39;
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA37;
					memset((void*)LOC39, 0, sizeof(LOC39));
					LOC39[0] = copyString(x);
					LOC39[1] = copyString(title);
					LOC39[2] = copyString(s_185765);
					LOC39[3] = nsuFormatSingleElem(((NimStringDesc*) &TMP491), kind);
					writeline_161405(stdout, LOC39, 4);
					fflush(stdout);
				}
				LA37: ;
			}
			goto LA24;
			LA33: ;
			{
				{
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 1))&7U)))!=0)) goto LA43;
					{
						NimStringDesc* LOC49;
						if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 21))&31U)))!=0)) goto LA47;
						setstyle_179601(stderr, 1);
						write_15489(stderr, x);
						resetattributes_179203(stderr);
						setforegroundcolor_180045(stderr, color, NIM_FALSE);
						write_15489(stderr, title);
						resetattributes_179203(stderr);
						write_15489(stderr, s_185765);
						setforegroundcolor_180045(stderr, ((NU8) 36), NIM_FALSE);
						LOC49 = 0;
						LOC49 = nsuFormatSingleElem(((NimStringDesc*) &TMP491), kind);
						write_15489(stderr, LOC49);
						write_15489(stderr, ((NimStringDesc*) &TMP432));
						resetattributes_179203(stderr);
					}
					goto LA45;
					LA47: ;
					{
						TY185781 LOC51;
						memset((void*)LOC51, 0, sizeof(LOC51));
						LOC51[0] = copyString(x);
						LOC51[1] = copyString(title);
						LOC51[2] = copyString(s_185765);
						LOC51[3] = nsuFormatSingleElem(((NimStringDesc*) &TMP491), kind);
						writeline_161405(stderr, LOC51, 4);
					}
					LA45: ;
				}
				LA43: ;
			}
			LA24: ;
		}
		goto LA20;
		LA22: ;
		{
			{
				NimStringDesc* s_186418;
				if (!!(writelnhook_183114.ClPrc == 0)) goto LA55;
				s_186418 = copyString(((NimStringDesc*) &TMP147));
				{
					NimStringDesc* arg_186420;
					NI i_187065;
					arg_186420 = 0;
					i_187065 = ((NI) 0);
					{
						while (1) {
							TY184156 LOC60;
							if (!(i_187065 < ((NI) 3))) goto LA59;
							memset((void*)LOC60, 0, sizeof(LOC60));
							LOC60[0] = copyString(x);
							LOC60[1] = copyString(title);
							LOC60[2] = copyString(s_185765);
							arg_186420 = LOC60[(i_187065)- 0];
							s_186418 = resizeString(s_186418, arg_186420->Sup.len + 0);
appendString(s_186418, arg_186420);
							i_187065 += ((NI) 1);
						} LA59: ;
					}
				}
				writelnhook_183114.ClEnv? writelnhook_183114.ClPrc(s_186418, writelnhook_183114.ClEnv):((TMP1050)(writelnhook_183114.ClPrc))(s_186418);
			}
			goto LA53;
			LA55: ;
			{
				if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 23))&31U)))!=0)) goto LA62;
				{
					TY184156 LOC68;
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA66;
					memset((void*)LOC68, 0, sizeof(LOC68));
					LOC68[0] = copyString(x);
					LOC68[1] = copyString(title);
					LOC68[2] = copyString(s_185765);
					writeline_161405(stdout, LOC68, 3);
					fflush(stdout);
				}
				LA66: ;
			}
			goto LA53;
			LA62: ;
			{
				{
					if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 1))&7U)))!=0)) goto LA72;
					{
						if (!((gglobaloptions_160121 &(1U<<((NU)(((NU8) 21))&31U)))!=0)) goto LA76;
						setstyle_179601(stderr, 1);
						write_15489(stderr, x);
						resetattributes_179203(stderr);
						setforegroundcolor_180045(stderr, color, NIM_FALSE);
						write_15489(stderr, title);
						resetattributes_179203(stderr);
						write_15489(stderr, s_185765);
						write_15489(stderr, ((NimStringDesc*) &TMP432));
						resetattributes_179203(stderr);
					}
					goto LA74;
					LA76: ;
					{
						TY184156 LOC79;
						memset((void*)LOC79, 0, sizeof(LOC79));
						LOC79[0] = copyString(x);
						LOC79[1] = copyString(title);
						LOC79[2] = copyString(s_185765);
						writeline_161405(stderr, LOC79, 3);
					}
					LA74: ;
				}
				LA72: ;
			}
			LA53: ;
		}
		LA20: ;
		{
			NIM_BOOL LOC82;
			Slice187011 LOC83;
			LOC82 = 0;
			LOC83 = HEX2EHEX2E_187002(((NU16) 0), ((NU16) 236));
			LOC82 = contains_187018(LOC83, msg);
			if (!(LOC82)) goto LA84;
			LOC82 = ((gnotes_183077 &((NU64)1<<((NU)((((NU16) 287)- 237))&63U)))!=0);
			LA84: ;
			if (!LOC82) goto LA85;
			writesurroundingsrc_185645(info);
		}
		LA85: ;
	}
	LA18: ;
	handleerror_184039(msg, eh, s_185765);
}

N_NIMCALL(void, internalerror_187100)(Tlineinfo182337 info, NimStringDesc* errmsg) {
{	{
		if (!(gcmd_160123 == ((NU8) 14))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	writecontext_184130(info);
	limessage_185658(info, ((NU16) 2), errmsg, ((NU8) 1));
	}BeforeRet: ;
}

N_NIMCALL(void, localerror_187085)(Tlineinfo182337 info, NimStringDesc* arg) {
	limessage_185658(info, ((NU16) 4), arg, ((NU8) 0));
}

N_NIMCALL(void, localerror_187080)(Tlineinfo182337 info, NU16 msg, NimStringDesc* arg) {
	limessage_185658(info, msg, arg, ((NU8) 0));
}

N_NIMCALL(NimStringDesc*, tofullpathconsiderdirty_183401)(NI32 fileidx) {
	NimStringDesc* result;
	result = 0;
	{
		if (!(fileidx < ((NI32) 0))) goto LA3;
		result = copyString(((NimStringDesc*) &TMP155));
	}
	goto LA1;
	LA3: ;
	{
		if (!!(fileinfos_182629->data[fileidx].dirtyfile == 0)) goto LA6;
		result = copyString(fileinfos_182629->data[fileidx].dirtyfile);
	}
	goto LA1;
	LA6: ;
	{
		result = copyString(fileinfos_182629->data[fileidx].fullpath);
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, message_187095)(Tlineinfo182337 info, NU16 msg, NimStringDesc* arg) {
	limessage_185658(info, msg, arg, ((NU8) 0));
}

static N_INLINE(void, shallow_89218)(NimStringDesc** s_89221) {
	TGenericSeq* s;
	s = ((TGenericSeq*) ((*s_89221)));
	(*s).reserved = (NI)((*s).reserved | ((NI) (IL64(-9223372036854775807) - IL64(1))));
}

N_NIMCALL(NI32, fileinfoidx_182698)(NimStringDesc* filename, NIM_BOOL* isknownfile) {
	NI32 result;
	NimStringDesc* volatile canon;
	NIM_BOOL pseudopath;
	TSafePoint TMP1225;
	result = 0;
	canon = 0;
	pseudopath = NIM_FALSE;
	pushSafePoint(&TMP1225);
	TMP1225.status = setjmp(TMP1225.context);
	if (TMP1225.status == 0) {
		canon = canonicalizepath_160405(filename);
		shallow_89218((&canon));
		popSafePoint();
	}
	else {
		popSafePoint();
		{
			TMP1225.status = 0;
			canon = copyString(filename);
			pseudopath = NIM_TRUE;
			popCurrentException();
		}
	}
	if (TMP1225.status != 0) reraiseException();
	{
		NIM_BOOL LOC6;
		NI32* LOC9;
		LOC6 = 0;
		LOC6 = haskey_182708(filenametoindextbl_182611, canon);
		if (!LOC6) goto LA7;
		LOC9 = 0;
		LOC9 = HEX5BHEX5D_182740((&filenametoindextbl_182611), canon);
		result = (*LOC9);
	}
	goto LA4;
	LA7: ;
	{
		NimStringDesc* LOC11;
		Tfileinfo182335 LOC17;
		(*isknownfile) = NIM_FALSE;
		result = ((NI32) ((fileinfos_182629 ? fileinfos_182629->Sup.len : 0)));
		LOC11 = 0;
		{
			if (!pseudopath) goto LA14;
			LOC11 = copyString(filename);
		}
		goto LA12;
		LA14: ;
		{
			LOC11 = shortendir_160601(canon);
		}
		LA12: ;
		memset((void*)(&LOC17), 0, sizeof(LOC17));
		newfileinfo_182666(canon, LOC11, (&LOC17));
		fileinfos_182629 = (TY182612*) incrSeqV2(&(fileinfos_182629)->Sup, sizeof(Tfileinfo182335));
		genericAssign((void*)(&fileinfos_182629->data[fileinfos_182629->Sup.len]), (void*)(&LOC17), (&NTI182335));
		++fileinfos_182629->Sup.len;
		HEX5BHEX5DHEX3D_182835((&filenametoindextbl_182611), canon, result);
	}
	LA4: ;
	return result;
}

N_NIMCALL(NI32, fileinfoidx_183016)(NimStringDesc* filename) {
	NI32 result;
	NIM_BOOL dummy;
	result = 0;
	dummy = 0;
	result = fileinfoidx_182698(filename, (&dummy));
	return result;
}

N_NIMCALL(NimStringDesc*, tofilename_183262)(NI32 fileidx) {
	NimStringDesc* result;
	result = 0;
	{
		if (!(fileidx < ((NI32) 0))) goto LA3;
		result = copyString(((NimStringDesc*) &TMP155));
	}
	goto LA1;
	LA3: ;
	{
		result = copyString(fileinfos_182629->data[fileidx].projpath);
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, listwarnings_187434)(void) {
	msgwriteln_183449(((NimStringDesc*) &TMP1933), 0);
	{
		NU16 warn_187614;
		NI res_187648;
		warn_187614 = 0;
		res_187648 = ((NI) 237);
		{
			while (1) {
				TY184169 LOC4;
				NimStringDesc* LOC10;
				if (!(res_187648 <= ((NI) 267))) goto LA3;
				warn_187614 = ((NU16) (res_187648));
				memset((void*)LOC4, 0, sizeof(LOC4));
				{
					if (!((gnotes_183077 &((NU64)1<<((NU)((((NU16) (warn_187614))- 237))&63U)))!=0)) goto LA7;
					LOC4[0] = copyString(((NimStringDesc*) &TMP1935));
				}
				goto LA5;
				LA7: ;
				{
					LOC4[0] = copyString(((NimStringDesc*) &TMP1936));
				}
				LA5: ;
				LOC4[1] = copyString(Warningstostr_182300[((NI)(((NI) (warn_187614)) - ((NI) 237)))- 0]);
				LOC10 = 0;
				LOC10 = nsuFormatOpenArray(((NimStringDesc*) &TMP1934), LOC4, 2);
				msgwriteln_183449(LOC10, 0);
				res_187648 += ((NI) 1);
			} LA3: ;
		}
	}
}

N_NIMCALL(void, listhints_187651)(void) {
	msgwriteln_183449(((NimStringDesc*) &TMP1995), 0);
	{
		NU16 hint_187662;
		NI res_187696;
		hint_187662 = 0;
		res_187696 = ((NI) 268);
		{
			while (1) {
				TY184169 LOC4;
				NimStringDesc* LOC10;
				if (!(res_187696 <= ((NI) 290))) goto LA3;
				hint_187662 = ((NU16) (res_187696));
				memset((void*)LOC4, 0, sizeof(LOC4));
				{
					if (!((gnotes_183077 &((NU64)1<<((NU)((((NU16) (hint_187662))- 237))&63U)))!=0)) goto LA7;
					LOC4[0] = copyString(((NimStringDesc*) &TMP1935));
				}
				goto LA5;
				LA7: ;
				{
					LOC4[0] = copyString(((NimStringDesc*) &TMP1936));
				}
				LA5: ;
				LOC4[1] = copyString(Hintstostr_182305[((NI)(((NI) (hint_187662)) - ((NI) 268)))- 0]);
				LOC10 = 0;
				LOC10 = nsuFormatOpenArray(((NimStringDesc*) &TMP1934), LOC4, 2);
				msgwriteln_183449(LOC10, 0);
				res_187696 += ((NI) 1);
			} LA3: ;
		}
	}
}

N_NIMCALL(void, msgquit_183149)(NI8 x) {
	exit(((NI) (x)));
}

N_NIMCALL(void, setdirtyfile_183270)(NI32 fileidx, NimStringDesc* filename) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = fileinfos_182629->data[fileidx].dirtyfile; fileinfos_182629->data[fileidx].dirtyfile = copyStringRC1(filename);
	if (LOC1) nimGCunrefNoCycle(LOC1);
}

N_NIMCALL(void, suggestwriteln_183117)(NimStringDesc* s) {
	{
		if (!((erroroutputs_183110 &(1U<<((NU)(((NU8) 0))&7U)))!=0)) goto LA3;
		{
			TY183752 LOC9;
			if (!writelnhook_183114.ClPrc == 0) goto LA7;
			memset((void*)LOC9, 0, sizeof(LOC9));
			LOC9[0] = copyString(s);
			writeline_161405(stdout, LOC9, 1);
			fflush(stdout);
		}
		goto LA5;
		LA7: ;
		{
			writelnhook_183114.ClEnv? writelnhook_183114.ClPrc(s, writelnhook_183114.ClEnv):((TMP2098)(writelnhook_183114.ClPrc))(s);
		}
		LA5: ;
	}
	LA3: ;
}

N_NIMCALL(void, globalerror_187071)(Tlineinfo182337 info, NU16 msg, NimStringDesc* arg) {
	limessage_185658(info, msg, arg, ((NU8) 2));
}

N_NIMCALL(void, pushinfocontext_183206)(Tlineinfo182337 info) {
	msgcontext_183107 = (TY183090*) incrSeqV2(&(msgcontext_183107)->Sup, sizeof(Tlineinfo182337));
	msgcontext_183107->data[msgcontext_183107->Sup.len] = info;
	++msgcontext_183107->Sup.len;
}

N_NIMCALL(void, popinfocontext_183219)(void) {
	msgcontext_183107 = (TY183090*) setLengthSeq(&(msgcontext_183107)->Sup, sizeof(Tlineinfo182337), ((NI) ((NI)((msgcontext_183107 ? msgcontext_183107->Sup.len : 0) - ((NI) 1)))));
}
N_NIMCALL(void, TMP2822)(void* p, NI op) {
	Esuggestdone182345* a;
	a = (Esuggestdone182345*)p;
	nimGCvisit((void*)(*a).Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.message, op);
	nimGCvisit((void*)(*a).Sup.trace, op);
}

N_NIMCALL(void, suggestquit_183155)(void) {
	Esuggestdone182345* e_183160;
	NimStringDesc* LOC1;
	e_183160 = 0;
	e_183160 = (Esuggestdone182345*) newObj((&NTI183161), sizeof(Esuggestdone182345));
	(*e_183160).Sup.Sup.m_type = (&NTI182345);
	LOC1 = 0;
	LOC1 = (*e_183160).Sup.message; (*e_183160).Sup.message = copyStringRC1(((NimStringDesc*) &TMP2823));
	if (LOC1) nimGCunrefNoCycle(LOC1);
	raiseException((Exception*)e_183160, "ESuggestDone");
}

N_NIMCALL(void, globalerror_187076)(Tlineinfo182337 info, NimStringDesc* arg) {
	limessage_185658(info, ((NU16) 4), arg, ((NU8) 2));
}

N_NIMCALL(NimStringDesc*, formatmsg_185649)(Tlineinfo182337 info, NU16 msg, NimStringDesc* arg) {
	NimStringDesc* result;
	NimStringDesc* title;
	NimStringDesc* LOC4;
	TY184156 LOC5;
	NimStringDesc* LOC6;
	NimStringDesc* LOC7;
	result = 0;
	switch (msg) {
	case ((NU16) 237) ... ((NU16) 267):
	{
		title = copyString(((NimStringDesc*) &TMP436));
	}
	break;
	case ((NU16) 268) ... ((NU16) 290):
	{
		title = copyString(((NimStringDesc*) &TMP468));
	}
	break;
	default:
	{
		title = copyString(((NimStringDesc*) &TMP435));
	}
	break;
	}
	LOC4 = 0;
	memset((void*)LOC5, 0, sizeof(LOC5));
	LOC5[0] = tomsgfilename_183411(info);
	LOC5[1] = coordtostr_183739(((NI) (info.line)));
	LOC5[2] = coordtostr_183739(((NI) ((NI16)(info.col + ((NI16) 1)))));
	LOC6 = 0;
	LOC6 = nsuFormatOpenArray(((NimStringDesc*) &TMP154), LOC5, 3);
	LOC7 = 0;
	LOC7 = getmessagestr_183747(msg, arg);
	LOC4 = rawNewString(LOC6->Sup.len + title->Sup.len + LOC7->Sup.len + 0);
appendString(LOC4, LOC6);
appendString(LOC4, title);
appendString(LOC4, LOC7);
	result = LOC4;
	return result;
}

N_NIMCALL(void, fatal_187066)(Tlineinfo182337 info, NU16 msg, NimStringDesc* arg) {
	limessage_185658(info, msg, arg, ((NU8) 1));
}

N_NIMCALL(Tlineinfo182337, getinfocontext_183239)(NI index) {
	Tlineinfo182337 result;
	NI L;
	NI i;
	memset((void*)(&result), 0, sizeof(result));
	L = (msgcontext_183107 ? msgcontext_183107->Sup.len : 0);
	{
		if (!(index < ((NI) 0))) goto LA3;
		i = (NI)(L + index);
	}
	goto LA1;
	LA3: ;
	{
		i = index;
	}
	LA1: ;
	{
		if (!((NU64)(L) <= (NU64)(i))) goto LA8;
		result = unknownlineinfo_183087();
	}
	goto LA6;
	LA8: ;
	{
		result = msgcontext_183107->data[i];
	}
	LA6: ;
	return result;
}

static N_INLINE(NimStringDesc*, tofilelinecol_183427)(Tlineinfo182337 info) {
	NimStringDesc* result;
	NimStringDesc* LOC1;
	NimStringDesc* LOC2;
	NimStringDesc* LOC3;
	NimStringDesc* LOC4;
	result = 0;
	LOC1 = 0;
	LOC2 = 0;
	LOC2 = tofilename_183262(info.fileindex);
	LOC3 = 0;
	LOC3 = nimIntToStr(((NI) (info.line)));
	LOC4 = 0;
	LOC4 = nimIntToStr(((NI) (info.col)));
	LOC1 = rawNewString(LOC2->Sup.len + LOC3->Sup.len + LOC4->Sup.len + 3);
appendString(LOC1, LOC2);
appendString(LOC1, ((NimStringDesc*) &TMP3273));
appendString(LOC1, LOC3);
appendString(LOC1, ((NimStringDesc*) &TMP3274));
appendString(LOC1, LOC4);
appendString(LOC1, ((NimStringDesc*) &TMP3275));
	result = LOC1;
	return result;
}

N_NIMCALL(NimStringDesc*, HEX24_183431)(Tlineinfo182337 info) {
	NimStringDesc* result;
	result = 0;
	result = tofilelinecol_183427(info);
	return result;
}

N_NIMCALL(NI, getinfocontextlen_183182)(void) {
	NI result;
{	result = 0;
	result = (msgcontext_183107 ? msgcontext_183107->Sup.len : 0);
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(void, setinfocontextlen_183193)(NI L) {
	msgcontext_183107 = (TY183090*) setLengthSeq(&(msgcontext_183107)->Sup, sizeof(Tlineinfo182337), ((NI) (L)));
}

N_NIMCALL(Ropeobj169006*, quotedfilename_187418)(Tlineinfo182337 i) {
	Ropeobj169006* result;
	result = 0;
	{
		NimStringDesc* LOC5;
		if (!!((((NI32) 0) <= i.fileindex))) goto LA3;
		LOC5 = 0;
		LOC5 = HEX24_187183(TMP4015);
		internalerror_187113(LOC5);
	}
	LA3: ;
	result = fileinfos_182629->data[i.fileindex].quotedname;
	return result;
}

N_NIMCALL(void, resetattributes_185618)(void) {
	{
		if (!((10485760 & gglobaloptions_160121) == 2097152)) goto LA3;
		resetattributes_179203(stderr);
	}
	LA3: ;
}
NIM_EXTERNC N_NOINLINE(void, compiler_msgsInit000)(void) {
	Tfileinfo182335 LOC1;
	Tfileinfo182335 LOC2;
	NI LOC3;
	NI LOC4;
	NI LOC5;
	TY169017 LOC6;
	chckNil((void*)(&filenametoindextbl_182611));
	genericReset((void*)(&filenametoindextbl_182611), (&NTI182428));
	inittable_182420(((NI) 64), (&filenametoindextbl_182611));
	if (fileinfos_182629) nimGCunrefNoCycle(fileinfos_182629);
	fileinfos_182629 = (TY182612*) newSeqRC1((&NTI182612), 0);
	memset((void*)(&LOC1), 0, sizeof(LOC1));
	newfileinfo_182666(((NimStringDesc*) &TMP147), ((NimStringDesc*) &TMP149), (&LOC1));
	fileinfos_182629 = (TY182612*) incrSeqV2(&(fileinfos_182629)->Sup, sizeof(Tfileinfo182335));
	genericAssign((void*)(&fileinfos_182629->data[fileinfos_182629->Sup.len]), (void*)(&LOC1), (&NTI182335));
	++fileinfos_182629->Sup.len;
	gcmdlineinfo_183045 = newlineinfo_183023(((NI32) 0), ((NI) 1), ((NI) 1));
	memset((void*)(&LOC2), 0, sizeof(LOC2));
	newfileinfo_182666(((NimStringDesc*) &TMP147), ((NimStringDesc*) &TMP150), (&LOC2));
	fileinfos_182629 = (TY182612*) incrSeqV2(&(fileinfos_182629)->Sup, sizeof(Tfileinfo182335));
	genericAssign((void*)(&fileinfos_182629->data[fileinfos_182629->Sup.len]), (void*)(&LOC2), (&NTI182335));
	++fileinfos_182629->Sup.len;
	gcodegenlineinfo_183056 = newlineinfo_183023(((NI32) 1), ((NI) 1), ((NI) 1));
	gnotes_183077 = 0;
	LOC3 = 0;
	for (LOC3 = (((NU16) 237)- 237); LOC3 <= (((NU16) 255)- 237); LOC3++) 
gnotes_183077 |=((NU64)(1)<<((LOC3)%(sizeof(NU64)*8)));
	gnotes_183077 |=((NU64)(1)<<(((((NU16) 257)- 237))%(sizeof(NU64)*8)));
	gnotes_183077 |=((NU64)(1)<<(((((NU16) 261)- 237))%(sizeof(NU64)*8)));
	LOC4 = 0;
	for (LOC4 = (((NU16) 263)- 237); LOC4 <= (((NU16) 276)- 237); LOC4++) 
gnotes_183077 |=((NU64)(1)<<((LOC4)%(sizeof(NU64)*8)));
	LOC5 = 0;
	for (LOC5 = (((NU16) 281)- 237); LOC5 <= (((NU16) 283)- 237); LOC5++) 
gnotes_183077 |=((NU64)(1)<<((LOC5)%(sizeof(NU64)*8)));
	gnotes_183077 |=((NU64)(1)<<(((((NU16) 285)- 237))%(sizeof(NU64)*8)));
	gnotes_183077 |=((NU64)(1)<<(((((NU16) 290)- 237))%(sizeof(NU64)*8)));
	gerrorcounter_183078 = ((NI) 0);
	ghintcounter_183079 = ((NI) 0);
	gwarncounter_183080 = ((NI) 0);
	gerrormax_183081 = ((NI) 1);
	if (msgcontext_183107) nimGCunrefNoCycle(msgcontext_183107);
	msgcontext_183107 = (TY183090*) newSeqRC1((&NTI183090), 0);
	lasterror_183108 = unknownlineinfo_183087();
	erroroutputs_183110 = 3;
	memset((void*)(&LOC6), 0, sizeof(LOC6));
	LOC6.ClPrc = ((TMP505) (HEX3Aanonymous_187429)); LOC6.ClEnv = NIM_NIL;
	asgnRef((void**) (&errorhandler_169022.ClEnv), LOC6.ClEnv);
	errorhandler_169022.ClPrc = LOC6.ClPrc;
	{
		NIM_BOOL LOC9;
		LOC9 = 0;
		LOC9 = isatty_180420(stderr);
		if (!LOC9) goto LA10;
		gglobaloptions_160121 |= ((NU32)1)<<((((NU8) 21))%(sizeof(NU32)*8));
	}
	LA10: ;
}

NIM_EXTERNC N_NOINLINE(void, compiler_msgsDatInit000)(void) {
static TNimNode* TMP143[6];
static TNimNode* TMP151[3];
static TNimNode* TMP2091[291];
NI TMP2093;
static char* NIM_CONST TMP2092[291] = {
"errUnknown", 
"errIllFormedAstX", 
"errInternal", 
"errCannotOpenFile", 
"errGenerated", 
"errXCompilerDoesNotSupportCpp", 
"errStringLiteralExpected", 
"errIntLiteralExpected", 
"errInvalidCharacterConstant", 
"errClosingTripleQuoteExpected", 
"errClosingQuoteExpected", 
"errTabulatorsAreNotAllowed", 
"errInvalidToken", 
"errLineTooLong", 
"errInvalidNumber", 
"errInvalidNumberOctalCode", 
"errNumberOutOfRange", 
"errNnotAllowedInCharacter", 
"errClosingBracketExpected", 
"errMissingFinalQuote", 
"errIdentifierExpected", 
"errNewlineExpected", 
"errInvalidModuleName", 
"errOperatorExpected", 
"errTokenExpected", 
"errStringAfterIncludeExpected", 
"errRecursiveDependencyX", 
"errOnOrOffExpected", 
"errNoneSpeedOrSizeExpected", 
"errInvalidPragma", 
"errUnknownPragma", 
"errInvalidDirectiveX", 
"errAtPopWithoutPush", 
"errEmptyAsm", 
"errInvalidIndentation", 
"errExceptionExpected", 
"errExceptionAlreadyHandled", 
"errYieldNotAllowedHere", 
"errYieldNotAllowedInTryStmt", 
"errInvalidNumberOfYieldExpr", 
"errCannotReturnExpr", 
"errAttemptToRedefine", 
"errStmtInvalidAfterReturn", 
"errStmtExpected", 
"errInvalidLabel", 
"errInvalidCmdLineOption", 
"errCmdLineArgExpected", 
"errCmdLineNoArgExpected", 
"errInvalidVarSubstitution", 
"errUnknownVar", 
"errUnknownCcompiler", 
"errOnOrOffExpectedButXFound", 
"errOnOffOrListExpectedButXFound", 
"errNoneBoehmRefcExpectedButXFound", 
"errNoneSpeedOrSizeExpectedButXFound", 
"errGuiConsoleOrLibExpectedButXFound", 
"errUnknownOS", 
"errUnknownCPU", 
"errGenOutExpectedButXFound", 
"errArgsNeedRunOption", 
"errInvalidMultipleAsgn", 
"errColonOrEqualsExpected", 
"errExprExpected", 
"errUndeclaredIdentifier", 
"errUndeclaredField", 
"errUndeclaredRoutine", 
"errUseQualifier", 
"errTypeExpected", 
"errSystemNeeds", 
"errExecutionOfProgramFailed", 
"errNotOverloadable", 
"errInvalidArgForX", 
"errStmtHasNoEffect", 
"errXExpectsTypeOrValue", 
"errXExpectsArrayType", 
"errIteratorCannotBeInstantiated", 
"errExprXAmbiguous", 
"errConstantDivisionByZero", 
"errOrdinalTypeExpected", 
"errOrdinalOrFloatTypeExpected", 
"errOverOrUnderflow", 
"errCannotEvalXBecauseIncompletelyDefined", 
"errChrExpectsRange0_255", 
"errDynlibRequiresExportc", 
"errUndeclaredFieldX", 
"errNilAccess", 
"errIndexOutOfBounds", 
"errIndexTypesDoNotMatch", 
"errBracketsInvalidForType", 
"errValueOutOfSetBounds", 
"errFieldInitTwice", 
"errFieldNotInit", 
"errExprXCannotBeCalled", 
"errExprHasNoType", 
"errExprXHasNoType", 
"errCastNotInSafeMode", 
"errExprCannotBeCastedToX", 
"errCommaOrParRiExpected", 
"errCurlyLeOrParLeExpected", 
"errSectionExpected", 
"errRangeExpected", 
"errMagicOnlyInSystem", 
"errPowerOfTwoExpected", 
"errStringMayNotBeEmpty", 
"errCallConvExpected", 
"errProcOnlyOneCallConv", 
"errSymbolMustBeImported", 
"errExprMustBeBool", 
"errConstExprExpected", 
"errDuplicateCaseLabel", 
"errRangeIsEmpty", 
"errSelectorMustBeOfCertainTypes", 
"errSelectorMustBeOrdinal", 
"errOrdXMustNotBeNegative", 
"errLenXinvalid", 
"errWrongNumberOfVariables", 
"errExprCannotBeRaised", 
"errBreakOnlyInLoop", 
"errTypeXhasUnknownSize", 
"errConstNeedsConstExpr", 
"errConstNeedsValue", 
"errResultCannotBeOpenArray", 
"errSizeTooBig", 
"errSetTooBig", 
"errBaseTypeMustBeOrdinal", 
"errInheritanceOnlyWithNonFinalObjects", 
"errInheritanceOnlyWithEnums", 
"errIllegalRecursionInTypeX", 
"errCannotInstantiateX", 
"errExprHasNoAddress", 
"errXStackEscape", 
"errVarForOutParamNeeded", 
"errPureTypeMismatch", 
"errTypeMismatch", 
"errButExpected", 
"errButExpectedX", 
"errAmbiguousCallXYZ", 
"errWrongNumberOfArguments", 
"errXCannotBePassedToProcVar", 
"errXCannotBeInParamDecl", 
"errPragmaOnlyInHeaderOfProc", 
"errImplOfXNotAllowed", 
"errImplOfXexpected", 
"errNoSymbolToBorrowFromFound", 
"errDiscardValueX", 
"errInvalidDiscard", 
"errIllegalConvFromXtoY", 
"errCannotBindXTwice", 
"errInvalidOrderInArrayConstructor", 
"errInvalidOrderInEnumX", 
"errEnumXHasHoles", 
"errExceptExpected", 
"errInvalidTry", 
"errOptionExpected", 
"errXisNoLabel", 
"errNotAllCasesCovered", 
"errUnknownSubstitionVar", 
"errComplexStmtRequiresInd", 
"errXisNotCallable", 
"errNoPragmasAllowedForX", 
"errNoGenericParamsAllowedForX", 
"errInvalidParamKindX", 
"errDefaultArgumentInvalid", 
"errNamedParamHasToBeIdent", 
"errNoReturnTypeForX", 
"errConvNeedsOneArg", 
"errInvalidPragmaX", 
"errXNotAllowedHere", 
"errInvalidControlFlowX", 
"errXisNoType", 
"errCircumNeedsPointer", 
"errInvalidExpression", 
"errInvalidExpressionX", 
"errEnumHasNoValueX", 
"errNamedExprExpected", 
"errNamedExprNotAllowed", 
"errXExpectsOneTypeParam", 
"errArrayExpectsTwoTypeParams", 
"errInvalidVisibilityX", 
"errInitHereNotAllowed", 
"errXCannotBeAssignedTo", 
"errIteratorNotAllowed", 
"errXNeedsReturnType", 
"errNoReturnTypeDeclared", 
"errNoCommand", 
"errInvalidCommandX", 
"errXOnlyAtModuleScope", 
"errXNeedsParamObjectType", 
"errTemplateInstantiationTooNested", 
"errInstantiationFrom", 
"errInvalidIndexValueForTuple", 
"errCommandExpectsFilename", 
"errMainModuleMustBeSpecified", 
"errXExpected", 
"errTIsNotAConcreteType", 
"errInvalidSectionStart", 
"errGridTableNotImplemented", 
"errGeneralParseError", 
"errNewSectionExpected", 
"errWhitespaceExpected", 
"errXisNoValidIndexFile", 
"errCannotRenderX", 
"errVarVarTypeNotAllowed", 
"errInstantiateXExplicitly", 
"errOnlyACallOpCanBeDelegator", 
"errUsingNoSymbol", 
"errMacroBodyDependsOnGenericTypes", 
"errDestructorNotGenericEnough", 
"errInlineIteratorsAsProcParams", 
"errXExpectsTwoArguments", 
"errXExpectsObjectTypes", 
"errXcanNeverBeOfThisSubtype", 
"errTooManyIterations", 
"errCannotInterpretNodeX", 
"errFieldXNotFound", 
"errInvalidConversionFromTypeX", 
"errAssertionFailed", 
"errCannotGenerateCodeForX", 
"errXRequiresOneArgument", 
"errUnhandledExceptionX", 
"errCyclicTree", 
"errXisNoMacroOrTemplate", 
"errXhasSideEffects", 
"errIteratorExpected", 
"errLetNeedsInit", 
"errThreadvarCannotInit", 
"errWrongSymbolX", 
"errIllegalCaptureX", 
"errXCannotBeClosure", 
"errXMustBeCompileTime", 
"errCannotInferTypeOfTheLiteral", 
"errCannotInferReturnType", 
"errGenericLambdaNotAllowed", 
"errCompilerDoesntSupportTarget", 
"errExternalAssemblerNotFound", 
"errExternalAssemblerNotValid", 
"errUser", 
"warnCannotOpenFile", 
"warnOctalEscape", 
"warnXIsNeverRead", 
"warnXmightNotBeenInit", 
"warnDeprecated", 
"warnConfigDeprecated", 
"warnSmallLshouldNotBeUsed", 
"warnUnknownMagic", 
"warnRedefinitionOfLabel", 
"warnUnknownSubstitutionX", 
"warnLanguageXNotSupported", 
"warnFieldXNotSupported", 
"warnCommentXIgnored", 
"warnNilStatement", 
"warnTypelessParam", 
"warnUseBase", 
"warnWriteToForeignHeap", 
"warnUnsafeCode", 
"warnEachIdentIsTuple", 
"warnShadowIdent", 
"warnProveInit", 
"warnProveField", 
"warnProveIndex", 
"warnGcUnsafe", 
"warnGcUnsafe2", 
"warnUninit", 
"warnGcMem", 
"warnDestructor", 
"warnLockLevel", 
"warnResultShadowed", 
"warnUser", 
"hintSuccess", 
"hintSuccessX", 
"hintLineTooLong", 
"hintXDeclaredButNotUsed", 
"hintConvToBaseNotNeeded", 
"hintConvFromXtoItselfNotNeeded", 
"hintExprAlwaysX", 
"hintQuitCalled", 
"hintProcessing", 
"hintCodeBegin", 
"hintCodeEnd", 
"hintConf", 
"hintPath", 
"hintConditionAlwaysTrue", 
"hintName", 
"hintPattern", 
"hintExecuting", 
"hintLinking", 
"hintDependency", 
"hintSource", 
"hintStackTrace", 
"hintGCStats", 
"hintUser"};
static TNimNode TMP19[306];
NTI182335.size = sizeof(Tfileinfo182335);
NTI182335.kind = 18;
NTI182335.base = 0;
NTI182335.flags = 2;
TMP143[0] = &TMP19[1];
TMP19[1].kind = 1;
TMP19[1].offset = offsetof(Tfileinfo182335, fullpath);
TMP19[1].typ = (&NTI138);
TMP19[1].name = "fullPath";
TMP143[1] = &TMP19[2];
TMP19[2].kind = 1;
TMP19[2].offset = offsetof(Tfileinfo182335, projpath);
TMP19[2].typ = (&NTI138);
TMP19[2].name = "projPath";
TMP143[2] = &TMP19[3];
TMP19[3].kind = 1;
TMP19[3].offset = offsetof(Tfileinfo182335, shortname);
TMP19[3].typ = (&NTI138);
TMP19[3].name = "shortName";
TMP143[3] = &TMP19[4];
TMP19[4].kind = 1;
TMP19[4].offset = offsetof(Tfileinfo182335, quotedname);
TMP19[4].typ = (&NTI169004);
TMP19[4].name = "quotedName";
TMP143[4] = &TMP19[5];
NTI182350.size = sizeof(TY182350*);
NTI182350.kind = 24;
NTI182350.base = (&NTI169004);
NTI182350.flags = 2;
NTI182350.marker = TMP144;
TMP19[5].kind = 1;
TMP19[5].offset = offsetof(Tfileinfo182335, lines);
TMP19[5].typ = (&NTI182350);
TMP19[5].name = "lines";
TMP143[5] = &TMP19[6];
TMP19[6].kind = 1;
TMP19[6].offset = offsetof(Tfileinfo182335, dirtyfile);
TMP19[6].typ = (&NTI138);
TMP19[6].name = "dirtyfile";
TMP19[0].len = 6; TMP19[0].kind = 2; TMP19[0].sons = &TMP143[0];
NTI182335.node = &TMP19[0];
NTI182612.size = sizeof(TY182612*);
NTI182612.kind = 24;
NTI182612.base = (&NTI182335);
NTI182612.flags = 2;
NTI182612.marker = TMP145;
NTI182337.size = sizeof(Tlineinfo182337);
NTI182337.kind = 18;
NTI182337.base = 0;
NTI182337.flags = 3;
TMP151[0] = &TMP19[8];
TMP19[8].kind = 1;
TMP19[8].offset = offsetof(Tlineinfo182337, line);
TMP19[8].typ = (&NTI108);
TMP19[8].name = "line";
TMP151[1] = &TMP19[9];
TMP19[9].kind = 1;
TMP19[9].offset = offsetof(Tlineinfo182337, col);
TMP19[9].typ = (&NTI108);
TMP19[9].name = "col";
TMP151[2] = &TMP19[10];
TMP19[10].kind = 1;
TMP19[10].offset = offsetof(Tlineinfo182337, fileindex);
TMP19[10].typ = (&NTI110);
TMP19[10].name = "fileIndex";
TMP19[7].len = 3; TMP19[7].kind = 2; TMP19[7].sons = &TMP151[0];
NTI182337.node = &TMP19[7];
NTI183090.size = sizeof(TY183090*);
NTI183090.kind = 24;
NTI183090.base = (&NTI182337);
NTI183090.flags = 2;
NTI183090.marker = TMP152;
NTI182343.size = sizeof(Erecoverableerror182343);
NTI182343.kind = 17;
NTI182343.base = (&NTI3646);
TMP19[11].len = 0; TMP19[11].kind = 2;
NTI182343.node = &TMP19[11];
NTI183064.size = sizeof(Erecoverableerror182343*);
NTI183064.kind = 22;
NTI183064.base = (&NTI182343);
NTI183064.marker = TMP503;
NTI182002.size = sizeof(NU16);
NTI182002.kind = 14;
NTI182002.base = 0;
NTI182002.flags = 3;
for (TMP2093 = 0; TMP2093 < 291; TMP2093++) {
TMP19[TMP2093+12].kind = 1;
TMP19[TMP2093+12].offset = TMP2093;
TMP19[TMP2093+12].name = TMP2092[TMP2093];
TMP2091[TMP2093] = &TMP19[TMP2093+12];
}
TMP19[303].len = 291; TMP19[303].kind = 2; TMP19[303].sons = &TMP2091[0];
NTI182002.node = &TMP19[303];
NTI182331.size = sizeof(NU16);
NTI182331.kind = 20;
NTI182331.base = (&NTI182002);
NTI182331.flags = 3;
NTI182333.size = sizeof(NU64);
NTI182333.kind = 19;
NTI182333.base = (&NTI182331);
NTI182333.flags = 3;
TMP19[304].len = 237; TMP19[304].kind = 0;
NTI182333.node = &TMP19[304];
NTI182345.size = sizeof(Esuggestdone182345);
NTI182345.kind = 17;
NTI182345.base = (&NTI3624);
TMP19[305].len = 0; TMP19[305].kind = 2;
NTI182345.node = &TMP19[305];
NTI183161.size = sizeof(Esuggestdone182345*);
NTI183161.kind = 22;
NTI183161.base = (&NTI182345);
NTI183161.marker = TMP2822;
}

