/* Generated by Nim Compiler v0.10.2 */
/*   (c) 2014 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 32
#include "nimbase.h"

#include <string.h>

#include <stdio.h>

#include <stdlib.h>

#include <setjmp.h>
typedef struct table194576 table194576;
typedef struct keyvaluepairseq194579 keyvaluepairseq194579;
typedef struct keyvaluepair194582 keyvaluepair194582;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct TY194621 TY194621;
typedef struct tfileinfo194537 tfileinfo194537;
typedef struct trope176009 trope176009;
typedef struct TY194552 TY194552;
typedef struct tcell44935 tcell44935;
typedef struct tcellseq44951 tcellseq44951;
typedef struct tgcheap47016 tgcheap47016;
typedef struct tcellset44947 tcellset44947;
typedef struct tpagedesc44943 tpagedesc44943;
typedef struct tmemregion27210 tmemregion27210;
typedef struct tsmallchunk26440 tsmallchunk26440;
typedef struct tllchunk27204 tllchunk27204;
typedef struct tbigchunk26442 tbigchunk26442;
typedef struct tintset26417 tintset26417;
typedef struct ttrunk26413 ttrunk26413;
typedef struct tavlnode27208 tavlnode27208;
typedef struct tgcstat47014 tgcstat47014;
typedef struct tlineinfo194539 tlineinfo194539;
typedef struct tsocketimpl181607 tsocketimpl181607;
typedef struct TY195414 TY195414;
typedef struct TY118808 TY118808;
typedef struct erecoverableerror194545 erecoverableerror194545;
typedef struct valueerror3249 valueerror3249;
typedef struct Exception Exception;
typedef struct TNimObject TNimObject;
typedef struct slice196873 slice196873;
typedef struct TSafePoint TSafePoint;
typedef struct TY84745 TY84745;
typedef struct esuggestdone194547 esuggestdone194547;
typedef struct tbasechunk26438 tbasechunk26438;
typedef struct tfreecell26430 tfreecell26430;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct keyvaluepair194582 {
NU8 Field0;
NimStringDesc* Field1;
NI32 Field2;
};
struct  table194576  {
keyvaluepairseq194579* Data;
NI Counter;
};
typedef N_NIMCALL_PTR(void, TY3089) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3094) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3089 marker;
TY3094 deepcopy;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  tfileinfo194537  {
NimStringDesc* Fullpath;
NimStringDesc* Projpath;
NimStringDesc* Shortname;
trope176009* Quotedname;
TY194552* Lines;
};
struct  tcell44935  {
NI Refcount;
TNimType* Typ;
};
struct  tcellseq44951  {
NI Len;
NI Cap;
tcell44935** D;
};
struct  tcellset44947  {
NI Counter;
NI Max;
tpagedesc44943* Head;
tpagedesc44943** Data;
};
typedef tsmallchunk26440* TY27222[512];
typedef ttrunk26413* ttrunkbuckets26415[256];
struct  tintset26417  {
ttrunkbuckets26415 Data;
};
struct  tmemregion27210  {
NI Minlargeobj;
NI Maxlargeobj;
TY27222 Freesmallchunks;
tllchunk27204* Llmem;
NI Currmem;
NI Maxmem;
NI Freemem;
NI Lastsize;
tbigchunk26442* Freechunkslist;
tintset26417 Chunkstarts;
tavlnode27208* Root;
tavlnode27208* Deleted;
tavlnode27208* Last;
tavlnode27208* Freeavlnodes;
};
struct  tgcstat47014  {
NI Stackscans;
NI Cyclecollections;
NI Maxthreshold;
NI Maxstacksize;
NI Maxstackcells;
NI Cycletablesize;
NI64 Maxpause;
};
struct  tgcheap47016  {
void* Stackbottom;
NI Cyclethreshold;
tcellseq44951 Zct;
tcellseq44951 Decstack;
tcellset44947 Cycleroots;
tcellseq44951 Tempstack;
NI Recgclock;
tmemregion27210 Region;
tgcstat47014 Stat;
};
struct  tlineinfo194539  {
NI16 Line;
NI16 Col;
NI32 Fileindex;
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (NU8 err, NimStringDesc* msg, NIM_BOOL usewarning, void* ClEnv);
void* ClEnv;
} TY176138;
typedef NimStringDesc* TY196301[1];
typedef NimStringDesc* TY196620[4];
typedef NimStringDesc* TY194486[276];
struct  TNimObject  {
TNimType* m_type;
};
struct  Exception  {
  TNimObject Sup;
Exception* parent;
NCSTRING name;
NimStringDesc* message;
NimStringDesc* trace;
};
struct  valueerror3249  {
  Exception Sup;
};
struct  erecoverableerror194545  {
  valueerror3249 Sup;
};
typedef N_CLOSURE_PTR(void, TMP433) (NU8 err, NimStringDesc* msg, NIM_BOOL usewarning, void* ClEnv);
struct  slice196873  {
NU16 A;
NU16 B;
};
typedef struct {
N_NIMCALL_PTR(NIM_BOOL, ClPrc) (Exception* e, void* ClEnv);
void* ClEnv;
} TY14809;
struct  TSafePoint  {
TSafePoint* prev;
NI status;
jmp_buf context;
NIM_BOOL hasRaiseAction;
TY14809 raiseAction;
};
struct TY84745 {
NimStringDesc* Field0;
NI Field1;
};
struct  esuggestdone194547  {
  Exception Sup;
};
struct  trope176009  {
  TNimObject Sup;
trope176009* Left;
trope176009* Right;
NI Length;
NimStringDesc* Data;
};
typedef NI TY26420[16];
struct  tpagedesc44943  {
tpagedesc44943* Next;
NI Key;
TY26420 Bits;
};
struct  tbasechunk26438  {
NI Prevsize;
NI Size;
NIM_BOOL Used;
};
struct  tsmallchunk26440  {
  tbasechunk26438 Sup;
tsmallchunk26440* Next;
tsmallchunk26440* Prev;
tfreecell26430* Freelist;
NI Free;
NI Acc;
NF Data;
};
struct  tllchunk27204  {
NI Size;
NI Acc;
tllchunk27204* Next;
};
struct  tbigchunk26442  {
  tbasechunk26438 Sup;
tbigchunk26442* Next;
tbigchunk26442* Prev;
NI Align;
NF Data;
};
struct  ttrunk26413  {
ttrunk26413* Next;
NI Key;
TY26420 Bits;
};
typedef tavlnode27208* TY27214[2];
struct  tavlnode27208  {
TY27214 Link;
NI Key;
NI Upperbound;
NI Level;
};
typedef NIM_CHAR TY181632[4001];
struct  tsocketimpl181607  {
int Fd;
NIM_BOOL Isbuffered;
union {
struct {TY181632 Buffer;
NI Currpos;
NI Buflen;
} S1;
} isbufferedU;
NIM_BOOL Nonblocking;
};
struct  tfreecell26430  {
tfreecell26430* Next;
NI Zerofield;
};
struct keyvaluepairseq194579 {
  TGenericSeq Sup;
  keyvaluepair194582 data[SEQ_DECL_SIZE];
};
struct TY194552 {
  TGenericSeq Sup;
  trope176009* data[SEQ_DECL_SIZE];
};
struct TY194621 {
  TGenericSeq Sup;
  tfileinfo194537 data[SEQ_DECL_SIZE];
};
struct TY195414 {
  TGenericSeq Sup;
  tlineinfo194539 data[SEQ_DECL_SIZE];
};
struct TY118808 {
  TGenericSeq Sup;
  NimStringDesc* data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, inittable_194568)(NI initialsize_194573, table194576* 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, TMP139)(void* p, NI op);
N_NIMCALL(void, TMP140)(void* p, NI op);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(tcell44935*, usrtocell_48646)(void* usr);
static N_INLINE(void, rtladdzct_50204)(tcell44935* c);
N_NOINLINE(void, addzct_48617)(tcellseq44951* s, tcell44935* c);
N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len);
N_NIMCALL(void, newfileinfo_194702)(NimStringDesc* fullpath, NimStringDesc* projpath, tfileinfo194537* 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(trope176009*, makecstring_194659)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_NIMCALL(void, app_176052)(trope176009** a, trope176009* b);
N_NIMCALL(trope176009*, torope_176076)(NimStringDesc* s);
N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newlen);
N_NIMCALL(NimStringDesc*, tocchar_194649)(NIM_CHAR c);
static N_INLINE(void, appendChar)(NimStringDesc* dest, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, nsuToOctal)(NIM_CHAR c);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(NimStringDesc*, nimCharToStr)(NIM_CHAR x);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(TGenericSeq*, incrSeq)(TGenericSeq* seq, NI elemsize);
N_NIMCALL(void, genericAssign)(void* dest, void* src, TNimType* mt);
N_NIMCALL(tlineinfo194539, newlineinfo_195129)(NI32 fileinfoidx, NI line, NI col);
N_NIMCALL(void, TMP147)(void* p, NI op);
N_NIMCALL(tlineinfo194539, unknownlineinfo_195405)(void);
N_NIMCALL(void, HEX3Aanonymous_197195)(NU8 err, NimStringDesc* msg, NIM_BOOL usewarning);
N_NIMCALL(void, internalerror_197006)(NimStringDesc* errmsg);
N_NIMCALL(void, writecontext_196590)(tlineinfo194539 lastinfo);
N_NIMCALL(NIM_BOOL, HEX3DHEX3D_196579)(tlineinfo194539 a, tlineinfo194539 b);
N_NIMCALL(void, msgwriteln_196236)(NimStringDesc* s);
static N_INLINE(void, writeln_169205)(FILE* f_169209, NimStringDesc** x_169213, NI x_169213Len0);
N_NIMCALL(void, write_12865)(FILE* f, NimStringDesc* s);
N_NIMCALL(void, safeadd_195660)(TY118808** x_195668, NimStringDesc* y_195672);
N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen0);
N_NIMCALL(NimStringDesc*, tomsgfilename_196061)(tlineinfo194539 info);
N_NIMCALL(NimStringDesc*, coordtostr_196368)(NI coord);
N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
N_NIMCALL(NimStringDesc*, getmessagestr_196388)(NU16 msg, NimStringDesc* arg);
N_NIMCALL(NimStringDesc*, msgkindtostring_196378)(NU16 kind);
N_NIMCALL(void, rawmessage_196733)(NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, rawmessage_196643)(NU16 msg, NimStringDesc** args, NI argsLen0);
N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
N_NIMCALL(void, handleerror_196459)(NU16 msg, NU8 eh, NimStringDesc* s);
N_NIMCALL(void, writestacktrace_15606)(void);
N_NOINLINE(void, raiserecoverableerror_195247)(NimStringDesc* msg);
N_NIMCALL(void, TMP430)(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_51025)(tcell44935* c);
static N_INLINE(NIM_BOOL, canbecycleroot_48667)(tcell44935* c);
static N_INLINE(void, rtladdcycleroot_49429)(tcell44935* c);
N_NOINLINE(void, incl_45671)(tcellset44947* s, tcell44935* cell);
static N_INLINE(void, decref_50604)(tcell44935* c);
N_NIMCALL(void, limessage_196774)(tlineinfo194539 info, NU16 msg, NimStringDesc* arg, NU8 eh);
static N_INLINE(NIM_BOOL, contains_196884)(slice196873 s_196890, NU16 value_196893);
static N_INLINE(slice196873, HEX2EHEX2E_196864)(NU16 a_196868, NU16 b_196870);
N_NIMCALL(void, writesurroundingsrc_196747)(tlineinfo194539 info);
N_NIMCALL(NimStringDesc*, ropetostr_176101)(trope176009* p);
N_NIMCALL(trope176009*, sourceline_195277)(tlineinfo194539 i);
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
N_NIMCALL(NimStringDesc*, tofullpath_196037)(NI32 fileidx);
N_NIMCALL(FILE*, open_12617)(NimStringDesc* filename, NU8 mode, NI bufsize);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
N_NIMCALL(NIM_BOOL, readline_12889)(FILE* f, NimStringDesc** line);
N_NIMCALL(void, addsourceline_197042)(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_197126)(TY84745 x_197130);
N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NI count, NIM_CHAR c);
N_NIMCALL(NimStringDesc*, canonicalizepath_168390)(NimStringDesc* path);
static N_INLINE(void, shallow_85424)(NimStringDesc** s_85427);
N_NIMCALL(NIM_BOOL, haskey_194756)(table194576 t_194763, NimStringDesc* key_194766);
N_NIMCALL(NI32, HEX5BHEX5D_194817)(table194576 t_194824, NimStringDesc* key_194827);
N_NIMCALL(NimStringDesc*, shortendir_168407)(NimStringDesc* dir);
N_NIMCALL(void, HEX5BHEX5DHEX3D_194879)(table194576* t_194888, NimStringDesc* key_194892, NI32 val_194894);
N_NIMCALL(void, send_192008)(tsocketimpl181607* socket, NimStringDesc* data);
N_NIMCALL(TGenericSeq*, setLengthSeq)(TGenericSeq* seq, NI elemsize, NI newlen);
N_NIMCALL(void, genericSeqAssign)(void* dest, void* src_79604, TNimType* mt);
N_NIMCALL(void, TMP2697)(void* p, NI op);
STRING_LITERAL(TMP142, "", 0);
STRING_LITERAL(TMP143, "\"", 1);
STRING_LITERAL(TMP144, "command line", 12);
STRING_LITERAL(TMP145, "compilation artifact", 20);
STRING_LITERAL(TMP150, "\012", 1);
STRING_LITERAL(TMP152, "$1($2, $3) Info: $4", 19);
STRING_LITERAL(TMP153, "???", 3);
STRING_LITERAL(TMP154, "unknown error", 13);
STRING_LITERAL(TMP155, "illformed AST: $1", 17);
STRING_LITERAL(TMP156, "internal error: $1", 18);
STRING_LITERAL(TMP157, "cannot open \'$1\'", 16);
STRING_LITERAL(TMP158, "$1", 2);
STRING_LITERAL(TMP159, "\'$1\' compiler does not support C++", 34);
STRING_LITERAL(TMP160, "string literal expected", 23);
STRING_LITERAL(TMP161, "integer literal expected", 24);
STRING_LITERAL(TMP162, "invalid character constant", 26);
STRING_LITERAL(TMP163, "closing \"\"\" expected, but end of file reached", 45);
STRING_LITERAL(TMP164, "closing \" expected", 18);
STRING_LITERAL(TMP165, "tabulators are not allowed", 26);
STRING_LITERAL(TMP166, "invalid token: $1", 17);
STRING_LITERAL(TMP167, "line too long", 13);
STRING_LITERAL(TMP168, "$1 is not a valid number", 24);
STRING_LITERAL(TMP169, "number $1 out of valid range", 28);
STRING_LITERAL(TMP170, "\\n not allowed in character literal", 35);
STRING_LITERAL(TMP171, "closing \']\' expected, but end of file reached", 45);
STRING_LITERAL(TMP172, "missing final \' for character literal", 37);
STRING_LITERAL(TMP173, "identifier expected, but found \'$1\'", 35);
STRING_LITERAL(TMP174, "newline expected, but found \'$1\'", 32);
STRING_LITERAL(TMP175, "invalid module name: \'$1\'", 25);
STRING_LITERAL(TMP176, "operator expected, but found \'$1\'", 33);
STRING_LITERAL(TMP177, "\'$1\' expected", 13);
STRING_LITERAL(TMP178, "string after \'include\' expected", 31);
STRING_LITERAL(TMP179, "recursive dependency: \'$1\'", 26);
STRING_LITERAL(TMP180, "\'on\' or \'off\' expected", 22);
STRING_LITERAL(TMP181, "\'none\', \'speed\' or \'size\' expected", 34);
STRING_LITERAL(TMP182, "invalid pragma", 14);
STRING_LITERAL(TMP183, "unknown pragma: \'$1\'", 20);
STRING_LITERAL(TMP184, "invalid directive: \'$1\'", 23);
STRING_LITERAL(TMP185, "\'pop\' without a \'push\' pragma", 29);
STRING_LITERAL(TMP186, "empty asm statement", 19);
STRING_LITERAL(TMP187, "invalid indentation", 19);
STRING_LITERAL(TMP188, "exception expected", 18);
STRING_LITERAL(TMP189, "exception already handled", 25);
STRING_LITERAL(TMP190, "\'yield\' only allowed in an iterator", 35);
STRING_LITERAL(TMP191, "\'yield\' cannot be used within \'try\' in a non-inlined iterator", 61);
STRING_LITERAL(TMP192, "invalid number of \'yield\' expressions", 37);
STRING_LITERAL(TMP193, "current routine cannot return an expression", 43);
STRING_LITERAL(TMP194, "redefinition of \'$1\'", 20);
STRING_LITERAL(TMP195, "statement not allowed after \'return\', \'break\', \'raise\' or \'cont"
"inue\'", 68);
STRING_LITERAL(TMP196, "statement expected", 18);
STRING_LITERAL(TMP197, "\'$1\' is no label", 16);
STRING_LITERAL(TMP198, "invalid command line option: \'$1\'", 33);
STRING_LITERAL(TMP199, "argument for command line option expected: \'$1\'", 47);
STRING_LITERAL(TMP200, "invalid argument for command line option: \'$1\'", 46);
STRING_LITERAL(TMP201, "invalid variable substitution in \'$1\'", 37);
STRING_LITERAL(TMP202, "unknown variable: \'$1\'", 22);
STRING_LITERAL(TMP203, "unknown C compiler: \'$1\'", 24);
STRING_LITERAL(TMP204, "\'on\' or \'off\' expected, but \'$1\' found", 38);
STRING_LITERAL(TMP205, "\'none\', \'boehm\' or \'refc\' expected, but \'$1\' found", 50);
STRING_LITERAL(TMP206, "\'none\', \'speed\' or \'size\' expected, but \'$1\' found", 50);
STRING_LITERAL(TMP207, "\'gui\', \'console\' or \'lib\' expected, but \'$1\' found", 50);
STRING_LITERAL(TMP208, "unknown OS: \'$1\'", 16);
STRING_LITERAL(TMP209, "unknown CPU: \'$1\'", 17);
STRING_LITERAL(TMP210, "\'c\', \'c++\' or \'yaml\' expected, but \'$1\' found", 45);
STRING_LITERAL(TMP211, "arguments can only be given if the \'--run\' option is selected", 61);
STRING_LITERAL(TMP212, "multiple assignment is not allowed", 34);
STRING_LITERAL(TMP213, "\':\' or \'=\' expected, but found \'$1\'", 35);
STRING_LITERAL(TMP214, "expression expected, but found \'$1\'", 35);
STRING_LITERAL(TMP215, "undeclared identifier: \'$1\'", 27);
STRING_LITERAL(TMP216, "ambiguous identifier: \'$1\' -- use a qualifier", 45);
STRING_LITERAL(TMP217, "type expected", 13);
STRING_LITERAL(TMP218, "system module needs \'$1\'", 24);
STRING_LITERAL(TMP219, "execution of an external program failed", 39);
STRING_LITERAL(TMP220, "overloaded \'$1\' leads to ambiguous calls", 40);
STRING_LITERAL(TMP221, "invalid argument for \'$1\'", 25);
STRING_LITERAL(TMP222, "statement has no effect", 23);
STRING_LITERAL(TMP223, "\'$1\' expects a type or value", 28);
STRING_LITERAL(TMP224, "\'$1\' expects an array type", 26);
STRING_LITERAL(TMP225, "\'$1\' cannot be instantiated because its body has not been compi"
"led yet", 70);
STRING_LITERAL(TMP226, "expression \'$1\' ambiguous in this context", 41);
STRING_LITERAL(TMP227, "division by zero", 16);
STRING_LITERAL(TMP228, "ordinal type expected", 21);
STRING_LITERAL(TMP229, "ordinal or float type expected", 30);
STRING_LITERAL(TMP230, "over- or underflow", 18);
STRING_LITERAL(TMP231, "cannot evalutate \'$1\' because type is not defined completely", 60);
STRING_LITERAL(TMP232, "\'chr\' expects an int in the range 0..255", 40);
STRING_LITERAL(TMP233, "\'dynlib\' requires \'exportc\'", 27);
STRING_LITERAL(TMP234, "undeclared field: \'$1\'", 22);
STRING_LITERAL(TMP235, "attempt to access a nil address", 31);
STRING_LITERAL(TMP236, "index out of bounds", 19);
STRING_LITERAL(TMP237, "index types do not match", 24);
STRING_LITERAL(TMP238, "\'[]\' operator invalid for this type", 35);
STRING_LITERAL(TMP239, "value out of set bounds", 23);
STRING_LITERAL(TMP240, "field initialized twice: \'$1\'", 29);
STRING_LITERAL(TMP241, "field \'$1\' not initialized", 26);
STRING_LITERAL(TMP242, "expression \'$1\' cannot be called", 32);
STRING_LITERAL(TMP243, "expression has no type", 22);
STRING_LITERAL(TMP244, "expression \'$1\' has no type (or is ambiguous)", 45);
STRING_LITERAL(TMP245, "\'cast\' not allowed in safe mode", 31);
STRING_LITERAL(TMP246, "expression cannot be casted to $1", 33);
STRING_LITERAL(TMP247, "\',\' or \')\' expected", 19);
STRING_LITERAL(TMP248, "\'{\' or \'(\' expected", 19);
STRING_LITERAL(TMP249, "section (\'type\', \'proc\', etc.) expected", 39);
STRING_LITERAL(TMP250, "range expected", 14);
STRING_LITERAL(TMP251, "\'magic\' only allowed in system module", 37);
STRING_LITERAL(TMP252, "power of two expected", 21);
STRING_LITERAL(TMP253, "string literal may not be empty", 31);
STRING_LITERAL(TMP254, "calling convention expected", 27);
STRING_LITERAL(TMP255, "a proc can only have one calling convention", 43);
STRING_LITERAL(TMP256, "symbol must be imported if \'lib\' pragma is used", 47);
STRING_LITERAL(TMP257, "expression must be of type \'bool\'", 33);
STRING_LITERAL(TMP258, "constant expression expected", 28);
STRING_LITERAL(TMP259, "duplicate case label", 20);
STRING_LITERAL(TMP260, "range is empty", 14);
STRING_LITERAL(TMP261, "selector must be of an ordinal type, float or string", 52);
STRING_LITERAL(TMP262, "selector must be of an ordinal type", 35);
STRING_LITERAL(TMP263, "ord($1) must not be negative", 28);
STRING_LITERAL(TMP264, "len($1) must be less than 32768", 31);
STRING_LITERAL(TMP265, "wrong number of variables", 25);
STRING_LITERAL(TMP266, "only a \'ref object\' can be raised", 33);
STRING_LITERAL(TMP267, "\'break\' only allowed in loop construct", 38);
STRING_LITERAL(TMP268, "type \'$1\' has unknown size", 26);
STRING_LITERAL(TMP269, "a constant can only be initialized with a constant expression", 61);
STRING_LITERAL(TMP270, "a constant needs a value", 24);
STRING_LITERAL(TMP271, "the result type cannot be on open array", 39);
STRING_LITERAL(TMP272, "computing the type\'s size produced an overflow", 46);
STRING_LITERAL(TMP273, "set is too large", 16);
STRING_LITERAL(TMP274, "base type of a set must be an ordinal", 37);
STRING_LITERAL(TMP275, "inheritance only works with non-final objects", 45);
STRING_LITERAL(TMP276, "inheritance only works with an enum", 35);
STRING_LITERAL(TMP277, "illegal recursion in type \'$1\'", 30);
STRING_LITERAL(TMP278, "cannot instantiate: \'$1\'", 24);
STRING_LITERAL(TMP279, "expression has no address", 25);
STRING_LITERAL(TMP280, "address of \'$1\' may not escape its stack frame", 46);
STRING_LITERAL(TMP281, "for a \'var\' type a variable needs to be passed", 46);
STRING_LITERAL(TMP282, "type mismatch", 13);
STRING_LITERAL(TMP283, "type mismatch: got (", 20);
STRING_LITERAL(TMP284, "but expected one of: ", 21);
STRING_LITERAL(TMP285, "but expected \'$1\'", 17);
STRING_LITERAL(TMP286, "ambiguous call; both $1 and $2 match for: $3", 44);
STRING_LITERAL(TMP287, "wrong number of arguments", 25);
STRING_LITERAL(TMP288, "\'$1\' cannot be passed to a procvar", 34);
STRING_LITERAL(TMP289, "$1 cannot be declared in parameter declaration", 46);
STRING_LITERAL(TMP290, "pragmas are only allowed in the header of a proc", 48);
STRING_LITERAL(TMP291, "implementation of \'$1\' is not allowed", 37);
STRING_LITERAL(TMP292, "implementation of \'$1\' expected", 31);
STRING_LITERAL(TMP293, "no symbol to borrow from found", 30);
STRING_LITERAL(TMP294, "value of type \'$1\' has to be discarded", 38);
STRING_LITERAL(TMP295, "statement returns no value that can be discarded", 48);
STRING_LITERAL(TMP296, "conversion from $1 to $2 is invalid", 35);
STRING_LITERAL(TMP297, "cannot bind parameter \'$1\' twice", 32);
STRING_LITERAL(TMP298, "invalid order in array constructor", 34);
STRING_LITERAL(TMP299, "invalid order in enum \'$1\'", 26);
STRING_LITERAL(TMP300, "enum \'$1\' has holes", 19);
STRING_LITERAL(TMP301, "\'except\' or \'finally\' expected", 30);
STRING_LITERAL(TMP302, "after catch all \'except\' or \'finally\' no section may follow", 59);
STRING_LITERAL(TMP303, "option expected, but found \'$1\'", 31);
STRING_LITERAL(TMP304, "\'$1\' is not a label", 19);
STRING_LITERAL(TMP305, "not all cases are covered", 25);
STRING_LITERAL(TMP306, "unknown substitution variable: \'$1\'", 35);
STRING_LITERAL(TMP307, "complex statement requires indentation", 38);
STRING_LITERAL(TMP308, "\'$1\' is not callable", 20);
STRING_LITERAL(TMP309, "no pragmas allowed for $1", 25);
STRING_LITERAL(TMP310, "no generic parameters allowed for $1", 36);
STRING_LITERAL(TMP311, "invalid param kind: \'$1\'", 24);
STRING_LITERAL(TMP312, "default argument invalid", 24);
STRING_LITERAL(TMP313, "named parameter has to be an identifier", 39);
STRING_LITERAL(TMP314, "no return type allowed for $1", 29);
STRING_LITERAL(TMP315, "a type conversion needs exactly one argument", 44);
STRING_LITERAL(TMP316, "invalid pragma: $1", 18);
STRING_LITERAL(TMP317, "$1 not allowed here", 19);
STRING_LITERAL(TMP318, "invalid control flow: $1", 24);
STRING_LITERAL(TMP319, "invalid type: \'$1\'", 18);
STRING_LITERAL(TMP320, "\'[]\' needs a pointer or reference type", 38);
STRING_LITERAL(TMP321, "invalid expression", 18);
STRING_LITERAL(TMP322, "invalid expression: \'$1\'", 24);
STRING_LITERAL(TMP323, "enum has no value \'$1\'", 22);
STRING_LITERAL(TMP324, "named expression expected", 25);
STRING_LITERAL(TMP325, "named expression not allowed here", 33);
STRING_LITERAL(TMP326, "\'$1\' expects one type parameter", 31);
STRING_LITERAL(TMP327, "array expects two type parameters", 33);
STRING_LITERAL(TMP328, "invalid visibility: \'$1\'", 24);
STRING_LITERAL(TMP329, "initialization not allowed here", 31);
STRING_LITERAL(TMP330, "\'$1\' cannot be assigned to", 26);
STRING_LITERAL(TMP331, "iterators can only be defined at the module\'s top level", 55);
STRING_LITERAL(TMP332, "$1 needs a return type", 22);
STRING_LITERAL(TMP333, "no return type declared", 23);
STRING_LITERAL(TMP334, "invalid command: \'$1\'", 21);
STRING_LITERAL(TMP335, "\'$1\' is only allowed at top level", 33);
STRING_LITERAL(TMP336, "\'$1\' needs a parameter that has an object type", 46);
STRING_LITERAL(TMP337, "template/macro instantiation too nested", 39);
STRING_LITERAL(TMP338, "instantiation from here", 23);
STRING_LITERAL(TMP339, "invalid index value for tuple subscript", 39);
STRING_LITERAL(TMP340, "command expects a filename argument", 35);
STRING_LITERAL(TMP341, "please, specify a main module in the project configuration file", 63);
STRING_LITERAL(TMP342, "\'$1\' is not a concrete type.", 28);
STRING_LITERAL(TMP343, "invalid section start", 21);
STRING_LITERAL(TMP344, "grid table is not implemented", 29);
STRING_LITERAL(TMP345, "general parse error", 19);
STRING_LITERAL(TMP346, "new section expected", 20);
STRING_LITERAL(TMP347, "whitespace expected, got \'$1\'", 29);
STRING_LITERAL(TMP348, "\'$1\' is no valid index file", 27);
STRING_LITERAL(TMP349, "cannot render reStructuredText element \'$1\'", 43);
STRING_LITERAL(TMP350, "type \'var var\' is not allowed", 29);
STRING_LITERAL(TMP351, "instantiate \'$1\' explicitely", 28);
STRING_LITERAL(TMP352, "only a call operator can be a delegator", 39);
STRING_LITERAL(TMP353, "\'$1\' is not a variable, constant or a proc name", 47);
STRING_LITERAL(TMP354, "the macro body cannot be compiled, because the parameter \'$1\' h"
"as a generic type", 80);
STRING_LITERAL(TMP355, "Destructor signarue is too specific. A destructor must be assoc"
"iated will all instantiations of a generic type", 110);
STRING_LITERAL(TMP356, "inline iterators can be used as parameters only for templates, "
"macros and other inline iterators", 96);
STRING_LITERAL(TMP357, "\'$1\' expects two arguments", 26);
STRING_LITERAL(TMP358, "\'$1\' expects object types", 25);
STRING_LITERAL(TMP359, "\'$1\' can never be of this subtype", 33);
STRING_LITERAL(TMP360, "interpretation requires too many iterations", 43);
STRING_LITERAL(TMP361, "cannot evaluate \'$1\'", 20);
STRING_LITERAL(TMP362, "field \'$1\' cannot be found", 26);
STRING_LITERAL(TMP363, "invalid conversion from type \'$1\'", 33);
STRING_LITERAL(TMP364, "assertion failed", 16);
STRING_LITERAL(TMP365, "cannot generate code for \'$1\'", 29);
STRING_LITERAL(TMP366, "$1 requires one parameter", 25);
STRING_LITERAL(TMP367, "unhandled exception: $1", 23);
STRING_LITERAL(TMP368, "macro returned a cyclic abstract syntax tree", 44);
STRING_LITERAL(TMP369, "\'$1\' is no macro or template", 28);
STRING_LITERAL(TMP370, "\'$1\' can have side effects", 26);
STRING_LITERAL(TMP371, "iterator within for loop context expected", 41);
STRING_LITERAL(TMP372, "\'let\' symbol requires an initialization", 39);
STRING_LITERAL(TMP373, "a thread var cannot be initialized explicitly", 45);
STRING_LITERAL(TMP374, "usage of \'$1\' is a user-defined error", 37);
STRING_LITERAL(TMP375, "illegal capture \'$1\'", 20);
STRING_LITERAL(TMP376, "\'$1\' cannot have \'closure\' calling convention", 45);
STRING_LITERAL(TMP377, "\'$1\' can only be used in compile-time context", 45);
STRING_LITERAL(TMP378, "cannot infer the type of the $1", 31);
STRING_LITERAL(TMP379, "cannot infer the return type of the proc", 40);
STRING_LITERAL(TMP380, "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 infered from the expected signature.", 177);
STRING_LITERAL(TMP381, "The current compiler \'$1\' doesn\'t support the requested compila"
"tion target", 74);
STRING_LITERAL(TMP382, "cannot open \'$1\' [CannotOpenFile]", 33);
STRING_LITERAL(TMP383, "octal escape sequences do not exist; leading zero is ignored [O"
"ctalEscape]", 74);
STRING_LITERAL(TMP384, "\'$1\' is never read [XIsNeverRead]", 33);
STRING_LITERAL(TMP385, "\'$1\' might not have been initialized [XmightNotBeenInit]", 56);
STRING_LITERAL(TMP386, "$1 is deprecated [Deprecated]", 29);
STRING_LITERAL(TMP387, "config file \'$1\' is deprecated [ConfigDeprecated]", 49);
STRING_LITERAL(TMP388, "\'l\' should not be used as an identifier; may look like \'1\' (one"
") [SmallLshouldNotBeUsed]", 88);
STRING_LITERAL(TMP389, "unknown magic \'$1\' might crash the compiler [UnknownMagic]", 58);
STRING_LITERAL(TMP390, "redefinition of label \'$1\' [RedefinitionOfLabel]", 48);
STRING_LITERAL(TMP391, "unknown substitution \'$1\' [UnknownSubstitutionX]", 48);
STRING_LITERAL(TMP392, "language \'$1\' not supported [LanguageXNotSupported]", 51);
STRING_LITERAL(TMP393, "field \'$1\' not supported [FieldXNotSupported]", 45);
STRING_LITERAL(TMP394, "comment \'$1\' ignored [CommentXIgnored]", 38);
STRING_LITERAL(TMP395, "\'nil\' statement is deprecated; use an empty \'discard\' statement"
" instead [NilStmt]", 81);
STRING_LITERAL(TMP396, "thread analysis incomplete due to unknown call \'$1\' [AnalysisLo"
"ophole]", 70);
STRING_LITERAL(TMP397, "possible inconsistency of thread local heaps [DifferentHeaps]", 61);
STRING_LITERAL(TMP398, "write to foreign heap [WriteToForeignHeap]", 42);
STRING_LITERAL(TMP399, "unsafe code: \'$1\' [UnsafeCode]", 30);
STRING_LITERAL(TMP400, "each identifier is a tuple [EachIdentIsTuple]", 45);
STRING_LITERAL(TMP401, "shadowed identifier: \'$1\' [ShadowIdent]", 39);
STRING_LITERAL(TMP402, "Cannot prove that \'$1\' is initialized. This will become a compi"
"le time error in the future. [ProveInit]", 103);
STRING_LITERAL(TMP403, "cannot prove that field \'$1\' is accessible [ProveField]", 55);
STRING_LITERAL(TMP404, "cannot prove index \'$1\' is valid [ProveIndex]", 45);
STRING_LITERAL(TMP405, "not GC-safe: \'$1\' [GcUnsafe]", 28);
STRING_LITERAL(TMP406, "cannot prove \'$1\' is GC-safe. Does not compile with --threads:o"
"n.", 65);
STRING_LITERAL(TMP407, "\'$1\' might not have been initialized [Uninit]", 45);
STRING_LITERAL(TMP408, "\'$1\' uses GC\'ed memory [GcMem]", 30);
STRING_LITERAL(TMP409, "$1 [LockLevel]", 14);
STRING_LITERAL(TMP410, "$1 [User]", 9);
STRING_LITERAL(TMP411, "operation successful [Success]", 30);
STRING_LITERAL(TMP412, "operation successful ($# lines compiled; $# sec total; $#) [Suc"
"cessX]", 69);
STRING_LITERAL(TMP413, "line too long [LineTooLong]", 27);
STRING_LITERAL(TMP414, "\'$1\' is declared but not used [XDeclaredButNotUsed]", 51);
STRING_LITERAL(TMP415, "conversion to base object is not needed [ConvToBaseNotNeeded]", 61);
STRING_LITERAL(TMP416, "conversion from $1 to itself is pointless [ConvFromXtoItselfNot"
"Needed]", 70);
STRING_LITERAL(TMP417, "expression evaluates always to \'$1\' [ExprAlwaysX]", 49);
STRING_LITERAL(TMP418, "quit() called [QuitCalled]", 26);
STRING_LITERAL(TMP419, "$1 [Processing]", 15);
STRING_LITERAL(TMP420, "generated code listing: [CodeBegin]", 35);
STRING_LITERAL(TMP421, "end of listing [CodeEnd]", 24);
STRING_LITERAL(TMP422, "used config file \'$1\' [Conf]", 28);
STRING_LITERAL(TMP423, "added path: \'$1\' [Path]", 23);
STRING_LITERAL(TMP424, "condition is always true: \'$1\' [CondTrue]", 41);
STRING_LITERAL(TMP425, "name should be: \'$1\' [Name]", 27);
STRING_LITERAL(TMP426, "$1 [Pattern]", 12);
NIM_CONST TY194486 msgkindtostr_194485 = {((NimStringDesc*) &TMP154),
((NimStringDesc*) &TMP155),
((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*) &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*) &TMP177),
((NimStringDesc*) &TMP342),
((NimStringDesc*) &TMP343),
((NimStringDesc*) &TMP344),
((NimStringDesc*) &TMP345),
((NimStringDesc*) &TMP346),
((NimStringDesc*) &TMP347),
((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*) &TMP158),
((NimStringDesc*) &TMP382),
((NimStringDesc*) &TMP383),
((NimStringDesc*) &TMP384),
((NimStringDesc*) &TMP385),
((NimStringDesc*) &TMP386),
((NimStringDesc*) &TMP387),
((NimStringDesc*) &TMP388),
((NimStringDesc*) &TMP389),
((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*) &TMP413),
((NimStringDesc*) &TMP414),
((NimStringDesc*) &TMP415),
((NimStringDesc*) &TMP416),
((NimStringDesc*) &TMP417),
((NimStringDesc*) &TMP418),
((NimStringDesc*) &TMP419),
((NimStringDesc*) &TMP420),
((NimStringDesc*) &TMP421),
((NimStringDesc*) &TMP422),
((NimStringDesc*) &TMP423),
((NimStringDesc*) &TMP424),
((NimStringDesc*) &TMP425),
((NimStringDesc*) &TMP426),
((NimStringDesc*) &TMP410)}
;
STRING_LITERAL(TMP427, "Error: $1", 9);
STRING_LITERAL(TMP428, "Warning: $1", 11);
STRING_LITERAL(TMP429, "Hint: $1", 8);
STRING_LITERAL(TMP431, "ropes: invalid format string: ", 30);
STRING_LITERAL(TMP432, "ropes: token too long: ", 23);
STRING_LITERAL(TMP1033, "$1($2, $3) Error: $4", 20);
STRING_LITERAL(TMP1034, "$1($2, $3) Warning: $4", 22);
STRING_LITERAL(TMP1035, "$1($2, $3) Hint: $4", 19);
STRING_LITERAL(TMP1036, "  ", 2);
STRING_LITERAL(TMP1049, "compiler/msgs.nim", 17);
NIM_CONST TY84745 TMP1048 = {((NimStringDesc*) &TMP1049),
876}
;
STRING_LITERAL(TMP1982, "\015\012", 2);
STRING_LITERAL(TMP2698, "suggest done", 12);
NIM_CONST TY84745 TMP3613 = {((NimStringDesc*) &TMP1049),
883}
;
table194576 filenametoindextbl_194620;
extern TNimType NTI194576; /* Table */
TY194621* fileinfos_194642;
TNimType NTI194537; /* TFileInfo */
extern TNimType NTI149; /* string */
extern TNimType NTI176007; /* PRope */
TNimType NTI194552; /* seq[PRope] */
TNimType NTI194621; /* seq[TFileInfo] */
extern tgcheap47016 gch_47044;
NI32 systemfileidx_194643;
extern NimStringDesc* tnl_173613;
extern NU32 gglobaloptions_168118;
tlineinfo194539 gcmdlineinfo_195192;
tlineinfo194539 gcodegenlineinfo_195239;
NU64 gnotes_195305;
NI gerrorcounter_195306;
NI ghintcounter_195307;
NI gwarncounter_195308;
NI gerrormax_195309;
tsocketimpl181607* stdoutsocket_195318;
TY195414* msgcontext_195435;
TNimType NTI194539; /* TLineInfo */
extern TNimType NTI112; /* int16 */
extern TNimType NTI114; /* int32 */
TNimType NTI195414; /* seq[TLineInfo] */
tlineinfo194539 lasterror_195436;
TY118808* bufferedmsgs_195438;
NU8 erroroutputs_195440;
TY195414* checkpoints_196151;
tlineinfo194539 opttrackpos_196156;
extern TY176138 errorhandler_176143;
extern NU8 gcmd_168120;
extern NIM_BOOL glistfullpaths_168132;
extern NU32 goptions_168116;
extern NI gverbosity_168127;
extern NI8 gexitcode_168119;
extern TNimType NTI3249; /* ValueError */
TNimType NTI194545; /* ERecoverableError */
TNimType NTI195253; /* ref ERecoverableError */
extern TSafePoint* exchandler_16243;
extern TNimType NTI3231; /* IOError */
extern Exception* currexception_16245;
TNimType NTI194205; /* TMsgKind */
TNimType NTI194533; /* TNoteKind */
TNimType NTI194535; /* TNoteKinds */
extern TNimType NTI118808; /* seq[string] */
extern NIM_BOOL isserving_168133;
extern NI32 gdirtybufferidx_168134;
extern TNimType NTI3227; /* Exception */
TNimType NTI194547; /* ESuggestDone */
TNimType NTI195851; /* ref ESuggestDone */
N_NIMCALL(void, TMP139)(void* p, NI op) {
	TY194552* a;
	NI LOC1;
	a = (TY194552*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	nimGCvisit((void*)a->data[LOC1], op);
	}
}
N_NIMCALL(void, TMP140)(void* p, NI op) {
	TY194621* a;
	NI LOC1;
	a = (TY194621*)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);
	}
}

static N_INLINE(tcell44935*, usrtocell_48646)(void* usr) {
	tcell44935* result;
	result = 0;
	result = ((tcell44935*) ((NI)((NU32)(((NI) (usr))) - (NU32)(((NI)sizeof(tcell44935))))));
	return result;
}

static N_INLINE(void, rtladdzct_50204)(tcell44935* c) {
	addzct_48617((&gch_47044.Zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	tcell44935* c;
	c = usrtocell_48646(p);
	{
		(*c).Refcount -= 8;
		if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA3;
		rtladdzct_50204(c);
	}
	LA3: ;
}

static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
	memcpy(((NCSTRING) ((&(*dest).data[((*dest).Sup.len)- 0]))), ((NCSTRING) ((*src).data)), (NI32)((*src).Sup.len + 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[((NI32)((*dest).Sup.len + 1))- 0] = 0;
	(*dest).Sup.len += 1;
}

N_NIMCALL(NimStringDesc*, tocchar_194649)(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(trope176009*, makecstring_194659)(NimStringDesc* s) {
	trope176009* result;
	NimStringDesc* res;
	trope176009* LOC10;
	result = 0;
	result = NIM_NIL;
	res = copyString(((NimStringDesc*) &TMP143));
	{
		NI i_194677;
		NI HEX3Atmp_194682;
		NI res_194685;
		i_194677 = 0;
		HEX3Atmp_194682 = 0;
		HEX3Atmp_194682 = (NI32)(s->Sup.len - 1);
		res_194685 = 0;
		{
			while (1) {
				NimStringDesc* LOC9;
				if (!(res_194685 <= HEX3Atmp_194682)) goto LA3;
				i_194677 = res_194685;
				{
					trope176009* LOC8;
					if (!(((NI) ((NI32)((NI32)(i_194677 + 1) % 64))) == 0)) goto LA6;
					res = addChar(res, 34);
					res = resizeString(res, tnl_173613->Sup.len + 0);
appendString(res, tnl_173613);
					LOC8 = 0;
					LOC8 = torope_176076(res);
					app_176052(&result, LOC8);
					res = setLengthStr(res, 1);
					res->data[0] = 34;
				}
				LA6: ;
				LOC9 = 0;
				LOC9 = tocchar_194649(s->data[i_194677]);
				res = resizeString(res, LOC9->Sup.len + 0);
appendString(res, LOC9);
				res_194685 += 1;
			} LA3: ;
		}
	}
	res = addChar(res, 34);
	LOC10 = 0;
	LOC10 = torope_176076(res);
	app_176052(&result, LOC10);
	return result;
}

N_NIMCALL(void, newfileinfo_194702)(NimStringDesc* fullpath, NimStringDesc* projpath, tfileinfo194537* 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*) &TMP142)));
	unsureAsgnRef((void**) (&(*Result).Quotedname), makecstring_194659(filename));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = ((gglobaloptions_168118 &(1<<((((NU8) 31))&31)))!=0);
		if (LOC3) goto LA4;
		LOC3 = NIM_TRUE;
		LA4: ;
		if (!LOC3) goto LA5;
		unsureAsgnRef((void**) (&(*Result).Lines), (TY194552*) newSeq((&NTI194552), 0));
	}
	LA5: ;
}

N_NIMCALL(tlineinfo194539, newlineinfo_195129)(NI32 fileinfoidx, NI line, NI col) {
	tlineinfo194539 result;
	memset((void*)(&result), 0, sizeof(result));
	result.Fileindex = fileinfoidx;
	result.Line = ((NI16) (line));
	result.Col = ((NI16) (col));
	return result;
}
N_NIMCALL(void, TMP147)(void* p, NI op) {
	TY195414* a;
	NI LOC1;
	a = (TY195414*)p;
	LOC1 = 0;
	for (LOC1 = 0; LOC1 < a->Sup.len; LOC1++) {
	}
}

N_NIMCALL(tlineinfo194539, unknownlineinfo_195405)(void) {
	tlineinfo194539 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_196579)(tlineinfo194539 a, tlineinfo194539 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;
}

static N_INLINE(void, writeln_169205)(FILE* f_169209, NimStringDesc** x_169213, NI x_169213Len0) {
	{
		NimStringDesc* i_169226;
		NI i_169234;
		i_169226 = 0;
		i_169234 = 0;
		{
			while (1) {
				if (!(i_169234 < x_169213Len0)) goto LA3;
				i_169226 = x_169213[i_169234];
				write_12865(f_169209, i_169226);
				i_169234 += 1;
			} LA3: ;
		}
	}
	write_12865(f_169209, ((NimStringDesc*) &TMP150));
}

N_NIMCALL(void, msgwriteln_196236)(NimStringDesc* s) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (gcmd_168120 == ((NU8) 14));
		if (!(LOC3)) goto LA4;
		LOC3 = !(((gglobaloptions_168118 &(1<<((((NU8) 7))&31)))!=0));
		LA4: ;
		if (!LOC3) goto LA5;
		goto BeforeRet;
	}
	LA5: ;
	{
		if (!((gglobaloptions_168118 &(1<<((((NU8) 22))&31)))!=0)) goto LA9;
		{
			TY196301 LOC15;
			if (!((erroroutputs_195440 &(1<<((((NU8) 1))&7)))!=0)) goto LA13;
			memset((void*)LOC15, 0, sizeof(LOC15));
			LOC15[0] = copyString(s);
			writeln_169205(stderr, LOC15, 1);
		}
		LA13: ;
	}
	goto LA7;
	LA9: ;
	{
		{
			TY196301 LOC21;
			if (!((erroroutputs_195440 &(1<<((((NU8) 0))&7)))!=0)) goto LA19;
			memset((void*)LOC21, 0, sizeof(LOC21));
			LOC21[0] = copyString(s);
			writeln_169205(stdout, LOC21, 1);
		}
		LA19: ;
	}
	LA7: ;
	{
		if (!((erroroutputs_195440 &(1<<((((NU8) 2))&7)))!=0)) goto LA24;
		safeadd_195660((&bufferedmsgs_195438), s);
	}
	LA24: ;
	BeforeRet: ;
}

N_NIMCALL(NimStringDesc*, tomsgfilename_196061)(tlineinfo194539 info) {
	NimStringDesc* result;
	result = 0;
	{
		if (!(info.Fileindex < ((NI32) 0))) goto LA3;
		result = copyString(((NimStringDesc*) &TMP153));
	}
	goto LA1;
	LA3: ;
	{
		{
			if (!glistfullpaths_168132) goto LA8;
			result = copyString(fileinfos_194642->data[info.Fileindex].Fullpath);
		}
		goto LA6;
		LA8: ;
		{
			result = copyString(fileinfos_194642->data[info.Fileindex].Projpath);
		}
		LA6: ;
	}
	LA1: ;
	return result;
}

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

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

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

N_NIMCALL(void, writecontext_196590)(tlineinfo194539 lastinfo) {
	tlineinfo194539 info;
	info = lastinfo;
	{
		NI i_196617;
		NI HEX3Atmp_196623;
		NI res_196626;
		i_196617 = 0;
		HEX3Atmp_196623 = 0;
		HEX3Atmp_196623 = (NI32)(msgcontext_195435->Sup.len - 1);
		res_196626 = 0;
		{
			while (1) {
				if (!(res_196626 <= HEX3Atmp_196623)) goto LA3;
				i_196617 = res_196626;
				{
					NIM_BOOL LOC6;
					NIM_BOOL LOC7;
					NIM_BOOL LOC9;
					TY196620 LOC12;
					NimStringDesc* LOC13;
					LOC6 = 0;
					LOC7 = 0;
					LOC7 = HEX3DHEX3D_196579(msgcontext_195435->data[i_196617], lastinfo);
					LOC6 = !(LOC7);
					if (!(LOC6)) goto LA8;
					LOC9 = 0;
					LOC9 = HEX3DHEX3D_196579(msgcontext_195435->data[i_196617], info);
					LOC6 = !(LOC9);
					LA8: ;
					if (!LOC6) goto LA10;
					memset((void*)LOC12, 0, sizeof(LOC12));
					LOC12[0] = tomsgfilename_196061(msgcontext_195435->data[i_196617]);
					LOC12[1] = coordtostr_196368(((NI) (msgcontext_195435->data[i_196617].Line)));
					LOC12[2] = coordtostr_196368(((NI) (msgcontext_195435->data[i_196617].Col)));
					LOC12[3] = getmessagestr_196388(((NU16) 184), ((NimStringDesc*) &TMP142));
					LOC13 = 0;
					LOC13 = nsuFormatOpenArray(((NimStringDesc*) &TMP152), LOC12, 4);
					msgwriteln_196236(LOC13);
				}
				LA10: ;
				info = msgcontext_195435->data[i_196617];
				res_196626 += 1;
			} LA3: ;
		}
	}
}
N_NIMCALL(void, TMP430)(void* p, NI op) {
	erecoverableerror194545* a;
	a = (erecoverableerror194545*)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_195247)(NimStringDesc* msg) {
	erecoverableerror194545* e_195252;
	NimStringDesc* LOC1;
	e_195252 = 0;
	e_195252 = (erecoverableerror194545*) newObj((&NTI195253), sizeof(erecoverableerror194545));
	(*e_195252).Sup.Sup.Sup.m_type = (&NTI194545);
	LOC1 = 0;
	LOC1 = (*e_195252).Sup.Sup.message; (*e_195252).Sup.Sup.message = copyStringRC1(msg);
	if (LOC1) nimGCunrefNoCycle(LOC1);
	raiseException((Exception*)e_195252, "ERecoverableError");
}

N_NIMCALL(void, handleerror_196459)(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;
		{
			NIM_BOOL LOC9;
			NIM_BOOL LOC10;
			LOC9 = 0;
			LOC10 = 0;
			LOC10 = NIM_FALSE;
			if (LOC10) goto LA11;
			LOC10 = (3 <= gverbosity_168127);
			LA11: ;
			LOC9 = LOC10;
			if (LOC9) goto LA12;
			LOC9 = (msg == ((NU16) 2));
			LA12: ;
			if (!LOC9) goto LA13;
			writestacktrace_15606();
		}
		LA13: ;
		exit(1);
	}
	LA5: ;
	{
		NIM_BOOL LOC17;
		LOC17 = 0;
		LOC17 = (((NU16) 0) <= msg);
		if (!(LOC17)) goto LA18;
		LOC17 = (msg <= ((NU16) 229));
		LA18: ;
		if (!LOC17) goto LA19;
		gerrorcounter_195306 += 1;
		gexitcode_168119 = ((NI8) 1);
		{
			if (!(gerrormax_195309 <= gerrorcounter_195306)) goto LA23;
			{
				NIM_BOOL LOC27;
				NIM_BOOL LOC28;
				LOC27 = 0;
				LOC28 = 0;
				LOC28 = NIM_FALSE;
				if (LOC28) goto LA29;
				LOC28 = (3 <= gverbosity_168127);
				LA29: ;
				LOC27 = LOC28;
				if (LOC27) goto LA30;
				LOC27 = (msg == ((NU16) 2));
				LA30: ;
				if (!LOC27) goto LA31;
				writestacktrace_15606();
			}
			LA31: ;
			exit(1);
		}
		goto LA21;
		LA23: ;
		{
			NIM_BOOL LOC34;
			LOC34 = 0;
			LOC34 = (eh == ((NU8) 1));
			if (!(LOC34)) goto LA35;
			LOC34 = !((gcmd_168120 == ((NU8) 14)));
			LA35: ;
			if (!LOC34) goto LA36;
			{
				NIM_BOOL LOC40;
				NIM_BOOL LOC41;
				LOC40 = 0;
				LOC41 = 0;
				LOC41 = NIM_FALSE;
				if (LOC41) goto LA42;
				LOC41 = (3 <= gverbosity_168127);
				LA42: ;
				LOC40 = LOC41;
				if (LOC40) goto LA43;
				LOC40 = (msg == ((NU16) 2));
				LA43: ;
				if (!LOC40) goto LA44;
				writestacktrace_15606();
			}
			LA44: ;
			exit(1);
		}
		goto LA21;
		LA36: ;
		{
			if (!(eh == ((NU8) 2))) goto LA47;
			raiserecoverableerror_195247(s);
		}
		goto LA21;
		LA47: ;
		LA21: ;
	}
	LA19: ;
}

N_NIMCALL(void, rawmessage_196643)(NU16 msg, NimStringDesc** args, NI argsLen0) {
	NimStringDesc* frmt;
	NimStringDesc* s;
	NimStringDesc* LOC22;
	NimStringDesc* LOC23;
	frmt = 0;
	switch (msg) {
	case ((NU16) 0) ... ((NU16) 229):
	{
		tlineinfo194539 LOC2;
		LOC2 = unknownlineinfo_195405();
		writecontext_196590(LOC2);
		frmt = copyString(((NimStringDesc*) &TMP427));
	}
	break;
	case ((NU16) 230) ... ((NU16) 258):
	{
		tlineinfo194539 LOC12;
		{
			if (!!(((goptions_168116 &(1<<((((NU8) 11))&31)))!=0))) goto LA6;
			goto BeforeRet;
		}
		LA6: ;
		{
			if (!!(((gnotes_195305 &(IL64(1)<<(((((NU16) (msg))- 230))&IL64(63))))!=0))) goto LA10;
			goto BeforeRet;
		}
		LA10: ;
		LOC12 = unknownlineinfo_195405();
		writecontext_196590(LOC12);
		frmt = copyString(((NimStringDesc*) &TMP428));
		gwarncounter_195308 += 1;
	}
	break;
	case ((NU16) 259) ... ((NU16) 275):
	{
		{
			if (!!(((goptions_168116 &(1<<((((NU8) 12))&31)))!=0))) goto LA16;
			goto BeforeRet;
		}
		LA16: ;
		{
			if (!!(((gnotes_195305 &(IL64(1)<<(((((NU16) (msg))- 230))&IL64(63))))!=0))) goto LA20;
			goto BeforeRet;
		}
		LA20: ;
		frmt = copyString(((NimStringDesc*) &TMP429));
		ghintcounter_195307 += 1;
	}
	break;
	}
	LOC22 = 0;
	LOC22 = msgkindtostring_196378(msg);
	LOC23 = 0;
	LOC23 = nsuFormatOpenArray(LOC22, args, argsLen0);
	s = nsuFormatSingleElem(frmt, LOC23);
	msgwriteln_196236(s);
	handleerror_196459(msg, ((NU8) 1), s);
	BeforeRet: ;
}

N_NIMCALL(void, rawmessage_196733)(NU16 msg, NimStringDesc* arg) {
	TY196301 LOC1;
	memset((void*)LOC1, 0, sizeof(LOC1));
	LOC1[0] = copyString(arg);
	rawmessage_196643(msg, LOC1, 1);
}

N_NIMCALL(void, internalerror_197006)(NimStringDesc* errmsg) {
	tlineinfo194539 LOC5;
	{
		if (!(gcmd_168120 == ((NU8) 14))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	LOC5 = unknownlineinfo_195405();
	writecontext_196590(LOC5);
	rawmessage_196733(((NU16) 2), errmsg);
	BeforeRet: ;
}

N_NIMCALL(void, HEX3Aanonymous_197195)(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*) &TMP431));
appendString(LOC2, msg);
		internalerror_197006(LOC2);
	}
	break;
	case ((NU8) 2):
	{
		NimStringDesc* LOC4;
		LOC4 = 0;
		LOC4 = rawNewString(msg->Sup.len + 23);
appendString(LOC4, ((NimStringDesc*) &TMP432));
appendString(LOC4, msg);
		internalerror_197006(LOC4);
	}
	break;
	case ((NU8) 0):
	{
		NU16 LOC6;
		LOC6 = 0;
		{
			if (!usewarning) goto LA9;
			LOC6 = ((NU16) 230);
		}
		goto LA7;
		LA9: ;
		{
			LOC6 = ((NU16) 3);
		}
		LA7: ;
		rawmessage_196733(LOC6, msg);
	}
	break;
	}
}

static N_INLINE(NIM_BOOL, canbecycleroot_48667)(tcell44935* c) {
	NIM_BOOL result;
	result = 0;
	result = !((((*(*c).Typ).flags &(1<<((((NU8) 1))&7)))!=0));
	return result;
}

static N_INLINE(void, rtladdcycleroot_49429)(tcell44935* c) {
	{
		if (!!((((NI) ((NI)((*c).Refcount & 3))) == 3))) goto LA3;
		(*c).Refcount = (NI)((NI)((*c).Refcount & -4) | 3);
		incl_45671((&gch_47044.Cycleroots), c);
	}
	LA3: ;
}

static N_INLINE(void, incref_51025)(tcell44935* c) {
	(*c).Refcount = (NI)((NU32)((*c).Refcount) + (NU32)(8));
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = canbecycleroot_48667(c);
		if (!LOC3) goto LA4;
		rtladdcycleroot_49429(c);
	}
	LA4: ;
}

static N_INLINE(void, decref_50604)(tcell44935* c) {
	{
		(*c).Refcount -= 8;
		if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA3;
		rtladdzct_50204(c);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = canbecycleroot_48667(c);
		if (!LOC6) goto LA7;
		rtladdcycleroot_49429(c);
	}
	goto LA1;
	LA7: ;
	LA1: ;
}

static N_INLINE(void, asgnRef)(void** dest, void* src) {
	{
		tcell44935* LOC5;
		if (!!((src == NIM_NIL))) goto LA3;
		LOC5 = 0;
		LOC5 = usrtocell_48646(src);
		incref_51025(LOC5);
	}
	LA3: ;
	{
		tcell44935* LOC10;
		if (!!(((*dest) == NIM_NIL))) goto LA8;
		LOC10 = 0;
		LOC10 = usrtocell_48646((*dest));
		decref_50604(LOC10);
	}
	LA8: ;
	(*dest) = src;
}

N_NIMCALL(NimStringDesc*, tofullpath_196037)(NI32 fileidx) {
	NimStringDesc* result;
	result = 0;
	{
		if (!(fileidx < ((NI32) 0))) goto LA3;
		result = copyString(((NimStringDesc*) &TMP153));
	}
	goto LA1;
	LA3: ;
	{
		result = copyString(fileinfos_194642->data[fileidx].Fullpath);
	}
	LA1: ;
	return result;
}

static N_INLINE(NIM_BOOL, contains_196884)(slice196873 s_196890, NU16 value_196893) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = (s_196890.A <= value_196893);
	if (!(LOC1)) goto LA2;
	LOC1 = (value_196893 <= s_196890.B);
	LA2: ;
	result = LOC1;
	return result;
}

static N_INLINE(slice196873, HEX2EHEX2E_196864)(NU16 a_196868, NU16 b_196870) {
	slice196873 result;
	memset((void*)(&result), 0, sizeof(result));
	result.A = a_196868;
	result.B = b_196870;
	return result;
}

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

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		tcell44935* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_48646(src);
		(*c).Refcount += 8;
	}
	LA3: ;
	{
		tcell44935* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_48646((*dest));
		{
			(*c).Refcount -= 8;
			if (!((NU32)((*c).Refcount) < (NU32)(8))) goto LA11;
			rtladdzct_50204(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(void, addsourceline_197042)(NI32 fileidx, NimStringDesc* line) {
	trope176009* LOC1;
	LOC1 = 0;
	LOC1 = torope_176076(line);
	fileinfos_194642->data[fileidx].Lines = (TY194552*) incrSeq(&(fileinfos_194642->data[fileidx].Lines)->Sup, sizeof(trope176009*));
	asgnRefNoCycle((void**) (&fileinfos_194642->data[fileidx].Lines->data[fileinfos_194642->data[fileidx].Lines->Sup.len-1]), LOC1);
}

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

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

static N_INLINE(void, popCurrentException)(void) {
	asgnRef((void**) (&currexception_16245), (*currexception_16245).parent);
}

N_NIMCALL(trope176009*, sourceline_195277)(tlineinfo194539 i) {
	trope176009* result;
	result = 0;
	{
		if (!(i.Fileindex < ((NI32) 0))) goto LA3;
		result = NIM_NIL;
		goto BeforeRet;
	}
	LA3: ;
	{
		NIM_BOOL LOC7;
		TSafePoint TMP1038;
		LOC7 = 0;
		LOC7 = !(((gglobaloptions_168118 &(1<<((((NU8) 31))&31)))!=0));
		if (!(LOC7)) goto LA8;
		LOC7 = (fileinfos_194642->data[i.Fileindex].Lines->Sup.len == 0);
		LA8: ;
		if (!LOC7) goto LA9;
		pushSafePoint(&TMP1038);
		TMP1038.status = setjmp(TMP1038.context);
		if (TMP1038.status == 0) {
			{
				NimStringDesc* line_197100;
				NimStringDesc* HEX3Atmp_197156;
				FILE* f_197159;
				NimStringDesc* res_197161;
				line_197100 = 0;
				HEX3Atmp_197156 = 0;
				HEX3Atmp_197156 = tofullpath_196037(i.Fileindex);
				f_197159 = open_12617(HEX3Atmp_197156, ((NU8) 0), 8000);
				res_197161 = rawNewString(80);
				{
					while (1) {
						NIM_BOOL LOC15;
						LOC15 = 0;
						LOC15 = readline_12889(f_197159, (&res_197161));
						if (!LOC15) goto LA14;
						line_197100 = res_197161;
						addsourceline_197042(i.Fileindex, line_197100);
					} LA14: ;
				}
				fclose(f_197159);
			}
			popSafePoint();
		}
		else {
			popSafePoint();
			if (isObj(getCurrentException()->Sup.m_type, (&NTI3231))) {
				TMP1038.status = 0;
				popCurrentException();
			}
		}
		if (TMP1038.status != 0) reraiseException();
	}
	LA9: ;
	{
		NimStringDesc* LOC22;
		if (!!((((NI) (i.Fileindex)) < fileinfos_194642->Sup.len))) goto LA20;
		LOC22 = 0;
		LOC22 = HEX24_197126(TMP1048);
		internalerror_197006(LOC22);
	}
	LA20: ;
	{
		if (!(fileinfos_194642->data[i.Fileindex].Lines->Sup.len < ((NI) (i.Line)))) goto LA25;
		result = NIM_NIL;
		goto BeforeRet;
	}
	LA25: ;
	result = fileinfos_194642->data[i.Fileindex].Lines->data[(NI16)(i.Line - ((NI16) 1))];
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, writesurroundingsrc_196747)(tlineinfo194539 info) {
	NimStringDesc* LOC1;
	trope176009* LOC2;
	NimStringDesc* LOC3;
	NimStringDesc* LOC4;
	NimStringDesc* LOC5;
	LOC1 = 0;
	LOC2 = 0;
	LOC2 = sourceline_195277(info);
	LOC3 = 0;
	LOC3 = ropetostr_176101(LOC2);
	LOC1 = rawNewString(LOC3->Sup.len + 2);
appendString(LOC1, ((NimStringDesc*) &TMP1036));
appendString(LOC1, LOC3);
	msgwriteln_196236(LOC1);
	LOC4 = 0;
	LOC5 = 0;
	LOC5 = nsuRepeatChar(((NI) (info.Col)), 32);
	LOC4 = rawNewString(LOC5->Sup.len + 3);
appendString(LOC4, ((NimStringDesc*) &TMP1036));
appendString(LOC4, LOC5);
appendChar(LOC4, 94);
	msgwriteln_196236(LOC4);
}

N_NIMCALL(void, limessage_196774)(tlineinfo194539 info, NU16 msg, NimStringDesc* arg, NU8 eh) {
	NimStringDesc* frmt;
	NIM_BOOL ignoremsg;
	NimStringDesc* s;
	TY196620 LOC12;
	frmt = 0;
	ignoremsg = NIM_FALSE;
	switch (msg) {
	case ((NU16) 0) ... ((NU16) 229):
	{
		writecontext_196590(info);
		frmt = copyString(((NimStringDesc*) &TMP1033));
		lasterror_195436 = info;
	}
	break;
	case ((NU16) 230) ... ((NU16) 258):
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = !(((goptions_168116 &(1<<((((NU8) 11))&31)))!=0));
		if (LOC3) goto LA4;
		LOC3 = !(((gnotes_195305 &(IL64(1)<<(((((NU16) (msg))- 230))&IL64(63))))!=0));
		LA4: ;
		ignoremsg = LOC3;
		{
			if (!!(ignoremsg)) goto LA7;
			writecontext_196590(info);
		}
		LA7: ;
		frmt = copyString(((NimStringDesc*) &TMP1034));
		gwarncounter_195308 += 1;
	}
	break;
	case ((NU16) 259) ... ((NU16) 275):
	{
		NIM_BOOL LOC10;
		LOC10 = 0;
		LOC10 = !(((goptions_168116 &(1<<((((NU8) 12))&31)))!=0));
		if (LOC10) goto LA11;
		LOC10 = !(((gnotes_195305 &(IL64(1)<<(((((NU16) (msg))- 230))&IL64(63))))!=0));
		LA11: ;
		ignoremsg = LOC10;
		frmt = copyString(((NimStringDesc*) &TMP1035));
		ghintcounter_195307 += 1;
	}
	break;
	}
	memset((void*)LOC12, 0, sizeof(LOC12));
	LOC12[0] = tomsgfilename_196061(info);
	LOC12[1] = coordtostr_196368(((NI) (info.Line)));
	LOC12[2] = coordtostr_196368(((NI) (info.Col)));
	LOC12[3] = getmessagestr_196388(msg, arg);
	s = nsuFormatOpenArray(frmt, LOC12, 4);
	{
		if (!!(ignoremsg)) goto LA15;
		msgwriteln_196236(s);
		{
			NIM_BOOL LOC19;
			slice196873 LOC21;
			LOC19 = 0;
			LOC19 = (2 <= gverbosity_168127);
			if (!(LOC19)) goto LA20;
			LOC21 = HEX2EHEX2E_196864(((NU16) 0), ((NU16) 229));
			LOC19 = contains_196884(LOC21, msg);
			LA20: ;
			if (!LOC19) goto LA22;
			writesurroundingsrc_196747(info);
		}
		LA22: ;
	}
	LA15: ;
	handleerror_196459(msg, eh, s);
}

N_NIMCALL(void, message_196976)(tlineinfo194539 info, NU16 msg, NimStringDesc* arg) {
	limessage_196774(info, msg, arg, ((NU8) 0));
}

N_NIMCALL(void, internalerror_196987)(tlineinfo194539 info, NimStringDesc* errmsg) {
	{
		if (!(gcmd_168120 == ((NU8) 14))) goto LA3;
		goto BeforeRet;
	}
	LA3: ;
	writecontext_196590(info);
	limessage_196774(info, ((NU16) 2), errmsg, ((NU8) 1));
	BeforeRet: ;
}

static N_INLINE(void, shallow_85424)(NimStringDesc** s_85427) {
	TGenericSeq* s;
	s = ((TGenericSeq*) ((*s_85427)));
	(*s).reserved = (NI)((*s).reserved | (-2147483647 -1));
}

N_NIMCALL(NI32, fileinfoidx_194747)(NimStringDesc* filename) {
	NI32 result;
	NimStringDesc* volatile canon;
	NIM_BOOL pseudopath;
	TSafePoint TMP1072;
	result = 0;
	canon = 0;
	pseudopath = NIM_FALSE;
	pushSafePoint(&TMP1072);
	TMP1072.status = setjmp(TMP1072.context);
	if (TMP1072.status == 0) {
		canon = canonicalizepath_168390(filename);
		shallow_85424((&canon));
		popSafePoint();
	}
	else {
		popSafePoint();
		{
			TMP1072.status = 0;
			canon = copyString(filename);
			pseudopath = NIM_TRUE;
			popCurrentException();
		}
	}
	if (TMP1072.status != 0) reraiseException();
	{
		NIM_BOOL LOC6;
		LOC6 = 0;
		LOC6 = haskey_194756(filenametoindextbl_194620, canon);
		if (!LOC6) goto LA7;
		result = HEX5BHEX5D_194817(filenametoindextbl_194620, canon);
	}
	goto LA4;
	LA7: ;
	{
		NimStringDesc* LOC10;
		tfileinfo194537 LOC16;
		result = ((NI32) (fileinfos_194642->Sup.len));
		LOC10 = 0;
		{
			if (!pseudopath) goto LA13;
			LOC10 = copyString(filename);
		}
		goto LA11;
		LA13: ;
		{
			LOC10 = shortendir_168407(canon);
		}
		LA11: ;
		memset((void*)(&LOC16), 0, sizeof(LOC16));
		newfileinfo_194702(canon, LOC10, (&LOC16));
		fileinfos_194642 = (TY194621*) incrSeq(&(fileinfos_194642)->Sup, sizeof(tfileinfo194537));
		genericAssign((void*)(&fileinfos_194642->data[fileinfos_194642->Sup.len-1]), (void*)(&LOC16), (&NTI194537));
		HEX5BHEX5DHEX3D_194879((&filenametoindextbl_194620), canon, result);
	}
	LA4: ;
	return result;
}

N_NIMCALL(void, localerror_196955)(tlineinfo194539 info, NU16 msg, NimStringDesc* arg) {
	limessage_196774(info, msg, arg, ((NU8) 0));
}

N_NIMCALL(NimStringDesc*, tofilename_196025)(NI32 fileidx) {
	NimStringDesc* result;
	result = 0;
	{
		if (!(fileidx < ((NI32) 0))) goto LA3;
		result = copyString(((NimStringDesc*) &TMP153));
	}
	goto LA1;
	LA3: ;
	{
		result = copyString(fileinfos_194642->data[fileidx].Projpath);
	}
	LA1: ;
	return result;
}

N_NIMCALL(void, addcheckpoint_196161)(tlineinfo194539 info) {
	checkpoints_196151 = (TY195414*) incrSeq(&(checkpoints_196151)->Sup, sizeof(tlineinfo194539));
	checkpoints_196151->data[checkpoints_196151->Sup.len-1] = info;
}

N_NIMCALL(NU8, incheckpoint_196411)(tlineinfo194539 current) {
	NU8 result;
	result = 0;
	{
		NI i_196427;
		NI HEX3Atmp_196431;
		NI res_196434;
		i_196427 = 0;
		HEX3Atmp_196431 = 0;
		HEX3Atmp_196431 = (checkpoints_196151->Sup.len-1);
		res_196434 = 0;
		{
			while (1) {
				if (!(res_196434 <= HEX3Atmp_196431)) goto LA3;
				i_196427 = res_196434;
				{
					if (!(current.Fileindex == checkpoints_196151->data[i_196427].Fileindex)) goto LA6;
					{
						NIM_BOOL LOC10;
						LOC10 = 0;
						LOC10 = (current.Line == checkpoints_196151->data[i_196427].Line);
						if (!(LOC10)) goto LA11;
						LOC10 = (((NI16)(current.Col - checkpoints_196151->data[i_196427].Col) > 0? ((NI16)(current.Col - checkpoints_196151->data[i_196427].Col)) : -((NI16)(current.Col - checkpoints_196151->data[i_196427].Col))) < ((NI16) 4));
						LA11: ;
						if (!LOC10) goto LA12;
						result = ((NU8) 2);
						goto BeforeRet;
					}
					LA12: ;
					{
						if (!(checkpoints_196151->data[i_196427].Line <= current.Line)) goto LA16;
						result = ((NU8) 1);
						goto BeforeRet;
					}
					LA16: ;
				}
				LA6: ;
				res_196434 += 1;
			} LA3: ;
		}
	}
	BeforeRet: ;
	return result;
}

N_NIMCALL(void, suggestwriteln_195457)(NimStringDesc* s) {
	{
		if (!((erroroutputs_195440 &(1<<((((NU8) 0))&7)))!=0)) goto LA3;
		{
			TY196301 LOC9;
			if (!stdoutsocket_195318 == 0) goto LA7;
			memset((void*)LOC9, 0, sizeof(LOC9));
			LOC9[0] = copyString(s);
			writeln_169205(stdout, LOC9, 1);
		}
		goto LA5;
		LA7: ;
		{
			TY196301 LOC11;
			NimStringDesc* LOC12;
			memset((void*)LOC11, 0, sizeof(LOC11));
			LOC11[0] = copyString(s);
			writeln_169205(stdout, LOC11, 1);
			LOC12 = 0;
			LOC12 = rawNewString(s->Sup.len + 2);
appendString(LOC12, s);
appendString(LOC12, ((NimStringDesc*) &TMP1982));
			send_192008(stdoutsocket_195318, LOC12);
		}
		LA5: ;
	}
	LA3: ;
	{
		if (!((erroroutputs_195440 &(1<<((((NU8) 2))&7)))!=0)) goto LA15;
		safeadd_195660((&bufferedmsgs_195438), s);
	}
	LA15: ;
}

N_NIMCALL(void, globalerror_196934)(tlineinfo194539 info, NU16 msg, NimStringDesc* arg) {
	limessage_196774(info, msg, arg, ((NU8) 2));
}

N_NIMCALL(void, pushinfocontext_195930)(tlineinfo194539 info) {
	msgcontext_195435 = (TY195414*) incrSeq(&(msgcontext_195435)->Sup, sizeof(tlineinfo194539));
	msgcontext_195435->data[msgcontext_195435->Sup.len-1] = info;
}

N_NIMCALL(void, popinfocontext_195957)(void) {
	msgcontext_195435 = (TY195414*) setLengthSeq(&(msgcontext_195435)->Sup, sizeof(tlineinfo194539), (NI32)(msgcontext_195435->Sup.len - 1));
}

N_NIMCALL(void, clearbufferedmsgs_195449)(void) {
	genericSeqAssign((&bufferedmsgs_195438), NIM_NIL, (&NTI118808));
}
N_NIMCALL(void, TMP2697)(void* p, NI op) {
	esuggestdone194547* a;
	a = (esuggestdone194547*)p;
	nimGCvisit((void*)(*a).Sup.parent, op);
	nimGCvisit((void*)(*a).Sup.message, op);
	nimGCvisit((void*)(*a).Sup.trace, op);
}

N_NIMCALL(void, suggestquit_195846)(void) {
	{
		if (!!(isserving_168133)) goto LA3;
		exit(0);
	}
	goto LA1;
	LA3: ;
	{
		esuggestdone194547* e_195850;
		NimStringDesc* LOC8;
		if (!!((gdirtybufferidx_168134 == ((NI32) 0)))) goto LA6;
		e_195850 = 0;
		e_195850 = (esuggestdone194547*) newObj((&NTI195851), sizeof(esuggestdone194547));
		(*e_195850).Sup.Sup.m_type = (&NTI194547);
		LOC8 = 0;
		LOC8 = (*e_195850).Sup.message; (*e_195850).Sup.message = copyStringRC1(((NimStringDesc*) &TMP2698));
		if (LOC8) nimGCunrefNoCycle(LOC8);
		raiseException((Exception*)e_195850, "ESuggestDone");
	}
	goto LA1;
	LA6: ;
	LA1: ;
}

N_NIMCALL(void, globalerror_196945)(tlineinfo194539 info, NimStringDesc* arg) {
	limessage_196774(info, ((NU16) 4), arg, ((NU8) 2));
}

N_NIMCALL(NimStringDesc*, formatmsg_196757)(tlineinfo194539 info, NU16 msg, NimStringDesc* arg) {
	NimStringDesc* result;
	NimStringDesc* frmt;
	TY196620 LOC4;
	result = 0;
	switch (msg) {
	case ((NU16) 230) ... ((NU16) 258):
	{
		frmt = copyString(((NimStringDesc*) &TMP1034));
	}
	break;
	case ((NU16) 259) ... ((NU16) 275):
	{
		frmt = copyString(((NimStringDesc*) &TMP1035));
	}
	break;
	default:
	{
		frmt = copyString(((NimStringDesc*) &TMP1033));
	}
	break;
	}
	memset((void*)LOC4, 0, sizeof(LOC4));
	LOC4[0] = tomsgfilename_196061(info);
	LOC4[1] = coordtostr_196368(((NI) (info.Line)));
	LOC4[2] = coordtostr_196368(((NI) (info.Col)));
	LOC4[3] = getmessagestr_196388(msg, arg);
	result = nsuFormatOpenArray(frmt, LOC4, 4);
	return result;
}

N_NIMCALL(void, localerror_196966)(tlineinfo194539 info, NimStringDesc* arg) {
	limessage_196774(info, ((NU16) 4), arg, ((NU8) 0));
}

N_NIMCALL(void, fatal_196923)(tlineinfo194539 info, NU16 msg, NimStringDesc* arg) {
	limessage_196774(info, msg, arg, ((NU8) 1));
}

N_NIMCALL(tlineinfo194539, getinfocontext_195992)(NI index) {
	tlineinfo194539 result;
	NI l;
	NI i;
	memset((void*)(&result), 0, sizeof(result));
	l = msgcontext_195435->Sup.len;
	{
		if (!(index < 0)) goto LA3;
		i = (NI32)(l + index);
	}
	goto LA1;
	LA3: ;
	{
		i = index;
	}
	LA1: ;
	{
		if (!((NU32)(l) <= (NU32)(i))) goto LA8;
		result = unknownlineinfo_195405();
	}
	goto LA6;
	LA8: ;
	{
		result = msgcontext_195435->data[i];
	}
	LA6: ;
	return result;
}

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

N_NIMCALL(void, setinfocontextlen_195905)(NI l) {
	msgcontext_195435 = (TY195414*) setLengthSeq(&(msgcontext_195435)->Sup, sizeof(tlineinfo194539), l);
}

N_NIMCALL(trope176009*, quotedfilename_197178)(tlineinfo194539 i) {
	trope176009* result;
	result = 0;
	{
		NimStringDesc* LOC5;
		if (!!((((NI32) 0) <= i.Fileindex))) goto LA3;
		LOC5 = 0;
		LOC5 = HEX24_197126(TMP3613);
		internalerror_197006(LOC5);
	}
	LA3: ;
	result = fileinfos_194642->data[i.Fileindex].Quotedname;
	return result;
}

N_NIMCALL(void, outwriteln_196198)(NimStringDesc* s) {
	{
		TY196301 LOC5;
		if (!((erroroutputs_195440 &(1<<((((NU8) 0))&7)))!=0)) goto LA3;
		memset((void*)LOC5, 0, sizeof(LOC5));
		LOC5[0] = copyString(s);
		writeln_169205(stdout, LOC5, 1);
	}
	LA3: ;
}
NIM_EXTERNC N_NOINLINE(void, HEX00_msgsInit)(void) {
	tfileinfo194537 LOC1;
	tfileinfo194537 LOC2;
	TY176138 LOC3;
	chckNil((void*)(&filenametoindextbl_194620));
	genericReset((void*)(&filenametoindextbl_194620), (&NTI194576));
	inittable_194568(64, (&filenametoindextbl_194620));
	if (fileinfos_194642) nimGCunrefNoCycle(fileinfos_194642);
	fileinfos_194642 = (TY194621*) newSeqRC1((&NTI194621), 0);
	memset((void*)(&LOC1), 0, sizeof(LOC1));
	newfileinfo_194702(((NimStringDesc*) &TMP142), ((NimStringDesc*) &TMP144), (&LOC1));
	fileinfos_194642 = (TY194621*) incrSeq(&(fileinfos_194642)->Sup, sizeof(tfileinfo194537));
	genericAssign((void*)(&fileinfos_194642->data[fileinfos_194642->Sup.len-1]), (void*)(&LOC1), (&NTI194537));
	gcmdlineinfo_195192 = newlineinfo_195129(((NI32) 0), 1, 1);
	memset((void*)(&LOC2), 0, sizeof(LOC2));
	newfileinfo_194702(((NimStringDesc*) &TMP142), ((NimStringDesc*) &TMP145), (&LOC2));
	fileinfos_194642 = (TY194621*) incrSeq(&(fileinfos_194642)->Sup, sizeof(tfileinfo194537));
	genericAssign((void*)(&fileinfos_194642->data[fileinfos_194642->Sup.len-1]), (void*)(&LOC2), (&NTI194537));
	gcodegenlineinfo_195239 = newlineinfo_195129(((NI32) 1), 1, 1);
	gnotes_195305 = IL64(70368695418879);
	gerrorcounter_195306 = 0;
	ghintcounter_195307 = 0;
	gwarncounter_195308 = 0;
	gerrormax_195309 = 1;
	if (msgcontext_195435) nimGCunrefNoCycle(msgcontext_195435);
	msgcontext_195435 = (TY195414*) newSeqRC1((&NTI195414), 0);
	lasterror_195436 = unknownlineinfo_195405();
	erroroutputs_195440 = 3;
	if (checkpoints_196151) nimGCunrefNoCycle(checkpoints_196151);
	checkpoints_196151 = (TY195414*) newSeqRC1((&NTI195414), 0);
	memset((void*)(&LOC3), 0, sizeof(LOC3));
	LOC3.ClPrc = ((TMP433) (HEX3Aanonymous_197195)); LOC3.ClEnv = NIM_NIL;
	asgnRef((void**) (&errorhandler_176143.ClEnv), LOC3.ClEnv);
	errorhandler_176143.ClPrc = LOC3.ClPrc;
}

NIM_EXTERNC N_NOINLINE(void, HEX00_msgsDatInit)(void) {
static TNimNode* TMP138[5];
static TNimNode* TMP146[3];
static TNimNode* TMP1974[276];
NI TMP1976;
static char* NIM_CONST TMP1975[276] = {
"errUnknown", 
"errIllFormedAstX", 
"errInternal", 
"errCannotOpenFile", 
"errGenerated", 
"errXCompilerDoesNotSupportCpp", 
"errStringLiteralExpected", 
"errIntLiteralExpected", 
"errInvalidCharacterConstant", 
"errClosingTripleQuoteExpected", 
"errClosingQuoteExpected", 
"errTabulatorsAreNotAllowed", 
"errInvalidToken", 
"errLineTooLong", 
"errInvalidNumber", 
"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", 
"errNoneBoehmRefcExpectedButXFound", 
"errNoneSpeedOrSizeExpectedButXFound", 
"errGuiConsoleOrLibExpectedButXFound", 
"errUnknownOS", 
"errUnknownCPU", 
"errGenOutExpectedButXFound", 
"errArgsNeedRunOption", 
"errInvalidMultipleAsgn", 
"errColonOrEqualsExpected", 
"errExprExpected", 
"errUndeclaredIdentifier", 
"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", 
"errUnkownSubstitionVar", 
"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", 
"errInvalidCommandX", 
"errXOnlyAtModuleScope", 
"errXNeedsParamObjectType", 
"errTemplateInstantiationTooNested", 
"errInstantiationFrom", 
"errInvalidIndexValueForTuple", 
"errCommandExpectsFilename", 
"errMainModuleMustBeSpecified", 
"errXExpected", 
"errTIsNotAConcreteType", 
"errInvalidSectionStart", 
"errGridTableNotImplemented", 
"errGeneralParseError", 
"errNewSectionExpected", 
"errWhitespaceExpected", 
"errXisNoValidIndexFile", 
"errCannotRenderX", 
"errVarVarTypeNotAllowed", 
"errInstantiateXExplicitely", 
"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", 
"errUser", 
"warnCannotOpenFile", 
"warnOctalEscape", 
"warnXIsNeverRead", 
"warnXmightNotBeenInit", 
"warnDeprecated", 
"warnConfigDeprecated", 
"warnSmallLshouldNotBeUsed", 
"warnUnknownMagic", 
"warnRedefinitionOfLabel", 
"warnUnknownSubstitutionX", 
"warnLanguageXNotSupported", 
"warnFieldXNotSupported", 
"warnCommentXIgnored", 
"warnNilStatement", 
"warnAnalysisLoophole", 
"warnDifferentHeaps", 
"warnWriteToForeignHeap", 
"warnUnsafeCode", 
"warnEachIdentIsTuple", 
"warnShadowIdent", 
"warnProveInit", 
"warnProveField", 
"warnProveIndex", 
"warnGcUnsafe", 
"warnGcUnsafe2", 
"warnUninit", 
"warnGcMem", 
"warnLockLevel", 
"warnUser", 
"hintSuccess", 
"hintSuccessX", 
"hintLineTooLong", 
"hintXDeclaredButNotUsed", 
"hintConvToBaseNotNeeded", 
"hintConvFromXtoItselfNotNeeded", 
"hintExprAlwaysX", 
"hintQuitCalled", 
"hintProcessing", 
"hintCodeBegin", 
"hintCodeEnd", 
"hintConf", 
"hintPath", 
"hintConditionAlwaysTrue", 
"hintName", 
"hintPattern", 
"hintUser"};
static TNimNode TMP19[290];
NTI194537.size = sizeof(tfileinfo194537);
NTI194537.kind = 18;
NTI194537.base = 0;
NTI194537.flags = 2;
TMP138[0] = &TMP19[1];
TMP19[1].kind = 1;
TMP19[1].offset = offsetof(tfileinfo194537, Fullpath);
TMP19[1].typ = (&NTI149);
TMP19[1].name = "fullPath";
TMP138[1] = &TMP19[2];
TMP19[2].kind = 1;
TMP19[2].offset = offsetof(tfileinfo194537, Projpath);
TMP19[2].typ = (&NTI149);
TMP19[2].name = "projPath";
TMP138[2] = &TMP19[3];
TMP19[3].kind = 1;
TMP19[3].offset = offsetof(tfileinfo194537, Shortname);
TMP19[3].typ = (&NTI149);
TMP19[3].name = "shortName";
TMP138[3] = &TMP19[4];
TMP19[4].kind = 1;
TMP19[4].offset = offsetof(tfileinfo194537, Quotedname);
TMP19[4].typ = (&NTI176007);
TMP19[4].name = "quotedName";
TMP138[4] = &TMP19[5];
NTI194552.size = sizeof(TY194552*);
NTI194552.kind = 24;
NTI194552.base = (&NTI176007);
NTI194552.flags = 2;
NTI194552.marker = TMP139;
TMP19[5].kind = 1;
TMP19[5].offset = offsetof(tfileinfo194537, Lines);
TMP19[5].typ = (&NTI194552);
TMP19[5].name = "lines";
TMP19[0].len = 5; TMP19[0].kind = 2; TMP19[0].sons = &TMP138[0];
NTI194537.node = &TMP19[0];
NTI194621.size = sizeof(TY194621*);
NTI194621.kind = 24;
NTI194621.base = (&NTI194537);
NTI194621.flags = 2;
NTI194621.marker = TMP140;
NTI194539.size = sizeof(tlineinfo194539);
NTI194539.kind = 18;
NTI194539.base = 0;
NTI194539.flags = 3;
TMP146[0] = &TMP19[7];
TMP19[7].kind = 1;
TMP19[7].offset = offsetof(tlineinfo194539, Line);
TMP19[7].typ = (&NTI112);
TMP19[7].name = "line";
TMP146[1] = &TMP19[8];
TMP19[8].kind = 1;
TMP19[8].offset = offsetof(tlineinfo194539, Col);
TMP19[8].typ = (&NTI112);
TMP19[8].name = "col";
TMP146[2] = &TMP19[9];
TMP19[9].kind = 1;
TMP19[9].offset = offsetof(tlineinfo194539, Fileindex);
TMP19[9].typ = (&NTI114);
TMP19[9].name = "fileIndex";
TMP19[6].len = 3; TMP19[6].kind = 2; TMP19[6].sons = &TMP146[0];
NTI194539.node = &TMP19[6];
NTI195414.size = sizeof(TY195414*);
NTI195414.kind = 24;
NTI195414.base = (&NTI194539);
NTI195414.flags = 2;
NTI195414.marker = TMP147;
NTI194545.size = sizeof(erecoverableerror194545);
NTI194545.kind = 17;
NTI194545.base = (&NTI3249);
TMP19[10].len = 0; TMP19[10].kind = 2;
NTI194545.node = &TMP19[10];
NTI195253.size = sizeof(erecoverableerror194545*);
NTI195253.kind = 22;
NTI195253.base = (&NTI194545);
NTI195253.marker = TMP430;
NTI194205.size = sizeof(NU16);
NTI194205.kind = 14;
NTI194205.base = 0;
NTI194205.flags = 3;
for (TMP1976 = 0; TMP1976 < 276; TMP1976++) {
TMP19[TMP1976+11].kind = 1;
TMP19[TMP1976+11].offset = TMP1976;
TMP19[TMP1976+11].name = TMP1975[TMP1976];
TMP1974[TMP1976] = &TMP19[TMP1976+11];
}
TMP19[287].len = 276; TMP19[287].kind = 2; TMP19[287].sons = &TMP1974[0];
NTI194205.node = &TMP19[287];
NTI194533.size = sizeof(NU16);
NTI194533.kind = 20;
NTI194533.base = (&NTI194205);
NTI194533.flags = 3;
NTI194535.size = sizeof(NU64);
NTI194535.kind = 19;
NTI194535.base = (&NTI194533);
NTI194535.flags = 3;
TMP19[288].len = 230; TMP19[288].kind = 0;
NTI194535.node = &TMP19[288];
NTI194547.size = sizeof(esuggestdone194547);
NTI194547.kind = 17;
NTI194547.base = (&NTI3227);
TMP19[289].len = 0; TMP19[289].kind = 2;
NTI194547.node = &TMP19[289];
NTI195851.size = sizeof(esuggestdone194547*);
NTI195851.kind = 22;
NTI195851.base = (&NTI194547);
NTI195851.marker = TMP2697;
}

