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

#include <string.h>

#include <stdio.h>
typedef struct Tparser206205 Tparser206205;
typedef struct Tlexer181185 Tlexer181185;
typedef struct Tbaselexer179024 Tbaselexer179024;
typedef struct TNimObject TNimObject;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Tllstream178204 Tllstream178204;
typedef struct Tlineinfo163338 Tlineinfo163338;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Ttoken181181 Ttoken181181;
typedef struct Tident167021 Tident167021;
typedef struct Tnode190813 Tnode190813;
typedef struct Ttype190849 Ttype190849;
typedef struct Tsym190843 Tsym190843;
typedef struct Tnodeseq190807 Tnodeseq190807;
typedef struct Tcell46347 Tcell46347;
typedef struct Tcellseq46363 Tcellseq46363;
typedef struct Tgcheap48216 Tgcheap48216;
typedef struct Tcellset46359 Tcellset46359;
typedef struct Tpagedesc46355 Tpagedesc46355;
typedef struct Tmemregion28210 Tmemregion28210;
typedef struct Tsmallchunk27440 Tsmallchunk27440;
typedef struct Tllchunk28204 Tllchunk28204;
typedef struct Tbigchunk27442 Tbigchunk27442;
typedef struct Tintset27417 Tintset27417;
typedef struct Ttrunk27413 Ttrunk27413;
typedef struct Tavlnode28208 Tavlnode28208;
typedef struct Tgcstat48214 Tgcstat48214;
typedef struct Tidobj167015 Tidobj167015;
typedef struct Ttypeseq190845 Ttypeseq190845;
typedef struct Tloc190827 Tloc190827;
typedef struct Ropeobj161009 Ropeobj161009;
typedef struct Tscope190837 Tscope190837;
typedef struct TY190944 TY190944;
typedef struct Tstrtable190817 Tstrtable190817;
typedef struct Tsymseq190815 Tsymseq190815;
typedef struct Tlib190831 Tlib190831;
typedef struct Tbasechunk27438 Tbasechunk27438;
typedef struct Tfreecell27430 Tfreecell27430;
typedef struct Tinstantiation190833 Tinstantiation190833;
typedef struct Tlistentry130022 Tlistentry130022;
typedef struct TY190933 TY190933;
typedef N_NIMCALL_PTR(void, TY3289) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3294) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3289 marker;
TY3294 deepcopy;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Tbaselexer179024  {
  TNimObject Sup;
NI bufpos;
NCSTRING buf;
NI buflen;
Tllstream178204* stream;
NI linenumber;
NI sentinel;
NI linestart;
};
struct  Tlineinfo163338  {
NI16 line;
NI16 col;
NI32 fileindex;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
typedef struct {
N_NIMCALL_PTR(void, ClPrc) (Tlineinfo163338 info, NU16 msg, NimStringDesc* arg, void* ClEnv);
void* ClEnv;
} Terrorhandler181183;
struct  Tlexer181185  {
  Tbaselexer179024 Sup;
NI32 fileidx;
NI indentahead;
NI currlineindent;
NIM_BOOL strongspaces;
Terrorhandler181183 errorhandler;
};
struct  Ttoken181181  {
NU8 toktype;
NI indent;
Tident167021* ident;
NI64 inumber;
NF fnumber;
NU8 base;
NI8 strongspacea;
NI8 strongspaceb;
NimStringDesc* literal;
NI line;
NI col;
};
struct  Tparser206205  {
NI currind;
NIM_BOOL firsttok;
NIM_BOOL strongspaces;
Tlexer181185 lex;
Ttoken181181 tok;
NI inpragma;
NI insemistmtlist;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  Tnode190813  {
Ttype190849* typ;
Tlineinfo163338 info;
NU16 flags;
NU8 kind;
union{
struct {NI64 intval;
} S1;
struct {NF floatval;
} S2;
struct {NimStringDesc* strval;
} S3;
struct {Tsym190843* sym;
} S4;
struct {Tident167021* ident;
} S5;
struct {Tnodeseq190807* sons;
} S6;
} kindU;
NimStringDesc* comment;
};
struct  Tcell46347  {
NI refcount;
TNimType* typ;
};
struct  Tcellseq46363  {
NI len;
NI cap;
Tcell46347** d;
};
struct  Tcellset46359  {
NI counter;
NI max;
Tpagedesc46355* head;
Tpagedesc46355** data;
};
typedef Tsmallchunk27440* TY28222[512];
typedef Ttrunk27413* Ttrunkbuckets27415[256];
struct  Tintset27417  {
Ttrunkbuckets27415 data;
};
struct  Tmemregion28210  {
NI minlargeobj;
NI maxlargeobj;
TY28222 freesmallchunks;
Tllchunk28204* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Tbigchunk27442* freechunkslist;
Tintset27417 chunkstarts;
Tavlnode28208* root;
Tavlnode28208* deleted;
Tavlnode28208* last;
Tavlnode28208* freeavlnodes;
};
struct  Tgcstat48214  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Tgcheap48216  {
void* stackbottom;
NI cyclethreshold;
Tcellseq46363 zct;
Tcellseq46363 decstack;
Tcellset46359 cycleroots;
Tcellseq46363 tempstack;
NI recgclock;
Tmemregion28210 region;
Tgcstat48214 stat;
};
typedef NimStringDesc* TY181170[119];
typedef NU8 TY206864[15];
struct  Tidobj167015  {
  TNimObject Sup;
NI id;
};
struct  Tident167021  {
  Tidobj167015 Sup;
NimStringDesc* s;
Tident167021* next;
NI h;
};
typedef Tnode190813* TY208680[1];
typedef N_NIMCALL_PTR(Tnode190813*, Tdefparser209576) (Tparser206205* p);
struct  Tllstream178204  {
  TNimObject Sup;
NU8 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
struct  Tloc190827  {
NU8 k;
NU8 s;
NU16 flags;
Ttype190849* t;
Ropeobj161009* r;
Ropeobj161009* heaproot;
};
struct  Ttype190849  {
  Tidobj167015 Sup;
NU8 kind;
NU8 callconv;
NU32 flags;
Ttypeseq190845* sons;
Tnode190813* n;
Tsym190843* owner;
Tsym190843* sym;
Tsym190843* destructor;
Tsym190843* deepcopy;
Tsym190843* assignment;
NI64 size;
NI16 align;
NI16 locklevel;
Tloc190827 loc;
};
struct  Tstrtable190817  {
NI counter;
Tsymseq190815* data;
};
struct  Tsym190843  {
  Tidobj167015 Sup;
NU8 kind;
union{
struct {Ttypeseq190845* typeinstcache;
Tscope190837* typscope;
} S1;
struct {TY190944* procinstcache;
Tsym190843* gcunsafetyreason;
} S2;
struct {TY190944* usedgenerics;
Tstrtable190817 tab;
} S3;
struct {Tsym190843* guard;
} S4;
} kindU;
NU16 magic;
Ttype190849* typ;
Tident167021* name;
Tlineinfo163338 info;
Tsym190843* owner;
NU32 flags;
Tnode190813* ast;
NU32 options;
NI position;
NI offset;
Tloc190827 loc;
Tlib190831* annex;
Tnode190813* constraint;
};
typedef NI TY27420[16];
struct  Tpagedesc46355  {
Tpagedesc46355* next;
NI key;
TY27420 bits;
};
struct  Tbasechunk27438  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Tsmallchunk27440  {
  Tbasechunk27438 Sup;
Tsmallchunk27440* next;
Tsmallchunk27440* prev;
Tfreecell27430* freelist;
NI free;
NI acc;
NF data;
};
struct  Tllchunk28204  {
NI size;
NI acc;
Tllchunk28204* next;
};
struct  Tbigchunk27442  {
  Tbasechunk27438 Sup;
Tbigchunk27442* next;
Tbigchunk27442* prev;
NI align;
NF data;
};
struct  Ttrunk27413  {
Ttrunk27413* next;
NI key;
TY27420 bits;
};
typedef Tavlnode28208* TY28214[2];
struct  Tavlnode28208  {
TY28214 link;
NI key;
NI upperbound;
NI level;
};
struct  Ropeobj161009  {
  TNimObject Sup;
Ropeobj161009* left;
Ropeobj161009* right;
NI length;
NimStringDesc* data;
};
struct  Tscope190837  {
NI depthlevel;
Tstrtable190817 symbols;
Tnodeseq190807* usingsyms;
Tscope190837* parent;
};
struct  Tlistentry130022  {
  TNimObject Sup;
Tlistentry130022* prev;
Tlistentry130022* next;
};
struct  Tlib190831  {
  Tlistentry130022 Sup;
NU8 kind;
NIM_BOOL generated;
NIM_BOOL isoverriden;
Ropeobj161009* name;
Tnode190813* path;
};
struct  Tfreecell27430  {
Tfreecell27430* next;
NI zerofield;
};
struct  Tinstantiation190833  {
Tsym190843* sym;
Ttypeseq190845* concretetypes;
TY190933* usedby;
};
struct Tnodeseq190807 {
  TGenericSeq Sup;
  Tnode190813* data[SEQ_DECL_SIZE];
};
struct Ttypeseq190845 {
  TGenericSeq Sup;
  Ttype190849* data[SEQ_DECL_SIZE];
};
struct TY190944 {
  TGenericSeq Sup;
  Tinstantiation190833* data[SEQ_DECL_SIZE];
};
struct Tsymseq190815 {
  TGenericSeq Sup;
  Tsym190843* data[SEQ_DECL_SIZE];
};
struct TY190933 {
  TGenericSeq Sup;
  NI32 data[SEQ_DECL_SIZE];
};
N_NIMCALL(void, openparser_206402)(Tparser206205* p, NI32 fileidx, Tllstream178204* inputstream, NIM_BOOL strongspaces);
N_NIMCALL(void, inittoken_181369)(Ttoken181181* L);
N_NIMCALL(void, openlexer_181391)(Tlexer181185* lex, NI32 fileidx, Tllstream178204* inputstream);
N_NIMCALL(void, gettok_206243)(Tparser206205* p);
N_NIMCALL(void, rawgettok_184848)(Tlexer181185* L, Ttoken181181* tok);
N_NIMCALL(NI32, fileinfoidx_163854)(NimStringDesc* filename);
N_NIMCALL(Tnode190813*, newnodep_206266)(NU8 kind, Tparser206205* p);
N_NIMCALL(Tnode190813*, newnodei_192351)(NU8 kind, Tlineinfo163338 info);
N_NIMCALL(Tlineinfo163338, parlineinfo_206316)(Tparser206205* p);
static N_INLINE(Tlineinfo163338, getlineinfo_181218)(Tlexer181185* L, Ttoken181181* tok);
N_NIMCALL(Tlineinfo163338, newlineinfo_163867)(NI32 fileinfoidx, NI line, NI col);
N_NIMCALL(Tnode190813*, complexorsimplestmt_207384)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseiforwhen_209170)(Tparser206205* p, NU8 kind);
N_NIMCALL(void, optind_206344)(Tparser206205* p, Tnode190813* n);
N_NIMCALL(void, skipcomment_206258)(Tparser206205* p, Tnode190813* node);
N_NIMCALL(void, rawskipcomment_206497)(Tparser206205* p, Tnode190813* node);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Tcell46347*, usrtocell_49846)(void* usr);
static N_INLINE(void, rtladdzct_51404)(Tcell46347* c);
N_NOINLINE(void, addzct_49817)(Tcellseq46363* s, Tcell46347* c);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_NIMCALL(void, parmessage_206250)(Tparser206205* p, NU16 msg, NimStringDesc* arg);
N_NIMCALL(void, lexmessagetok_181494)(Tlexer181185* L, NU16 msg, Ttoken181181* tok, NimStringDesc* arg);
N_NIMCALL(void, skipind_206330)(Tparser206205* p);
N_NIMCALL(void, addson_192819)(Tnode190813* father, Tnode190813* son);
N_NIMCALL(Tnode190813*, parseexpr_206742)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseifexpr_207900)(Tparser206205* p, NU8 kind);
N_NIMCALL(void, colcom_206932)(Tparser206205* p, Tnode190813* n);
N_NIMCALL(void, eat_206322)(Tparser206205* p, NU8 toktype);
N_NIMCALL(Tnode190813*, parsecase_206383)(Tparser206205* p);
N_NIMCALL(void, exprlist_207088)(Tparser206205* p, NU8 endtok, Tnode190813* result);
N_NIMCALL(Tnode190813*, parsestmt_206749)(Tparser206205* p);
N_NIMCALL(void, parmessage_206452)(Tparser206205* p, NU16 msg, Ttoken181181* tok);
N_NIMCALL(NimStringDesc*, prettytok_181345)(Ttoken181181* tok);
N_NIMCALL(Tnode190813*, simplestmt_210095)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsereturnorraise_209149)(Tparser206205* p, NU8 kind);
N_NIMCALL(NIM_BOOL, isexprstart_208369)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsestmtpragma_210072)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsepragma_207930)(Tparser206205* p);
N_NIMCALL(Tnode190813*, exprcoloneqexpr_207076)(Tparser206205* p);
N_NIMCALL(Tnode190813*, colonorequals_207046)(Tparser206205* p, Tnode190813* a);
N_NIMCALL(void, optpar_206337)(Tparser206205* p);
N_NIMCALL(void, add_191164)(Tnode190813* father, Tnode190813* son);
N_NIMCALL(Tnode190813*, parseimport_209007)(Tparser206205* p, NU8 kind);
N_NIMCALL(Tnode190813*, parsemodulename_208936)(Tparser206205* p, NU8 kind);
N_NIMCALL(Tnode190813*, parsefromstmt_209112)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseincludestmt_209075)(Tparser206205* p);
N_NIMCALL(Tnode190813*, newcommentstmt_209563)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseexprstmt_208831)(Tparser206205* p);
N_NIMCALL(Tnode190813*, simpleexpr_207391)(Tparser206205* p, NU8 mode);
N_NIMCALL(Tnode190813*, simpleexpraux_207822)(Tparser206205* p, NI limit, NU8 mode);
N_NIMCALL(Tnode190813*, primary_207814)(Tparser206205* p, NU8 mode);
N_NIMCALL(NIM_BOOL, isoperator_206237)(Ttoken181181* tok);
static N_INLINE(NIM_BOOL, issigillike_206779)(Ttoken181181* tok);
N_NIMCALL(Tnode190813*, newidentnodep_206297)(Tident167021* ident, Tparser206205* p);
static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src);
N_NIMCALL(Tnode190813*, primarysuffix_207619)(Tparser206205* p, Tnode190813* r, NI baseindent);
N_NIMCALL(Tnode190813*, namedparams_207596)(Tparser206205* p, Tnode190813* callee, NU8 kind, NU8 endtok);
N_NIMCALL(void, exprcoloneqexprlistaux_207168)(Tparser206205* p, NU8 endtok, Tnode190813* result);
static N_INLINE(NI, len_191097)(Tnode190813* n);
N_NIMCALL(void, parsedoblocks_206763)(Tparser206205* p, Tnode190813* call);
N_NIMCALL(Tnode190813*, parsedoblock_208283)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseparamlist_206771)(Tparser206205* p, NIM_BOOL retcolon);
N_NIMCALL(Tnode190813*, parseidentcolonequals_208049)(Tparser206205* p, NU8 flags);
N_NIMCALL(Tnode190813*, identwithpragma_208019)(Tparser206205* p);
N_NIMCALL(Tnode190813*, identvis_207998)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsesymbol_206367)(Tparser206205* p, NIM_BOOL allownil);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
N_NIMCALL(NimStringDesc*, toktostr_181323)(Ttoken181181* tok);
N_NIMCALL(Tident167021*, getident_167463)(NimStringDesc* identifier);
N_NIMCALL(NIM_BOOL, iskeyword_181229)(NU8 kind);
N_NIMCALL(Tnode190813*, parsetypedesc_206756)(Tparser206205* p);
N_NIMCALL(NIM_BOOL, identeq_167484)(Tident167021* id, NimStringDesc* name);
N_NIMCALL(Tnode190813*, optpragmas_208263)(Tparser206205* p);
N_NIMCALL(Tnode190813*, newprocnode_193058)(NU8 kind, Tlineinfo163338 info, Tnode190813* body, Tnode190813* params, Tnode190813* name, Tnode190813* pattern, Tnode190813* genericparams, Tnode190813* pragmas, Tnode190813* exceptions);
N_NIMCALL(Tnode190813*, dotexpr_207135)(Tparser206205* p, Tnode190813* a);
N_NIMCALL(Tnode190813*, parsegstrlit_207363)(Tparser206205* p, Tnode190813* a);
N_NIMCALL(Tnode190813*, newstrnodep_206289)(NU8 kind, NimStringDesc* strval, Tparser206205* p);
N_NIMCALL(Tnode190813*, parsetuple_208135)(Tparser206205* p, NIM_BOOL indentallowed);
N_NIMCALL(Tnode190813*, parseprocexpr_208333)(Tparser206205* p, NIM_BOOL isexpr);
N_NIMCALL(Tnode190813*, parseenum_208473)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseobject_208480)(Tparser206205* p);
N_NIMCALL(NIM_BOOL, validind_209503)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseobjectpart_209705)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseobjectwhen_209712)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseobjectcase_209750)(Tparser206205* p);
N_NIMCALL(void, gettoknoind_206584)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsetypeclass_208487)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsetypeclassparam_209861)(Tparser206205* p);
N_NIMCALL(NI, sonslen_193403)(Tnode190813* n);
N_NIMCALL(Tnode190813*, newnode_192607)(NU8 kind, Tlineinfo163338 info, Tnodeseq190807* sons, Ttype190849* typ);
N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
N_NIMCALL(Tnode190813*, parsetypedesckaux_208417)(Tparser206205* p, NU8 kind, NU8 mode);
N_NIMCALL(void, parsesymbollist_208379)(Tparser206205* p, Tnode190813* result, NIM_BOOL allownil);
N_NIMCALL(Tnode190813*, identorliteral_207565)(Tparser206205* p, NU8 mode);
N_NIMCALL(Tnode190813*, newintnodep_206273)(NU8 kind, NI64 intval, Tparser206205* p);
N_NIMCALL(void, setbaseflags_206360)(Tnode190813* n, NU8 base);
N_NIMCALL(Tnode190813*, newfloatnodep_206281)(NU8 kind, NF floatval, Tparser206205* p);
N_NIMCALL(Tnode190813*, exprcoloneqexprlist_207242)(Tparser206205* p, NU8 kind, NU8 endtok);
N_NIMCALL(Tnode190813*, parsepar_207446)(Tparser206205* p);
N_NIMCALL(void, semistmtlist_207399)(Tparser206205* p, Tnode190813* result);
N_NIMCALL(Tnode190813*, newnodei_192407)(NU8 kind, Tlineinfo163338 info, NI children);
N_NIMCALL(Tnode190813*, setortableconstr_207255)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsecast_207312)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseoperators_207831)(Tparser206205* p, Tnode190813* headnode, NI limit, NU8 mode);
N_NIMCALL(NI, getprecedence_206817)(Ttoken181181* tok, NIM_BOOL strongspaces);
N_NIMCALL(NIM_BOOL, isunary_206881)(Tparser206205* p);
static N_INLINE(void, checkbinary_206902)(Tparser206205* p);
N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
static N_INLINE(NIM_BOOL, isrightassociative_206798)(Ttoken181181* tok);
N_NIMCALL(Tnode190813*, makecall_208745)(Tnode190813* n);
N_NIMCALL(Tnode190813*, parsemacrocolon_207611)(Tparser206205* p, Tnode190813* x);
static N_INLINE(Tnode190813*, HEX5BHEX5D_191244)(Tnode190813* n, NI i);
N_NIMCALL(Tnode190813*, parsetry_206375)(Tparser206205* p, NIM_BOOL isexpr);
N_NIMCALL(Tnode190813*, parsewhile_209209)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseexceptblock_209303)(Tparser206205* p, NU8 kind);
N_NIMCALL(Tnode190813*, parsefor_209315)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseblock_209343)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsestaticordefer_209363)(Tparser206205* p, NU8 k);
N_NIMCALL(Tnode190813*, parseasm_209375)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseroutine_209514)(Tparser206205* p, NU8 kind);
N_NIMCALL(Tnode190813*, parsepattern_209492)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsegenericparamlist_209451)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsegenericparam_209395)(Tparser206205* p);
N_NIMCALL(void, indandcomment_206352)(Tparser206205* p, Tnode190813* n);
N_NIMCALL(Tnode190813*, parsesection_209583)(Tparser206205* p, NU8 kind, Tdefparser209576 defparser);
N_NIMCALL(Tnode190813*, parsetypedef_209954)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsetypedefaux_208734)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parseconstant_209628)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsevariable_210022)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsevartuple_209983)(Tparser206205* p);
N_NIMCALL(Tnode190813*, parsebind_210043)(Tparser206205* p, NU8 k);
N_NIMCALL(Tnode190813*, qualifiedident_207148)(Tparser206205* p);
N_NIMCALL(void, closelexer_181424)(Tlexer181185* lex);
N_NIMCALL(Tllstream178204*, llstreamopen_178220)(NimStringDesc* data);
N_NIMCALL(void, objectInit)(void* dest, TNimType* typ);
N_NIMCALL(void, openparser_206417)(Tparser206205* p, NimStringDesc* filename, Tllstream178204* inputstream, NIM_BOOL strongspaces);
N_NIMCALL(Tnode190813*, parseall_206216)(Tparser206205* p);
N_NIMCALL(void, closeparser_206223)(Tparser206205* p);
STRING_LITERAL(TMP1146, "", 0);
STRING_LITERAL(TMP1147, "[]", 2);
STRING_LITERAL(TMP1148, "skipComment", 11);
extern NIM_CONST TY181170 Toktypetostr_181169;
STRING_LITERAL(TMP1273, ".}", 2);
static NIM_CONST TY206864 TMP1274 = {
0x30, 0x00, 0x10, 0x00, 0xC8, 0xA0, 0x0D, 0x0C,
0x80, 0x00, 0x00, 0x00, 0x00, 0x80, 0x01}
;
STRING_LITERAL(TMP1275, ")", 1);
STRING_LITERAL(TMP1276, "->", 2);
static NIM_CONST TY206864 TMP1277 = {
0x00, 0x4A, 0x06, 0x34, 0x12, 0x12, 0x00, 0x40,
0x1C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
STRING_LITERAL(TMP1278, "will be parsed as unary operator; inconsistent spacing", 54);
STRING_LITERAL(TMP1279, "Number of spaces around \'$#\' not consistent", 43);
STRING_LITERAL(TMP1280, "Number of spaces must be 0,1,2,4 or 8", 37);
STRING_LITERAL(TMP1281, "except", 6);
TNimType NTI206205; /* TParser */
extern TNimType NTI108; /* int */
extern TNimType NTI138; /* bool */
extern TNimType NTI181185; /* TLexer */
extern TNimType NTI181181; /* TToken */
extern Tgcheap48216 gch_48244;
extern Tnode190813* emptynode_191807;
extern TNimType NTI190807; /* TNodeSeq */

N_NIMCALL(void, gettok_206243)(Tparser206205* p) {
	rawgettok_184848((&(*p).lex), (&(*p).tok));
}

N_NIMCALL(void, openparser_206402)(Tparser206205* p, NI32 fileidx, Tllstream178204* inputstream, NIM_BOOL strongspaces) {
	inittoken_181369((&(*p).tok));
	openlexer_181391((&(*p).lex), fileidx, inputstream);
	gettok_206243(p);
	(*p).firsttok = NIM_TRUE;
	(*p).strongspaces = strongspaces;
}

N_NIMCALL(void, openparser_206417)(Tparser206205* p, NimStringDesc* filename, Tllstream178204* inputstream, NIM_BOOL strongspaces) {
	NI32 LOC1;
	LOC1 = 0;
	LOC1 = fileinfoidx_163854(filename);
	openparser_206402(p, LOC1, inputstream, strongspaces);
}

static N_INLINE(Tlineinfo163338, getlineinfo_181218)(Tlexer181185* L, Ttoken181181* tok) {
	Tlineinfo163338 result;
	memset((void*)(&result), 0, sizeof(result));
	result = newlineinfo_163867((*L).fileidx, (*tok).line, (*tok).col);
	return result;
}

N_NIMCALL(Tlineinfo163338, parlineinfo_206316)(Tparser206205* p) {
	Tlineinfo163338 result;
	memset((void*)(&result), 0, sizeof(result));
	result = getlineinfo_181218((&(*p).lex), (&(*p).tok));
	return result;
}

N_NIMCALL(Tnode190813*, newnodep_206266)(NU8 kind, Tparser206205* p) {
	Tnode190813* result;
	Tlineinfo163338 LOC1;
	result = 0;
	LOC1 = parlineinfo_206316(p);
	result = newnodei_192351(kind, LOC1);
	return result;
}

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

static N_INLINE(void, rtladdzct_51404)(Tcell46347* c) {
	addzct_49817((&gch_48244.zct), c);
}

static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
	Tcell46347* c;
	c = usrtocell_49846(p);
	{
		(*c).refcount -= ((NI) 8);
		if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA3;
		rtladdzct_51404(c);
	}
	LA3: ;
}

static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
	NIM_BOOL result;
	NIM_BOOL LOC11;
	int LOC13;
{	result = 0;
	{
		if (!(a == b)) goto LA3;
		result = NIM_TRUE;
		goto BeforeRet;
	}
	LA3: ;
	{
		NIM_BOOL LOC7;
		LOC7 = 0;
		LOC7 = (a == NIM_NIL);
		if (LOC7) goto LA8;
		LOC7 = (b == NIM_NIL);
		LA8: ;
		if (!LOC7) goto LA9;
		result = NIM_FALSE;
		goto BeforeRet;
	}
	LA9: ;
	LOC11 = 0;
	LOC11 = ((*a).Sup.len == (*b).Sup.len);
	if (!(LOC11)) goto LA12;
	LOC13 = 0;
	LOC13 = memcmp(((NCSTRING) ((*a).data)), ((NCSTRING) ((*b).data)), (*a).Sup.len);
	LOC11 = (LOC13 == ((NI32) 0));
	LA12: ;
	result = LOC11;
	goto BeforeRet;
	}BeforeRet: ;
	return result;
}

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;
}

N_NIMCALL(void, parmessage_206250)(Tparser206205* p, NU16 msg, NimStringDesc* arg) {
	lexmessagetok_181494((&(*p).lex), msg, (&(*p).tok), arg);
}

N_NIMCALL(void, rawskipcomment_206497)(Tparser206205* p, Tnode190813* node) {
	{
		if (!((*p).tok.toktype == ((NU8) 113))) goto LA3;
		{
			if (!!((node == NIM_NIL))) goto LA7;
			{
				NimStringDesc* LOC13;
				if (!((*node).comment == NIM_NIL)) goto LA11;
				LOC13 = 0;
				LOC13 = (*node).comment; (*node).comment = copyStringRC1(((NimStringDesc*) &TMP1146));
				if (LOC13) nimGCunrefNoCycle(LOC13);
			}
			LA11: ;
			{
				if (!eqStrings((*p).tok.literal, ((NimStringDesc*) &TMP1147))) goto LA16;
				(*node).flags |= ((NI16)1)<<((((NU8) 13))%(sizeof(NI16)*8));
			}
			goto LA14;
			LA16: ;
			{
				(*node).comment = resizeString((*node).comment, (*p).tok.literal->Sup.len + 0);
appendString((*node).comment, (*p).tok.literal);
			}
			LA14: ;
		}
		goto LA5;
		LA7: ;
		{
			parmessage_206250((&(*p)), ((NU16) 2), ((NimStringDesc*) &TMP1148));
		}
		LA5: ;
		gettok_206243(p);
	}
	LA3: ;
}

N_NIMCALL(void, skipcomment_206258)(Tparser206205* p, Tnode190813* node) {
	{
		if (!((*p).tok.indent < ((NI) 0))) goto LA3;
		rawskipcomment_206497(p, node);
	}
	LA3: ;
}

N_NIMCALL(void, skipind_206330)(Tparser206205* p) {
	{
		if (!(((NI) 0) <= (*p).tok.indent)) goto LA3;
		{
			if (!!(((*p).currind < (*p).tok.indent))) goto LA7;
			parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
		}
		LA7: ;
	}
	LA3: ;
}

N_NIMCALL(void, optind_206344)(Tparser206205* p, Tnode190813* n) {
	skipcomment_206258(p, n);
	skipind_206330(p);
}

N_NIMCALL(void, eat_206322)(Tparser206205* p, NU8 toktype) {
	{
		if (!((*p).tok.toktype == toktype)) goto LA3;
		gettok_206243(p);
	}
	goto LA1;
	LA3: ;
	{
		lexmessagetok_181494((&(*p).lex), ((NU16) 23), (&(*p).tok), Toktypetostr_181169[(toktype)- 0]);
	}
	LA1: ;
}

N_NIMCALL(void, colcom_206932)(Tparser206205* p, Tnode190813* n) {
	eat_206322(p, ((NU8) 107));
	skipcomment_206258(p, n);
}

N_NIMCALL(Tnode190813*, parseifexpr_207900)(Tparser206205* p, NU8 kind) {
	Tnode190813* result;
	Tnode190813* branch;
	Tnode190813* LOC9;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	{
		while (1) {
			Tnode190813* branch;
			Tnode190813* LOC3;
			Tnode190813* LOC4;
			gettok_206243(p);
			branch = newnodep_206266(((NU8) 49), (&(*p)));
			LOC3 = 0;
			LOC3 = parseexpr_206742(p);
			addson_192819(branch, LOC3);
			colcom_206932(p, branch);
			LOC4 = 0;
			LOC4 = parseexpr_206742(p);
			addson_192819(branch, LOC4);
			optind_206344(p, branch);
			addson_192819(result, branch);
			{
				if (!!(((*p).tok.toktype == ((NU8) 22)))) goto LA7;
				goto LA1;
			}
			LA7: ;
		}
	} LA1: ;
	branch = newnodep_206266(((NU8) 50), (&(*p)));
	eat_206322(p, ((NU8) 23));
	colcom_206932(p, branch);
	LOC9 = 0;
	LOC9 = parseexpr_206742(p);
	addson_192819(branch, LOC9);
	addson_192819(result, branch);
	return result;
}

N_NIMCALL(void, exprlist_207088)(Tparser206205* p, NU8 endtok, Tnode190813* result) {
	gettok_206243(p);
	optind_206344(p, result);
	{
		while (1) {
			NIM_BOOL LOC3;
			Tnode190813* a;
			LOC3 = 0;
			LOC3 = !(((*p).tok.toktype == endtok));
			if (!(LOC3)) goto LA4;
			LOC3 = !(((*p).tok.toktype == ((NU8) 1)));
			LA4: ;
			if (!LOC3) goto LA2;
			a = parseexpr_206742(p);
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA7;
				goto LA1;
			}
			LA7: ;
			gettok_206243(p);
			optind_206344(p, a);
		} LA2: ;
	} LA1: ;
}

N_NIMCALL(void, parmessage_206452)(Tparser206205* p, NU16 msg, Ttoken181181* tok) {
	NimStringDesc* LOC1;
	LOC1 = 0;
	LOC1 = prettytok_181345(tok);
	parmessage_206250(p, msg, LOC1);
}

N_NIMCALL(NIM_BOOL, isexprstart_208369)(Tparser206205* p) {
	NIM_BOOL result;
	result = 0;
	switch ((*p).tok.toktype) {
	case ((NU8) 2):
	case ((NU8) 114):
	case ((NU8) 112):
	case ((NU8) 47):
	case ((NU8) 46):
	case ((NU8) 12):
	case ((NU8) 33):
	case ((NU8) 53):
	case ((NU8) 40):
	case ((NU8) 8):
	case ((NU8) 3):
	case ((NU8) 93):
	case ((NU8) 95):
	case ((NU8) 97):
	case ((NU8) 73) ... ((NU8) 92):
	case ((NU8) 66):
	case ((NU8) 56):
	case ((NU8) 54):
	case ((NU8) 63):
	case ((NU8) 49):
	case ((NU8) 64):
	case ((NU8) 67):
	case ((NU8) 11):
	{
		result = NIM_TRUE;
	}
	break;
	default:
	{
		result = NIM_FALSE;
	}
	break;
	}
	return result;
}

N_NIMCALL(Tnode190813*, parsereturnorraise_209149)(Tparser206205* p, NU8 kind) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	gettok_206243(p);
	{
		if (!((*p).tok.toktype == ((NU8) 113))) goto LA3;
		skipcomment_206258(p, result);
		addson_192819(result, emptynode_191807);
	}
	goto LA1;
	LA3: ;
	{
		NIM_BOOL LOC6;
		NIM_BOOL LOC7;
		NIM_BOOL LOC10;
		LOC6 = 0;
		LOC7 = 0;
		LOC7 = (((NI) 0) <= (*p).tok.indent);
		if (!(LOC7)) goto LA8;
		LOC7 = ((*p).tok.indent <= (*p).currind);
		LA8: ;
		LOC6 = LOC7;
		if (LOC6) goto LA9;
		LOC10 = 0;
		LOC10 = isexprstart_208369((&(*p)));
		LOC6 = !(LOC10);
		LA9: ;
		if (!LOC6) goto LA11;
		addson_192819(result, emptynode_191807);
	}
	goto LA1;
	LA11: ;
	{
		Tnode190813* LOC14;
		LOC14 = 0;
		LOC14 = parseexpr_206742(p);
		addson_192819(result, LOC14);
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, colonorequals_207046)(Tparser206205* p, Tnode190813* a) {
	Tnode190813* result;
	result = 0;
	{
		Tnode190813* LOC5;
		if (!((*p).tok.toktype == ((NU8) 107))) goto LA3;
		result = newnodep_206266(((NU8) 34), (&(*p)));
		gettok_206243(p);
		addson_192819(result, a);
		LOC5 = 0;
		LOC5 = parseexpr_206742(p);
		addson_192819(result, LOC5);
	}
	goto LA1;
	LA3: ;
	{
		Tnode190813* LOC9;
		if (!((*p).tok.toktype == ((NU8) 109))) goto LA7;
		result = newnodep_206266(((NU8) 33), (&(*p)));
		gettok_206243(p);
		addson_192819(result, a);
		LOC9 = 0;
		LOC9 = parseexpr_206742(p);
		addson_192819(result, LOC9);
	}
	goto LA1;
	LA7: ;
	{
		result = a;
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, exprcoloneqexpr_207076)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* a;
	result = 0;
	a = parseexpr_206742(p);
	result = colonorequals_207046(p, a);
	return result;
}

N_NIMCALL(void, optpar_206337)(Tparser206205* p) {
	{
		if (!(((NI) 0) <= (*p).tok.indent)) goto LA3;
		{
			if (!((*p).tok.indent < (*p).currind)) goto LA7;
			parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
		}
		LA7: ;
	}
	LA3: ;
}

N_NIMCALL(Tnode190813*, parsepragma_207930)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 90), (&(*p)));
	(*p).inpragma += ((NI) 1);
	gettok_206243(p);
	optind_206344(p, result);
	{
		while (1) {
			Tnode190813* a;
			if (!!(((*p).tok.toktype == ((NU8) 102) || (*p).tok.toktype == ((NU8) 98) || (*p).tok.toktype == ((NU8) 1)))) goto LA2;
			a = exprcoloneqexpr_207076(p);
			addson_192819(result, a);
			{
				if (!((*p).tok.toktype == ((NU8) 105))) goto LA5;
				gettok_206243(p);
				skipcomment_206258(p, a);
			}
			LA5: ;
		} LA2: ;
	}
	optpar_206337(p);
	{
		if (!((*p).tok.toktype == ((NU8) 102) || (*p).tok.toktype == ((NU8) 98))) goto LA9;
		gettok_206243(p);
	}
	goto LA7;
	LA9: ;
	{
		parmessage_206250((&(*p)), ((NU16) 23), ((NimStringDesc*) &TMP1273));
	}
	LA7: ;
	(*p).inpragma -= ((NI) 1);
	return result;
}

N_NIMCALL(Tnode190813*, parsestmtpragma_210072)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = parsepragma_207930(p);
	{
		NIM_BOOL LOC3;
		Tnode190813* a;
		Tnode190813* LOC7;
		LOC3 = 0;
		LOC3 = ((*p).tok.toktype == ((NU8) 107));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*p).tok.indent < ((NI) 0));
		LA4: ;
		if (!LOC3) goto LA5;
		a = result;
		result = newnodei_192351(((NU8) 91), (*a).info);
		gettok_206243(p);
		skipcomment_206258(p, result);
		add_191164(result, a);
		LOC7 = 0;
		LOC7 = parsestmt_206749(p);
		add_191164(result, LOC7);
	}
	LA5: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsemodulename_208936)(Tparser206205* p, NU8 kind) {
	Tnode190813* result;
	result = 0;
	result = parseexpr_206742(p);
	return result;
}

N_NIMCALL(Tnode190813*, parseimport_209007)(Tparser206205* p, NU8 kind) {
	Tnode190813* result;
	Tnode190813* a;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	a = parsemodulename_208936(p, kind);
	addson_192819(result, a);
	{
		if (!((*p).tok.toktype == ((NU8) 105) || (*p).tok.toktype == ((NU8) 26))) goto LA3;
		{
			if (!((*p).tok.toktype == ((NU8) 26))) goto LA7;
			(*result).kind = (NU8)(kind + ((NI) 1));
		}
		LA7: ;
		gettok_206243(p);
		optind_206344(p, result);
		{
			while (1) {
				a = parsemodulename_208936(p, kind);
				{
					if (!((*a).kind == ((NU8) 1))) goto LA13;
					goto LA9;
				}
				LA13: ;
				addson_192819(result, a);
				{
					if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA17;
					goto LA9;
				}
				LA17: ;
				gettok_206243(p);
				optind_206344(p, a);
			}
		} LA9: ;
	}
	LA3: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsefromstmt_209112)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* a;
	result = 0;
	result = newnodep_206266(((NU8) 120), (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	a = parsemodulename_208936(p, ((NU8) 116));
	addson_192819(result, a);
	eat_206322(p, ((NU8) 34));
	optind_206344(p, result);
	{
		while (1) {
			a = parseexpr_206742(p);
			{
				if (!((*a).kind == ((NU8) 1))) goto LA5;
				goto LA1;
			}
			LA5: ;
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA9;
				goto LA1;
			}
			LA9: ;
			gettok_206243(p);
			optind_206344(p, a);
		}
	} LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parseincludestmt_209075)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 121), (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	{
		while (1) {
			Tnode190813* a;
			a = parseexpr_206742(p);
			{
				if (!((*a).kind == ((NU8) 1))) goto LA5;
				goto LA1;
			}
			LA5: ;
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA9;
				goto LA1;
			}
			LA9: ;
			gettok_206243(p);
			optind_206344(p, a);
		}
	} LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, newcommentstmt_209563)(Tparser206205* p) {
	Tnode190813* result;
	NimStringDesc* LOC1;
	result = 0;
	result = newnodep_206266(((NU8) 125), (&(*p)));
	LOC1 = 0;
	LOC1 = (*result).comment; (*result).comment = copyStringRC1((*p).tok.literal);
	if (LOC1) nimGCunrefNoCycle(LOC1);
	gettok_206243(p);
	return result;
}

N_NIMCALL(NIM_BOOL, isoperator_206237)(Ttoken181181* tok) {
	NIM_BOOL result;
	result = 0;
	result = ((TMP1274[(*tok).toktype/8] &(1<<((*tok).toktype%8)))!=0);
	return result;
}

static N_INLINE(NIM_BOOL, issigillike_206779)(Ttoken181181* tok) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = ((*tok).toktype == ((NU8) 112));
	if (!(LOC1)) goto LA2;
	LOC1 = ((NU8)((*(*tok).ident).s->data[((NI) 0)]) == (NU8)(64));
	LA2: ;
	result = LOC1;
	return result;
}

static N_INLINE(void, asgnRefNoCycle)(void** dest, void* src) {
	{
		Tcell46347* c;
		if (!!((src == NIM_NIL))) goto LA3;
		c = usrtocell_49846(src);
		(*c).refcount += ((NI) 8);
	}
	LA3: ;
	{
		Tcell46347* c;
		if (!!(((*dest) == NIM_NIL))) goto LA7;
		c = usrtocell_49846((*dest));
		{
			(*c).refcount -= ((NI) 8);
			if (!((NU32)((*c).refcount) < (NU32)(((NI) 8)))) goto LA11;
			rtladdzct_51404(c);
		}
		LA11: ;
	}
	LA7: ;
	(*dest) = src;
}

N_NIMCALL(Tnode190813*, newidentnodep_206297)(Tident167021* ident, Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 2), p);
	asgnRefNoCycle((void**) (&(*result).kindU.S5.ident), ident);
	return result;
}

N_NIMCALL(void, exprcoloneqexprlistaux_207168)(Tparser206205* p, NU8 endtok, Tnode190813* result) {
	gettok_206243(p);
	optind_206344(p, result);
	{
		while (1) {
			NIM_BOOL LOC3;
			Tnode190813* a;
			LOC3 = 0;
			LOC3 = !(((*p).tok.toktype == endtok));
			if (!(LOC3)) goto LA4;
			LOC3 = !(((*p).tok.toktype == ((NU8) 1)));
			LA4: ;
			if (!LOC3) goto LA2;
			a = exprcoloneqexpr_207076(p);
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA7;
				goto LA1;
			}
			LA7: ;
			gettok_206243(p);
			skipcomment_206258(p, a);
		} LA2: ;
	} LA1: ;
	optpar_206337(p);
	eat_206322(p, endtok);
}

N_NIMCALL(Tnode190813*, namedparams_207596)(Tparser206205* p, Tnode190813* callee, NU8 kind, NU8 endtok) {
	Tnode190813* result;
	Tnode190813* a;
	result = 0;
	a = callee;
	result = newnodep_206266(kind, (&(*p)));
	addson_192819(result, a);
	exprcoloneqexprlistaux_207168(p, endtok, result);
	return result;
}

static N_INLINE(NI, len_191097)(Tnode190813* n) {
	NI result;
	result = 0;
	{
		if (!(*n).kindU.S6.sons == 0) goto LA3;
		result = ((NI) 0);
	}
	goto LA1;
	LA3: ;
	{
		result = ((*n).kindU.S6.sons ? (*n).kindU.S6.sons->Sup.len : 0);
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsesymbol_206367)(Tparser206205* p, NIM_BOOL allownil) {
	Tnode190813* result;
	result = 0;
	switch ((*p).tok.toktype) {
	case ((NU8) 2):
	case ((NU8) 3):
	case ((NU8) 64):
	{
		result = newidentnodep_206297((*p).tok.ident, (&(*p)));
		gettok_206243(p);
	}
	break;
	case ((NU8) 114):
	{
		result = newnodep_206266(((NU8) 53), (&(*p)));
		gettok_206243(p);
		{
			while (1) {
				switch ((*p).tok.toktype) {
				case ((NU8) 114):
				{
					{
						NI LOC8;
						LOC8 = 0;
						LOC8 = len_191097(result);
						if (!(LOC8 == ((NI) 0))) goto LA9;
						parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
					}
					LA9: ;
					goto LA3;
				}
				break;
				case ((NU8) 112):
				case ((NU8) 110):
				case ((NU8) 111):
				case ((NU8) 109):
				case ((NU8) 93) ... ((NU8) 104):
				{
					NimStringDesc* accm;
					Tident167021* LOC15;
					Tnode190813* LOC16;
					accm = copyString(((NimStringDesc*) &TMP1146));
					{
						while (1) {
							NimStringDesc* LOC14;
							if (!((*p).tok.toktype == ((NU8) 112) || (*p).tok.toktype == ((NU8) 110) || (*p).tok.toktype == ((NU8) 111) || (*p).tok.toktype == ((NU8) 109) || (*p).tok.toktype >= ((NU8) 93) && (*p).tok.toktype <= ((NU8) 104))) goto LA13;
							LOC14 = 0;
							LOC14 = toktostr_181323((&(*p).tok));
							accm = resizeString(accm, LOC14->Sup.len + 0);
appendString(accm, LOC14);
							gettok_206243(p);
						} LA13: ;
					}
					LOC15 = 0;
					LOC15 = getident_167463(accm);
					LOC16 = 0;
					LOC16 = newidentnodep_206297(LOC15, (&(*p)));
					add_191164(result, LOC16);
				}
				break;
				case ((NU8) 3) ... ((NU8) 72):
				case ((NU8) 2):
				case ((NU8) 73) ... ((NU8) 92):
				{
					NimStringDesc* LOC18;
					Tident167021* LOC19;
					Tnode190813* LOC20;
					LOC18 = 0;
					LOC18 = toktostr_181323((&(*p).tok));
					LOC19 = 0;
					LOC19 = getident_167463(LOC18);
					LOC20 = 0;
					LOC20 = newidentnodep_206297(LOC19, (&(*p)));
					add_191164(result, LOC20);
					gettok_206243(p);
				}
				break;
				default:
				{
					parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
				}
				break;
				}
			}
		} LA3: ;
		eat_206322(p, ((NU8) 114));
	}
	break;
	default:
	{
		{
			NIM_BOOL LOC25;
			LOC25 = 0;
			LOC25 = allownil;
			if (!(LOC25)) goto LA26;
			LOC25 = ((*p).tok.toktype == ((NU8) 46));
			LA26: ;
			if (!LOC25) goto LA27;
			result = newnodep_206266(((NU8) 23), (&(*p)));
			gettok_206243(p);
		}
		goto LA23;
		LA27: ;
		{
			parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
			{
				NIM_BOOL LOC32;
				LOC32 = 0;
				LOC32 = iskeyword_181229((*p).tok.toktype);
				if (!!(LOC32)) goto LA33;
				gettok_206243(p);
			}
			LA33: ;
			result = emptynode_191807;
		}
		LA23: ;
	}
	break;
	}
	return result;
}

N_NIMCALL(Tnode190813*, identvis_207998)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* a;
	result = 0;
	a = parsesymbol_206367(p, NIM_FALSE);
	{
		Tnode190813* LOC5;
		if (!((*p).tok.toktype == ((NU8) 112))) goto LA3;
		result = newnodep_206266(((NU8) 31), (&(*p)));
		LOC5 = 0;
		LOC5 = newidentnodep_206297((*p).tok.ident, (&(*p)));
		addson_192819(result, LOC5);
		addson_192819(result, a);
		gettok_206243(p);
	}
	goto LA1;
	LA3: ;
	{
		result = a;
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, identwithpragma_208019)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* a;
	result = 0;
	a = identvis_207998(p);
	{
		Tnode190813* LOC5;
		if (!((*p).tok.toktype == ((NU8) 101))) goto LA3;
		result = newnodep_206266(((NU8) 43), (&(*p)));
		addson_192819(result, a);
		LOC5 = 0;
		LOC5 = parsepragma_207930(p);
		addson_192819(result, LOC5);
	}
	goto LA1;
	LA3: ;
	{
		result = a;
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsetypedesc_206756)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = simpleexpr_207391(p, ((NU8) 1));
	return result;
}

N_NIMCALL(Tnode190813*, parseidentcolonequals_208049)(Tparser206205* p, NU8 flags) {
	Tnode190813* result;
	Tnode190813* a;
{	result = 0;
	a = 0;
	result = newnodep_206266(((NU8) 35), (&(*p)));
	{
		while (1) {
			switch ((*p).tok.toktype) {
			case ((NU8) 2):
			case ((NU8) 114):
			{
				{
					if (!((flags &(1<<((((NU8) 0))&7)))!=0)) goto LA6;
					a = identwithpragma_208019(p);
				}
				goto LA4;
				LA6: ;
				{
					a = parsesymbol_206367(p, NIM_FALSE);
				}
				LA4: ;
				{
					if (!((*a).kind == ((NU8) 1))) goto LA11;
					goto BeforeRet;
				}
				LA11: ;
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA16;
				goto LA1;
			}
			LA16: ;
			gettok_206243(p);
			optind_206344(p, a);
		}
	} LA1: ;
	{
		Tnode190813* LOC22;
		if (!((*p).tok.toktype == ((NU8) 107))) goto LA20;
		gettok_206243(p);
		optind_206344(p, result);
		LOC22 = 0;
		LOC22 = parsetypedesc_206756(p);
		addson_192819(result, LOC22);
	}
	goto LA18;
	LA20: ;
	{
		addson_192819(result, emptynode_191807);
		{
			NIM_BOOL LOC26;
			LOC26 = 0;
			LOC26 = !(((*p).tok.toktype == ((NU8) 109)));
			if (!(LOC26)) goto LA27;
			LOC26 = !(((flags &(1<<((((NU8) 1))&7)))!=0));
			LA27: ;
			if (!LOC26) goto LA28;
			parmessage_206452((&(*p)), ((NU16) 59), (&(*p).tok));
		}
		LA28: ;
	}
	LA18: ;
	{
		Tnode190813* LOC34;
		if (!((*p).tok.toktype == ((NU8) 109))) goto LA32;
		gettok_206243(p);
		optind_206344(p, result);
		LOC34 = 0;
		LOC34 = parseexpr_206742(p);
		addson_192819(result, LOC34);
	}
	goto LA30;
	LA32: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA30: ;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode190813*, parseparamlist_206771)(Tparser206205* p, NIM_BOOL retcolon) {
	Tnode190813* result;
	Tnode190813* a;
	NIM_BOOL hasparle;
	NIM_BOOL LOC1;
	NIM_BOOL hasret;
	result = 0;
	a = 0;
	result = newnodep_206266(((NU8) 76), (&(*p)));
	addson_192819(result, emptynode_191807);
	LOC1 = 0;
	LOC1 = ((*p).tok.toktype == ((NU8) 93));
	if (!(LOC1)) goto LA2;
	LOC1 = ((*p).tok.indent < ((NI) 0));
	LA2: ;
	hasparle = LOC1;
	{
		if (!hasparle) goto LA5;
		gettok_206243(p);
		optind_206344(p, result);
		{
			while (1) {
				switch ((*p).tok.toktype) {
				case ((NU8) 2):
				case ((NU8) 114):
				{
					a = parseidentcolonequals_208049(p, 3);
				}
				break;
				case ((NU8) 94):
				{
					goto LA7;
				}
				break;
				default:
				{
					parmessage_206250((&(*p)), ((NU16) 23), ((NimStringDesc*) &TMP1275));
					goto LA7;
				}
				break;
				}
				addson_192819(result, a);
				{
					if (!!(((*p).tok.toktype == ((NU8) 105) || (*p).tok.toktype == ((NU8) 106)))) goto LA14;
					goto LA7;
				}
				LA14: ;
				gettok_206243(p);
				skipcomment_206258(p, a);
			}
		} LA7: ;
		optpar_206337(p);
		eat_206322(p, ((NU8) 94));
	}
	LA5: ;
	{
		if (!retcolon) goto LA18;
		hasret = ((*p).tok.toktype == ((NU8) 107));
	}
	goto LA16;
	LA18: ;
	{
		NIM_BOOL LOC21;
		LOC21 = 0;
		LOC21 = ((*p).tok.toktype == ((NU8) 112));
		if (!(LOC21)) goto LA22;
		LOC21 = identeq_167484((*p).tok.ident, ((NimStringDesc*) &TMP1276));
		LA22: ;
		hasret = LOC21;
	}
	LA16: ;
	{
		NIM_BOOL LOC25;
		LOC25 = 0;
		LOC25 = hasret;
		if (!(LOC25)) goto LA26;
		LOC25 = ((*p).tok.indent < ((NI) 0));
		LA26: ;
		if (!LOC25) goto LA27;
		gettok_206243(p);
		optind_206344(p, result);
		asgnRefNoCycle((void**) (&(*result).kindU.S6.sons->data[((NI) 0)]), parsetypedesc_206756(p));
	}
	goto LA23;
	LA27: ;
	{
		NIM_BOOL LOC30;
		LOC30 = 0;
		LOC30 = !(retcolon);
		if (!(LOC30)) goto LA31;
		LOC30 = !(hasparle);
		LA31: ;
		if (!LOC30) goto LA32;
		result = emptynode_191807;
	}
	goto LA23;
	LA32: ;
	LA23: ;
	return result;
}

N_NIMCALL(Tnode190813*, optpragmas_208263)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC5;
		LOC3 = 0;
		LOC3 = ((*p).tok.toktype == ((NU8) 101));
		if (!(LOC3)) goto LA4;
		LOC5 = 0;
		LOC5 = ((*p).tok.indent < ((NI) 0));
		if (LOC5) goto LA6;
		LOC5 = ((*p).currind < (*p).tok.indent);
		LA6: ;
		LOC3 = LOC5;
		LA4: ;
		if (!LOC3) goto LA7;
		result = parsepragma_207930(p);
	}
	goto LA1;
	LA7: ;
	{
		result = emptynode_191807;
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsedoblock_208283)(Tparser206205* p) {
	Tnode190813* result;
	Tlineinfo163338 info;
	Tnode190813* params;
	Tnode190813* pragmas;
	Tnode190813* LOC1;
	result = 0;
	info = parlineinfo_206316((&(*p)));
	gettok_206243(p);
	params = parseparamlist_206771(p, NIM_FALSE);
	pragmas = optpragmas_208263(p);
	colcom_206932(p, result);
	LOC1 = 0;
	LOC1 = parsestmt_206749(p);
	result = newprocnode_193058(((NU8) 52), info, LOC1, params, emptynode_191807, emptynode_191807, emptynode_191807, pragmas, emptynode_191807);
	return result;
}

N_NIMCALL(void, parsedoblocks_206763)(Tparser206205* p, Tnode190813* call) {
	{
		Tnode190813* LOC5;
		if (!((*p).tok.toktype == ((NU8) 21))) goto LA3;
		LOC5 = 0;
		LOC5 = parsedoblock_208283(p);
		addson_192819(call, LOC5);
		{
			while (1) {
				NIM_BOOL LOC8;
				Tnode190813* LOC10;
				LOC8 = 0;
				LOC8 = ((*p).tok.indent == (*p).currind);
				if (!(LOC8)) goto LA9;
				LOC8 = ((*p).tok.toktype == ((NU8) 21));
				LA9: ;
				if (!LOC8) goto LA7;
				LOC10 = 0;
				LOC10 = parsedoblock_208283(p);
				addson_192819(call, LOC10);
			} LA7: ;
		}
	}
	LA3: ;
}

N_NIMCALL(Tnode190813*, dotexpr_207135)(Tparser206205* p, Tnode190813* a) {
	Tnode190813* result;
	Tlineinfo163338 info;
	Tnode190813* LOC1;
	result = 0;
	info = parlineinfo_206316((&(*p)));
	gettok_206243(p);
	result = newnodei_192351(((NU8) 45), info);
	optind_206344(p, result);
	addson_192819(result, a);
	LOC1 = 0;
	LOC1 = parsesymbol_206367(p, NIM_FALSE);
	addson_192819(result, LOC1);
	return result;
}

N_NIMCALL(Tnode190813*, newstrnodep_206289)(NU8 kind, NimStringDesc* strval, Tparser206205* p) {
	Tnode190813* result;
	NimStringDesc* LOC1;
	result = 0;
	result = newnodep_206266(kind, p);
	LOC1 = 0;
	LOC1 = (*result).kindU.S3.strval; (*result).kindU.S3.strval = copyStringRC1(strval);
	if (LOC1) nimGCunrefNoCycle(LOC1);
	return result;
}

N_NIMCALL(Tnode190813*, parsegstrlit_207363)(Tparser206205* p, Tnode190813* a) {
	Tnode190813* result;
	result = 0;
	switch ((*p).tok.toktype) {
	case ((NU8) 90):
	{
		Tnode190813* LOC2;
		result = newnodep_206266(((NU8) 28), (&(*p)));
		addson_192819(result, a);
		LOC2 = 0;
		LOC2 = newstrnodep_206289(((NU8) 21), (*p).tok.literal, (&(*p)));
		addson_192819(result, LOC2);
		gettok_206243(p);
	}
	break;
	case ((NU8) 91):
	{
		Tnode190813* LOC4;
		result = newnodep_206266(((NU8) 28), (&(*p)));
		addson_192819(result, a);
		LOC4 = 0;
		LOC4 = newstrnodep_206289(((NU8) 22), (*p).tok.literal, (&(*p)));
		addson_192819(result, LOC4);
		gettok_206243(p);
	}
	break;
	default:
	{
		result = a;
	}
	break;
	}
	return result;
}

N_NIMCALL(Tnode190813*, primarysuffix_207619)(Tparser206205* p, Tnode190813* r, NI baseindent) {
	Tnode190813* result;
	result = 0;
	result = r;
	{
		while (1) {
			NIM_BOOL LOC3;
			NIM_BOOL LOC5;
			LOC3 = 0;
			LOC3 = ((*p).tok.indent < ((NI) 0));
			if (LOC3) goto LA4;
			LOC5 = 0;
			LOC5 = ((*p).tok.toktype == ((NU8) 110));
			if (!(LOC5)) goto LA6;
			LOC5 = (baseindent <= (*p).tok.indent);
			LA6: ;
			LOC3 = LOC5;
			LA4: ;
			if (!LOC3) goto LA2;
			switch ((*p).tok.toktype) {
			case ((NU8) 93):
			{
				{
					NIM_BOOL LOC10;
					LOC10 = 0;
					LOC10 = (*p).strongspaces;
					if (!(LOC10)) goto LA11;
					LOC10 = (((NI8) 0) < (*p).tok.strongspacea);
					LA11: ;
					if (!LOC10) goto LA12;
					goto LA1;
				}
				LA12: ;
				result = namedparams_207596(p, result, ((NU8) 27), ((NU8) 94));
				{
					NIM_BOOL LOC16;
					NI LOC17;
					LOC16 = 0;
					LOC17 = 0;
					LOC17 = len_191097(result);
					LOC16 = (((NI) 1) < LOC17);
					if (!(LOC16)) goto LA18;
					LOC16 = ((*(*result).kindU.S6.sons->data[((NI) 1)]).kind == ((NU8) 34));
					LA18: ;
					if (!LOC16) goto LA19;
					(*result).kind = ((NU8) 38);
				}
				goto LA14;
				LA19: ;
				{
					parsedoblocks_206763(p, result);
				}
				LA14: ;
			}
			break;
			case ((NU8) 21):
			{
				Tnode190813* a;
				a = result;
				result = newnodep_206266(((NU8) 27), (&(*p)));
				addson_192819(result, a);
				parsedoblocks_206763(p, result);
			}
			break;
			case ((NU8) 110):
			{
				result = dotexpr_207135(p, result);
				result = parsegstrlit_207363(p, result);
			}
			break;
			case ((NU8) 95):
			{
				{
					NIM_BOOL LOC27;
					LOC27 = 0;
					LOC27 = (*p).strongspaces;
					if (!(LOC27)) goto LA28;
					LOC27 = (((NI8) 0) < (*p).tok.strongspacea);
					LA28: ;
					if (!LOC27) goto LA29;
					goto LA1;
				}
				LA29: ;
				result = namedparams_207596(p, result, ((NU8) 42), ((NU8) 96));
			}
			break;
			case ((NU8) 97):
			{
				{
					NIM_BOOL LOC34;
					LOC34 = 0;
					LOC34 = (*p).strongspaces;
					if (!(LOC34)) goto LA35;
					LOC34 = (((NI8) 0) < (*p).tok.strongspacea);
					LA35: ;
					if (!LOC34) goto LA36;
					goto LA1;
				}
				LA36: ;
				result = namedparams_207596(p, result, ((NU8) 40), ((NU8) 98));
			}
			break;
			case ((NU8) 2):
			case ((NU8) 114):
			case ((NU8) 73) ... ((NU8) 92):
			case ((NU8) 46):
			case ((NU8) 12):
			case ((NU8) 3):
			case ((NU8) 64):
			{
				{
					Tnode190813* a;
					Tnode190813* LOC43;
					if (!((*p).inpragma == ((NI) 0))) goto LA41;
					a = result;
					result = newnodep_206266(((NU8) 26), (&(*p)));
					addson_192819(result, a);
					LOC43 = 0;
					LOC43 = parseexpr_206742(p);
					addson_192819(result, LOC43);
				}
				LA41: ;
				goto LA1;
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
		} LA2: ;
	} LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsetuple_208135)(Tparser206205* p, NIM_BOOL indentallowed) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 134), (&(*p)));
	gettok_206243(p);
	{
		if (!((*p).tok.toktype == ((NU8) 95))) goto LA3;
		gettok_206243(p);
		optind_206344(p, result);
		{
			while (1) {
				Tnode190813* a;
				if (!((*p).tok.toktype == ((NU8) 2) || (*p).tok.toktype == ((NU8) 114))) goto LA6;
				a = parseidentcolonequals_208049(p, 0);
				addson_192819(result, a);
				{
					if (!!(((*p).tok.toktype == ((NU8) 105) || (*p).tok.toktype == ((NU8) 106)))) goto LA9;
					goto LA5;
				}
				LA9: ;
				gettok_206243(p);
				skipcomment_206258(p, a);
			} LA6: ;
		} LA5: ;
		optpar_206337(p);
		eat_206322(p, ((NU8) 96));
	}
	goto LA1;
	LA3: ;
	{
		if (!indentallowed) goto LA12;
		skipcomment_206258(p, result);
		{
			NI oldind_208176;
			if (!((*p).currind < (*p).tok.indent)) goto LA16;
			oldind_208176 = (*p).currind;
			(*p).currind = (*p).tok.indent;
			skipcomment_206258(p, result);
			{
				while (1) {
					switch ((*p).tok.toktype) {
					case ((NU8) 2):
					case ((NU8) 114):
					{
						Tnode190813* a;
						a = parseidentcolonequals_208049(p, 0);
						skipcomment_206258(p, a);
						addson_192819(result, a);
					}
					break;
					case ((NU8) 1):
					{
						goto LA18;
					}
					break;
					default:
					{
						parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
						goto LA18;
					}
					break;
					}
					{
						if (!!(((*p).tok.indent == (*p).currind))) goto LA25;
						goto LA18;
					}
					LA25: ;
				}
			} LA18: ;
			(*p).currind = oldind_208176;
		}
		LA16: ;
	}
	goto LA1;
	LA12: ;
	{
		result = newnodep_206266(((NU8) 135), (&(*p)));
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parseprocexpr_208333)(Tparser206205* p, NIM_BOOL isexpr) {
	Tnode190813* result;
	Tlineinfo163338 info;
	NIM_BOOL hassignature;
	NIM_BOOL LOC1;
	Tnode190813* params;
	Tnode190813* pragmas;
	result = 0;
	info = parlineinfo_206316((&(*p)));
	gettok_206243(p);
	LOC1 = 0;
	LOC1 = ((*p).tok.toktype == ((NU8) 93) || (*p).tok.toktype == ((NU8) 107));
	if (!(LOC1)) goto LA2;
	LOC1 = ((*p).tok.indent < ((NI) 0));
	LA2: ;
	hassignature = LOC1;
	params = parseparamlist_206771(p, NIM_TRUE);
	pragmas = optpragmas_208263(p);
	{
		NIM_BOOL LOC5;
		Tnode190813* LOC9;
		LOC5 = 0;
		LOC5 = ((*p).tok.toktype == ((NU8) 109));
		if (!(LOC5)) goto LA6;
		LOC5 = isexpr;
		LA6: ;
		if (!LOC5) goto LA7;
		gettok_206243(p);
		skipcomment_206258(p, result);
		LOC9 = 0;
		LOC9 = parsestmt_206749(p);
		result = newprocnode_193058(((NU8) 51), info, LOC9, params, emptynode_191807, emptynode_191807, emptynode_191807, pragmas, emptynode_191807);
	}
	goto LA3;
	LA7: ;
	{
		result = newnodei_192351(((NU8) 147), info);
		{
			if (!hassignature) goto LA13;
			addson_192819(result, params);
			addson_192819(result, pragmas);
		}
		LA13: ;
	}
	LA3: ;
	return result;
}

N_NIMCALL(Tnode190813*, parseenum_208473)(Tparser206205* p) {
	Tnode190813* result;
{	result = 0;
	result = newnodep_206266(((NU8) 150), (&(*p)));
	gettok_206243(p);
	addson_192819(result, emptynode_191807);
	optind_206344(p, result);
	{
		while (1) {
			Tnode190813* a;
			a = parsesymbol_206367(p, NIM_FALSE);
			{
				if (!((*a).kind == ((NU8) 1))) goto LA5;
				goto BeforeRet;
			}
			LA5: ;
			{
				NIM_BOOL LOC9;
				LOC9 = 0;
				LOC9 = (((NI) 0) <= (*p).tok.indent);
				if (!(LOC9)) goto LA10;
				LOC9 = ((*p).tok.indent <= (*p).currind);
				LA10: ;
				if (!LOC9) goto LA11;
				add_191164(result, a);
				goto LA1;
			}
			LA11: ;
			{
				NIM_BOOL LOC15;
				Tnode190813* b;
				Tnode190813* LOC19;
				LOC15 = 0;
				LOC15 = ((*p).tok.toktype == ((NU8) 109));
				if (!(LOC15)) goto LA16;
				LOC15 = ((*p).tok.indent < ((NI) 0));
				LA16: ;
				if (!LOC15) goto LA17;
				gettok_206243(p);
				optind_206344(p, a);
				b = a;
				a = newnodep_206266(((NU8) 151), (&(*p)));
				addson_192819(a, b);
				LOC19 = 0;
				LOC19 = parseexpr_206742(p);
				addson_192819(a, LOC19);
				skipcomment_206258(p, a);
			}
			LA17: ;
			{
				NIM_BOOL LOC22;
				LOC22 = 0;
				LOC22 = ((*p).tok.toktype == ((NU8) 105));
				if (!(LOC22)) goto LA23;
				LOC22 = ((*p).tok.indent < ((NI) 0));
				LA23: ;
				if (!LOC22) goto LA24;
				gettok_206243(p);
				rawskipcomment_206497(p, a);
			}
			goto LA20;
			LA24: ;
			{
				skipcomment_206258(p, a);
			}
			LA20: ;
			addson_192819(result, a);
			{
				NIM_BOOL LOC29;
				NIM_BOOL LOC30;
				LOC29 = 0;
				LOC30 = 0;
				LOC30 = (((NI) 0) <= (*p).tok.indent);
				if (!(LOC30)) goto LA31;
				LOC30 = ((*p).tok.indent <= (*p).currind);
				LA31: ;
				LOC29 = LOC30;
				if (LOC29) goto LA32;
				LOC29 = ((*p).tok.toktype == ((NU8) 1));
				LA32: ;
				if (!LOC29) goto LA33;
				goto LA1;
			}
			LA33: ;
		}
	} LA1: ;
	{
		NI LOC37;
		NimStringDesc* LOC40;
		LOC37 = 0;
		LOC37 = len_191097(result);
		if (!(LOC37 <= ((NI) 1))) goto LA38;
		LOC40 = 0;
		LOC40 = prettytok_181345((&(*p).tok));
		lexmessagetok_181494((&(*p).lex), ((NU16) 19), (&(*p).tok), LOC40);
	}
	LA38: ;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(NIM_BOOL, validind_209503)(Tparser206205* p) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = ((*p).tok.indent < ((NI) 0));
	if (LOC1) goto LA2;
	LOC1 = ((*p).currind < (*p).tok.indent);
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(Tnode190813*, parseobjectwhen_209712)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 140), (&(*p)));
	{
		while (1) {
			Tnode190813* branch;
			Tnode190813* LOC3;
			Tnode190813* LOC4;
			if (!((*p).tok.indent == (*p).currind)) goto LA2;
			gettok_206243(p);
			branch = newnodep_206266(((NU8) 86), (&(*p)));
			optind_206344(p, branch);
			LOC3 = 0;
			LOC3 = parseexpr_206742(p);
			addson_192819(branch, LOC3);
			colcom_206932(p, branch);
			LOC4 = 0;
			LOC4 = parseobjectpart_209705(p);
			addson_192819(branch, LOC4);
			skipcomment_206258(p, branch);
			addson_192819(result, branch);
			{
				if (!!(((*p).tok.toktype == ((NU8) 22)))) goto LA7;
				goto LA1;
			}
			LA7: ;
		} LA2: ;
	} LA1: ;
	{
		NIM_BOOL LOC11;
		Tnode190813* branch;
		Tnode190813* LOC15;
		LOC11 = 0;
		LOC11 = ((*p).tok.toktype == ((NU8) 23));
		if (!(LOC11)) goto LA12;
		LOC11 = ((*p).tok.indent == (*p).currind);
		LA12: ;
		if (!LOC11) goto LA13;
		branch = newnodep_206266(((NU8) 88), (&(*p)));
		eat_206322(p, ((NU8) 23));
		colcom_206932(p, branch);
		LOC15 = 0;
		LOC15 = parseobjectpart_209705(p);
		addson_192819(branch, LOC15);
		skipcomment_206258(p, branch);
		addson_192819(result, branch);
	}
	LA13: ;
	return result;
}

N_NIMCALL(void, gettoknoind_206584)(Tparser206205* p) {
	gettok_206243(p);
	{
		if (!(((NI) 0) <= (*p).tok.indent)) goto LA3;
		parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
	}
	LA3: ;
}

N_NIMCALL(Tnode190813*, parseobjectcase_209750)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* a;
	Tnode190813* LOC1;
	Tnode190813* LOC2;
	NIM_BOOL wasindented;
	NI oldind;
	result = 0;
	result = newnodep_206266(((NU8) 139), (&(*p)));
	gettoknoind_206584(p);
	a = newnodep_206266(((NU8) 35), (&(*p)));
	LOC1 = 0;
	LOC1 = identwithpragma_208019(p);
	addson_192819(a, LOC1);
	eat_206322(p, ((NU8) 107));
	LOC2 = 0;
	LOC2 = parsetypedesc_206756(p);
	addson_192819(a, LOC2);
	addson_192819(a, emptynode_191807);
	addson_192819(result, a);
	{
		if (!((*p).tok.toktype == ((NU8) 107))) goto LA5;
		gettok_206243(p);
	}
	LA5: ;
	skipcomment_206258(p, result);
	wasindented = NIM_FALSE;
	oldind = (*p).currind;
	{
		if (!((*p).currind < (*p).tok.indent)) goto LA9;
		(*p).currind = (*p).tok.indent;
		wasindented = NIM_TRUE;
	}
	LA9: ;
	{
		while (1) {
			Tnode190813* b;
			Tnode190813* fields;
			if (!((*p).tok.indent == (*p).currind)) goto LA12;
			b = 0;
			switch ((*p).tok.toktype) {
			case ((NU8) 50):
			{
				b = newnodep_206266(((NU8) 85), (&(*p)));
				exprlist_207088(p, ((NU8) 107), b);
			}
			break;
			case ((NU8) 23):
			{
				b = newnodep_206266(((NU8) 88), (&(*p)));
				gettok_206243(p);
			}
			break;
			default:
			{
				goto LA11;
			}
			break;
			}
			colcom_206932(p, b);
			fields = parseobjectpart_209705(p);
			{
				if (!((*fields).kind == ((NU8) 1))) goto LA18;
				parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
				fields = newnodep_206266(((NU8) 23), (&(*p)));
			}
			LA18: ;
			addson_192819(b, fields);
			addson_192819(result, b);
			{
				if (!((*b).kind == ((NU8) 88))) goto LA22;
				goto LA11;
			}
			LA22: ;
		} LA12: ;
	} LA11: ;
	{
		if (!wasindented) goto LA26;
		(*p).currind = oldind;
	}
	LA26: ;
	return result;
}

N_NIMCALL(Tnode190813*, parseobjectpart_209705)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	{
		NI oldind_209807;
		if (!((*p).currind < (*p).tok.indent)) goto LA3;
		result = newnodep_206266(((NU8) 138), (&(*p)));
		oldind_209807 = (*p).currind;
		(*p).currind = (*p).tok.indent;
		rawskipcomment_206497(p, result);
		{
			while (1) {
				if (!((*p).tok.indent == (*p).currind)) goto LA6;
				switch ((*p).tok.toktype) {
				case ((NU8) 11):
				case ((NU8) 67):
				case ((NU8) 2):
				case ((NU8) 114):
				case ((NU8) 46):
				case ((NU8) 18):
				{
					Tnode190813* LOC8;
					LOC8 = 0;
					LOC8 = parseobjectpart_209705(p);
					addson_192819(result, LOC8);
				}
				break;
				default:
				{
					parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
					goto LA5;
				}
				break;
				}
			} LA6: ;
		} LA5: ;
		(*p).currind = oldind_209807;
	}
	goto LA1;
	LA3: ;
	{
		switch ((*p).tok.toktype) {
		case ((NU8) 67):
		{
			result = parseobjectwhen_209712(p);
		}
		break;
		case ((NU8) 11):
		{
			result = parseobjectcase_209750(p);
		}
		break;
		case ((NU8) 2):
		case ((NU8) 114):
		{
			result = parseidentcolonequals_208049(p, 1);
			skipcomment_206258(p, result);
		}
		break;
		case ((NU8) 46):
		case ((NU8) 18):
		{
			result = newnodep_206266(((NU8) 23), (&(*p)));
			gettok_206243(p);
		}
		break;
		default:
		{
			result = emptynode_191807;
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parseobject_208480)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* LOC25;
{	result = 0;
	result = newnodep_206266(((NU8) 133), (&(*p)));
	gettok_206243(p);
	{
		NIM_BOOL LOC3;
		Tnode190813* LOC7;
		LOC3 = 0;
		LOC3 = ((*p).tok.toktype == ((NU8) 101));
		if (!(LOC3)) goto LA4;
		LOC3 = validind_209503(p);
		LA4: ;
		if (!LOC3) goto LA5;
		LOC7 = 0;
		LOC7 = parsepragma_207930(p);
		addson_192819(result, LOC7);
	}
	goto LA1;
	LA5: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA1: ;
	{
		NIM_BOOL LOC11;
		Tnode190813* a;
		Tnode190813* LOC15;
		LOC11 = 0;
		LOC11 = ((*p).tok.toktype == ((NU8) 50));
		if (!(LOC11)) goto LA12;
		LOC11 = ((*p).tok.indent < ((NI) 0));
		LA12: ;
		if (!LOC11) goto LA13;
		a = newnodep_206266(((NU8) 77), (&(*p)));
		gettok_206243(p);
		LOC15 = 0;
		LOC15 = parsetypedesc_206756(p);
		addson_192819(a, LOC15);
		addson_192819(result, a);
	}
	goto LA9;
	LA13: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA9: ;
	{
		if (!((*p).tok.toktype == ((NU8) 113))) goto LA19;
		skipcomment_206258(p, result);
	}
	LA19: ;
	{
		if (!!(((*p).currind < (*p).tok.indent))) goto LA23;
		addson_192819(result, emptynode_191807);
		goto BeforeRet;
	}
	LA23: ;
	LOC25 = 0;
	LOC25 = parseobjectpart_209705(p);
	addson_192819(result, LOC25);
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsetypeclassparam_209861)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	{
		Tnode190813* LOC5;
		if (!((*p).tok.toktype == ((NU8) 66))) goto LA3;
		result = newnodep_206266(((NU8) 143), (&(*p)));
		gettok_206243(p);
		LOC5 = 0;
		LOC5 = parsesymbol_206367(p, NIM_FALSE);
		addson_192819(result, LOC5);
	}
	goto LA1;
	LA3: ;
	{
		result = parsesymbol_206367(p, NIM_FALSE);
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsetypeclass_208487)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* args;
	Tnode190813* LOC1;
	result = 0;
	result = newnodep_206266(((NU8) 136), (&(*p)));
	gettok_206243(p);
	args = newnodep_206266(((NU8) 152), (&(*p)));
	addson_192819(result, args);
	LOC1 = 0;
	LOC1 = parsetypeclassparam_209861(p);
	addson_192819(args, LOC1);
	{
		while (1) {
			Tnode190813* LOC4;
			if (!((*p).tok.toktype == ((NU8) 105))) goto LA3;
			gettok_206243(p);
			LOC4 = 0;
			LOC4 = parsetypeclassparam_209861(p);
			addson_192819(args, LOC4);
		} LA3: ;
	}
	{
		NIM_BOOL LOC7;
		Tnode190813* LOC11;
		LOC7 = 0;
		LOC7 = ((*p).tok.toktype == ((NU8) 101));
		if (!(LOC7)) goto LA8;
		LOC7 = validind_209503(p);
		LA8: ;
		if (!LOC7) goto LA9;
		LOC11 = 0;
		LOC11 = parsepragma_207930(p);
		addson_192819(result, LOC11);
	}
	goto LA5;
	LA9: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA5: ;
	{
		NIM_BOOL LOC15;
		Tnode190813* a;
		LOC15 = 0;
		LOC15 = ((*p).tok.toktype == ((NU8) 50));
		if (!(LOC15)) goto LA16;
		LOC15 = ((*p).tok.indent < ((NI) 0));
		LA16: ;
		if (!LOC15) goto LA17;
		a = newnodep_206266(((NU8) 77), (&(*p)));
		gettok_206243(p);
		{
			while (1) {
				Tnode190813* LOC21;
				LOC21 = 0;
				LOC21 = parsetypedesc_206756(p);
				addson_192819(a, LOC21);
				{
					if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA24;
					goto LA19;
				}
				LA24: ;
				gettok_206243(p);
			}
		} LA19: ;
		addson_192819(result, a);
	}
	goto LA13;
	LA17: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA13: ;
	{
		if (!((*p).tok.toktype == ((NU8) 113))) goto LA29;
		skipcomment_206258(p, result);
	}
	LA29: ;
	{
		if (!!(((*p).currind < (*p).tok.indent))) goto LA33;
		addson_192819(result, emptynode_191807);
	}
	goto LA31;
	LA33: ;
	{
		Tnode190813* LOC36;
		LOC36 = 0;
		LOC36 = parsestmt_206749(p);
		addson_192819(result, LOC36);
	}
	LA31: ;
	return result;
}

N_NIMCALL(void, parsesymbollist_208379)(Tparser206205* p, Tnode190813* result, NIM_BOOL allownil) {
	{
		while (1) {
			Tnode190813* s;
			s = parsesymbol_206367(p, allownil);
			{
				if (!((*s).kind == ((NU8) 1))) goto LA5;
				goto LA1;
			}
			LA5: ;
			addson_192819(result, s);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA9;
				goto LA1;
			}
			LA9: ;
			gettok_206243(p);
			optind_206344(p, s);
		}
	} LA1: ;
}

N_NIMCALL(Tnode190813*, parsetypedesckaux_208417)(Tparser206205* p, NU8 kind, NU8 mode) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		Tnode190813* LOC8;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = isoperator_206237((&(*p).tok));
		LOC3 = !(LOC4);
		if (!(LOC3)) goto LA5;
		LOC3 = isexprstart_208369((&(*p)));
		LA5: ;
		if (!LOC3) goto LA6;
		LOC8 = 0;
		LOC8 = primary_207814(p, mode);
		addson_192819(result, LOC8);
	}
	LA6: ;
	{
		NIM_BOOL LOC11;
		NU8 nodekind;
		Tnode190813* list;
		LOC11 = 0;
		LOC11 = (kind == ((NU8) 146));
		if (!(LOC11)) goto LA12;
		LOC11 = ((*p).tok.toktype == ((NU8) 69) || (*p).tok.toktype == ((NU8) 70));
		LA12: ;
		if (!LOC11) goto LA13;
		{
			if (!((*p).tok.toktype == ((NU8) 69))) goto LA17;
			nodekind = ((NU8) 130);
		}
		goto LA15;
		LA17: ;
		{
			nodekind = ((NU8) 131);
		}
		LA15: ;
		gettok_206243(p);
		list = newnodep_206266(nodekind, (&(*p)));
		addson_192819(result, list);
		parsesymbollist_208379(p, list, NIM_TRUE);
	}
	LA13: ;
	return result;
}

N_NIMCALL(Tnode190813*, newintnodep_206273)(NU8 kind, NI64 intval, Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(kind, p);
	(*result).kindU.S1.intval = intval;
	return result;
}

N_NIMCALL(void, setbaseflags_206360)(Tnode190813* n, NU8 base) {
	switch (base) {
	case ((NU8) 0):
	{
	}
	break;
	case ((NU8) 1):
	{
		(*n).flags |= ((NI16)1)<<((((NU8) 1))%(sizeof(NI16)*8));
	}
	break;
	case ((NU8) 2):
	{
		(*n).flags |= ((NI16)1)<<((((NU8) 2))%(sizeof(NI16)*8));
	}
	break;
	case ((NU8) 3):
	{
		(*n).flags |= ((NI16)1)<<((((NU8) 3))%(sizeof(NI16)*8));
	}
	break;
	}
}

N_NIMCALL(Tnode190813*, newfloatnodep_206281)(NU8 kind, NF floatval, Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(kind, p);
	(*result).kindU.S2.floatval = floatval;
	return result;
}

N_NIMCALL(Tnode190813*, exprcoloneqexprlist_207242)(Tparser206205* p, NU8 kind, NU8 endtok) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	exprcoloneqexprlistaux_207168(p, endtok, result);
	return result;
}

N_NIMCALL(void, semistmtlist_207399)(Tparser206205* p, Tnode190813* result) {
	Tnode190813* LOC1;
	(*p).insemistmtlist += ((NI) 1);
	LOC1 = 0;
	LOC1 = complexorsimplestmt_207384(p);
	add_191164(result, LOC1);
	{
		while (1) {
			Tnode190813* LOC4;
			if (!((*p).tok.toktype == ((NU8) 106))) goto LA3;
			gettok_206243(p);
			optind_206344(p, result);
			LOC4 = 0;
			LOC4 = complexorsimplestmt_207384(p);
			add_191164(result, LOC4);
		} LA3: ;
	}
	(*p).insemistmtlist -= ((NI) 1);
	(*result).kind = ((NU8) 126);
}

N_NIMCALL(Tnode190813*, parsepar_207446)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 37), (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	{
		if (!((TMP1277[(*p).tok.toktype/8] &(1<<((*p).tok.toktype%8)))!=0)) goto LA3;
		semistmtlist_207399(p, result);
	}
	goto LA1;
	LA3: ;
	{
		if (!((*p).tok.toktype == ((NU8) 106))) goto LA6;
		gettok_206243(p);
		optind_206344(p, result);
		semistmtlist_207399(p, result);
	}
	goto LA1;
	LA6: ;
	{
		Tnode190813* a_207480;
		if (!!(((*p).tok.toktype == ((NU8) 94)))) goto LA9;
		a_207480 = simpleexpr_207391(p, ((NU8) 0));
		{
			Tnode190813* b;
			Tnode190813* asgn;
			if (!((*p).tok.toktype == ((NU8) 109))) goto LA13;
			gettok_206243(p);
			optind_206344(p, result);
			b = parseexpr_206742(p);
			asgn = newnodei_192407(((NU8) 73), (*a_207480).info, ((NI) 2));
			asgnRefNoCycle((void**) (&(*asgn).kindU.S6.sons->data[((NI) 0)]), a_207480);
			asgnRefNoCycle((void**) (&(*asgn).kindU.S6.sons->data[((NI) 1)]), b);
			add_191164(result, asgn);
			{
				if (!((*p).tok.toktype == ((NU8) 106))) goto LA17;
				semistmtlist_207399(p, result);
			}
			LA17: ;
		}
		goto LA11;
		LA13: ;
		{
			if (!((*p).tok.toktype == ((NU8) 106))) goto LA20;
			add_191164(result, a_207480);
			semistmtlist_207399(p, result);
		}
		goto LA11;
		LA20: ;
		{
			a_207480 = colonorequals_207046(p, a_207480);
			add_191164(result, a_207480);
			{
				if (!((*p).tok.toktype == ((NU8) 105))) goto LA25;
				gettok_206243(p);
				skipcomment_206258(p, a_207480);
				{
					while (1) {
						NIM_BOOL LOC29;
						Tnode190813* a;
						LOC29 = 0;
						LOC29 = !(((*p).tok.toktype == ((NU8) 94)));
						if (!(LOC29)) goto LA30;
						LOC29 = !(((*p).tok.toktype == ((NU8) 1)));
						LA30: ;
						if (!LOC29) goto LA28;
						a = exprcoloneqexpr_207076(p);
						addson_192819(result, a);
						{
							if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA33;
							goto LA27;
						}
						LA33: ;
						gettok_206243(p);
						skipcomment_206258(p, a);
					} LA28: ;
				} LA27: ;
			}
			LA25: ;
		}
		LA11: ;
	}
	goto LA1;
	LA9: ;
	LA1: ;
	optpar_206337(p);
	eat_206322(p, ((NU8) 94));
	return result;
}

N_NIMCALL(Tnode190813*, setortableconstr_207255)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 39), (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	{
		if (!((*p).tok.toktype == ((NU8) 107))) goto LA3;
		gettok_206243(p);
		(*result).kind = ((NU8) 54);
	}
	goto LA1;
	LA3: ;
	{
		{
			while (1) {
				Tnode190813* a;
				if (!!(((*p).tok.toktype == ((NU8) 98) || (*p).tok.toktype == ((NU8) 1)))) goto LA7;
				a = exprcoloneqexpr_207076(p);
				{
					if (!((*a).kind == ((NU8) 34))) goto LA10;
					(*result).kind = ((NU8) 54);
				}
				LA10: ;
				addson_192819(result, a);
				{
					if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA14;
					goto LA6;
				}
				LA14: ;
				gettok_206243(p);
				skipcomment_206258(p, a);
			} LA7: ;
		} LA6: ;
	}
	LA1: ;
	optpar_206337(p);
	eat_206322(p, ((NU8) 98));
	return result;
}

N_NIMCALL(Tnode190813*, parsecast_207312)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* LOC1;
	Tnode190813* LOC2;
	result = 0;
	result = newnodep_206266(((NU8) 61), (&(*p)));
	gettok_206243(p);
	eat_206322(p, ((NU8) 95));
	optind_206344(p, result);
	LOC1 = 0;
	LOC1 = parsetypedesc_206756(p);
	addson_192819(result, LOC1);
	optpar_206337(p);
	eat_206322(p, ((NU8) 96));
	eat_206322(p, ((NU8) 93));
	optind_206344(p, result);
	LOC2 = 0;
	LOC2 = parseexpr_206742(p);
	addson_192819(result, LOC2);
	optpar_206337(p);
	eat_206322(p, ((NU8) 94));
	return result;
}

N_NIMCALL(Tnode190813*, identorliteral_207565)(Tparser206205* p, NU8 mode) {
	Tnode190813* result;
	result = 0;
	switch ((*p).tok.toktype) {
	case ((NU8) 2):
	case ((NU8) 64):
	case ((NU8) 3):
	{
		result = newidentnodep_206297((*p).tok.ident, (&(*p)));
		gettok_206243(p);
		result = parsegstrlit_207363(p, result);
	}
	break;
	case ((NU8) 114):
	{
		result = parsesymbol_206367(p, NIM_FALSE);
	}
	break;
	case ((NU8) 73):
	{
		result = newintnodep_206273(((NU8) 6), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 74):
	{
		result = newintnodep_206273(((NU8) 7), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 75):
	{
		result = newintnodep_206273(((NU8) 8), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 76):
	{
		result = newintnodep_206273(((NU8) 9), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 77):
	{
		result = newintnodep_206273(((NU8) 10), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 78):
	{
		result = newintnodep_206273(((NU8) 11), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 79):
	{
		result = newintnodep_206273(((NU8) 12), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 80):
	{
		result = newintnodep_206273(((NU8) 13), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 81):
	{
		result = newintnodep_206273(((NU8) 14), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 82):
	{
		result = newintnodep_206273(((NU8) 15), (*p).tok.inumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 83):
	{
		result = newfloatnodep_206281(((NU8) 16), (*p).tok.fnumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 84):
	{
		result = newfloatnodep_206281(((NU8) 17), (*p).tok.fnumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 85):
	{
		result = newfloatnodep_206281(((NU8) 18), (*p).tok.fnumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 86):
	{
		result = newfloatnodep_206281(((NU8) 19), (*p).tok.fnumber, (&(*p)));
		setbaseflags_206360(result, (*p).tok.base);
		gettok_206243(p);
	}
	break;
	case ((NU8) 87):
	{
		result = newstrnodep_206289(((NU8) 20), (*p).tok.literal, (&(*p)));
		gettok_206243(p);
	}
	break;
	case ((NU8) 88):
	{
		result = newstrnodep_206289(((NU8) 21), (*p).tok.literal, (&(*p)));
		gettok_206243(p);
	}
	break;
	case ((NU8) 89):
	{
		result = newstrnodep_206289(((NU8) 22), (*p).tok.literal, (&(*p)));
		gettok_206243(p);
	}
	break;
	case ((NU8) 92):
	{
		result = newintnodep_206273(((NU8) 5), ((NI64) (((NU8)((*p).tok.literal->data[((NI) 0)])))), (&(*p)));
		gettok_206243(p);
	}
	break;
	case ((NU8) 46):
	{
		result = newnodep_206266(((NU8) 23), (&(*p)));
		gettok_206243(p);
	}
	break;
	case ((NU8) 93):
	{
		{
			if (!((6 &(1<<((mode)&7)))!=0)) goto LA25;
			result = exprcoloneqexprlist_207242(p, ((NU8) 37), ((NU8) 94));
		}
		goto LA23;
		LA25: ;
		{
			result = parsepar_207446(p);
		}
		LA23: ;
	}
	break;
	case ((NU8) 97):
	{
		result = setortableconstr_207255(p);
	}
	break;
	case ((NU8) 95):
	{
		result = exprcoloneqexprlist_207242(p, ((NU8) 41), ((NU8) 96));
	}
	break;
	case ((NU8) 12):
	{
		result = parsecast_207312(p);
	}
	break;
	default:
	{
		parmessage_206452((&(*p)), ((NU16) 60), (&(*p).tok));
		gettok_206243(p);
		result = emptynode_191807;
	}
	break;
	}
	return result;
}

N_NIMCALL(Tnode190813*, primary_207814)(Tparser206205* p, NU8 mode) {
	Tnode190813* result;
{	result = 0;
	{
		NIM_BOOL LOC3;
		NIM_BOOL issigil;
		Tnode190813* a;
		LOC3 = 0;
		LOC3 = isoperator_206237((&(*p).tok));
		if (!LOC3) goto LA4;
		issigil = issigillike_206779((&(*p).tok));
		result = newnodep_206266(((NU8) 30), (&(*p)));
		a = newidentnodep_206297((*p).tok.ident, (&(*p)));
		addson_192819(result, a);
		gettok_206243(p);
		optind_206344(p, a);
		{
			NI baseind;
			Tnode190813* LOC10;
			if (!issigil) goto LA8;
			baseind = (*p).lex.currlineindent;
			LOC10 = 0;
			LOC10 = primary_207814(p, ((NU8) 3));
			addson_192819(result, LOC10);
			result = primarysuffix_207619(p, result, baseind);
		}
		goto LA6;
		LA8: ;
		{
			Tnode190813* LOC12;
			LOC12 = 0;
			LOC12 = primary_207814(p, ((NU8) 0));
			addson_192819(result, LOC12);
		}
		LA6: ;
		goto BeforeRet;
	}
	LA4: ;
	switch ((*p).tok.toktype) {
	case ((NU8) 63):
	{
		result = parsetuple_208135(p, (mode == ((NU8) 2)));
	}
	break;
	case ((NU8) 53):
	{
		result = parseprocexpr_208333(p, !(((6 &(1<<((mode)&7)))!=0)));
	}
	break;
	case ((NU8) 40):
	{
		result = parseprocexpr_208333(p, !(((6 &(1<<((mode)&7)))!=0)));
		{
			if (!((*result).kind == ((NU8) 51))) goto LA18;
			(*result).kind = ((NU8) 84);
		}
		goto LA16;
		LA18: ;
		{
			(*result).kind = ((NU8) 148);
		}
		LA16: ;
	}
	break;
	case ((NU8) 25):
	{
		{
			if (!(mode == ((NU8) 2))) goto LA24;
			result = parseenum_208473(p);
		}
		goto LA22;
		LA24: ;
		{
			result = newnodep_206266(((NU8) 150), (&(*p)));
			gettok_206243(p);
		}
		LA22: ;
	}
	break;
	case ((NU8) 49):
	{
		{
			if (!(mode == ((NU8) 2))) goto LA30;
			result = parseobject_208480(p);
		}
		goto LA28;
		LA30: ;
		{
			result = newnodep_206266(((NU8) 133), (&(*p)));
			gettok_206243(p);
		}
		LA28: ;
	}
	break;
	case ((NU8) 32):
	case ((NU8) 13):
	{
		{
			NIM_BOOL wasgeneric;
			if (!(mode == ((NU8) 2))) goto LA36;
			wasgeneric = ((*p).tok.toktype == ((NU8) 32));
			result = parsetypeclass_208487(p);
			{
				if (!wasgeneric) goto LA40;
				(*result).flags |= ((NI16)1)<<((((NU8) 1))%(sizeof(NI16)*8));
			}
			LA40: ;
		}
		goto LA34;
		LA36: ;
		{
			parmessage_206452((&(*p)), ((NU16) 12), (&(*p).tok));
		}
		LA34: ;
	}
	break;
	case ((NU8) 60):
	{
		Tlineinfo163338 info;
		Tnode190813* next;
		info = parlineinfo_206316((&(*p)));
		gettoknoind_206584(p);
		next = primary_207814(p, ((NU8) 0));
		{
			NIM_BOOL LOC46;
			NI LOC48;
			Tnodeseq190807* LOC51;
			TY208680 LOC52;
			LOC46 = 0;
			LOC46 = ((*next).kind == ((NU8) 41));
			if (!(LOC46)) goto LA47;
			LOC48 = 0;
			LOC48 = sonslen_193403(next);
			LOC46 = (LOC48 == ((NI) 1));
			LA47: ;
			if (!LOC46) goto LA49;
			LOC51 = 0;
			LOC51 = (Tnodeseq190807*) newSeq((&NTI190807), 1);
			memset((void*)LOC52, 0, sizeof(LOC52));
			LOC52[0] = (*next).kindU.S6.sons->data[((NI) 0)];
			asgnRefNoCycle((void**) (&LOC51->data[0]), LOC52[0]);
			result = newnode_192607(((NU8) 137), info, LOC51, NIM_NIL);
		}
		goto LA44;
		LA49: ;
		{
			Tnodeseq190807* LOC54;
			TY208680 LOC55;
			LOC54 = 0;
			LOC54 = (Tnodeseq190807*) newSeq((&NTI190807), 1);
			memset((void*)LOC55, 0, sizeof(LOC55));
			LOC55[0] = next;
			asgnRefNoCycle((void**) (&LOC54->data[0]), LOC55[0]);
			result = newnode_192607(((NU8) 62), info, LOC54, NIM_NIL);
		}
		LA44: ;
	}
	break;
	case ((NU8) 8):
	{
		Tnode190813* LOC57;
		result = newnodep_206266(((NU8) 55), (&(*p)));
		gettok_206243(p);
		optind_206344(p, result);
		LOC57 = 0;
		LOC57 = primary_207814(p, ((NU8) 0));
		addson_192819(result, LOC57);
	}
	break;
	case ((NU8) 66):
	{
		result = parsetypedesckaux_208417(p, ((NU8) 143), mode);
	}
	break;
	case ((NU8) 56):
	{
		result = parsetypedesckaux_208417(p, ((NU8) 141), mode);
	}
	break;
	case ((NU8) 54):
	{
		result = parsetypedesckaux_208417(p, ((NU8) 142), mode);
	}
	break;
	case ((NU8) 19):
	{
		result = parsetypedesckaux_208417(p, ((NU8) 146), mode);
	}
	break;
	default:
	{
		NI baseind;
		baseind = (*p).lex.currlineindent;
		result = identorliteral_207565(p, mode);
		{
			if (!!((mode == ((NU8) 3)))) goto LA65;
			result = primarysuffix_207619(p, result, baseind);
		}
		LA65: ;
	}
	break;
	}
	}BeforeRet: ;
	return result;
}

N_NIMCALL(NI, getprecedence_206817)(Ttoken181181* tok, NIM_BOOL strongspaces) {
	NI result;
	NI LOC61;
{	result = 0;
	switch ((*tok).toktype) {
	case ((NU8) 112):
	{
		NI L;
		NIM_CHAR relevantchar;
		L = ((*(*tok).ident).s ? (*(*tok).ident).s->Sup.len : 0);
		relevantchar = (*(*tok).ident).s->data[((NI) 0)];
		{
			NIM_BOOL LOC4;
			NIM_BOOL LOC5;
			NI LOC10;
			LOC4 = 0;
			LOC5 = 0;
			LOC5 = (((NI) 1) < L);
			if (!(LOC5)) goto LA6;
			LOC5 = ((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 1))]) == (NU8)(62));
			LA6: ;
			LOC4 = LOC5;
			if (!(LOC4)) goto LA7;
			LOC4 = (((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 2))])) == ((NU8)(45)) || ((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 2))])) == ((NU8)(126)) || ((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 2))])) == ((NU8)(61)));
			LA7: ;
			if (!LOC4) goto LA8;
			LOC10 = 0;
			{
				if (!strongspaces) goto LA13;
				LOC10 = (NI)(((NI) 100) - (NI)(((NI) ((*tok).strongspacea)) * ((NI) 10)));
			}
			goto LA11;
			LA13: ;
			{
				LOC10 = ((NI) 0);
			}
			LA11: ;
			result = (NI)(((NI) 1) + LOC10);
			goto BeforeRet;
		}
		LA8: ;
		switch (((NU8)(relevantchar))) {
		case 36:
		case 94:
		{
			{
				if (!((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 1))]) == (NU8)(61))) goto LA19;
				result = ((NI) 1);
			}
			goto LA17;
			LA19: ;
			{
				result = ((NI) 10);
			}
			LA17: ;
		}
		break;
		case 42:
		case 37:
		case 47:
		case 92:
		{
			{
				if (!((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 1))]) == (NU8)(61))) goto LA25;
				result = ((NI) 1);
			}
			goto LA23;
			LA25: ;
			{
				result = ((NI) 9);
			}
			LA23: ;
		}
		break;
		case 126:
		{
			result = ((NI) 8);
		}
		break;
		case 43:
		case 45:
		case 124:
		{
			{
				if (!((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 1))]) == (NU8)(61))) goto LA32;
				result = ((NI) 1);
			}
			goto LA30;
			LA32: ;
			{
				result = ((NI) 8);
			}
			LA30: ;
		}
		break;
		case 38:
		{
			{
				if (!((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 1))]) == (NU8)(61))) goto LA38;
				result = ((NI) 1);
			}
			goto LA36;
			LA38: ;
			{
				result = ((NI) 7);
			}
			LA36: ;
		}
		break;
		case 61:
		case 60:
		case 62:
		case 33:
		{
			result = ((NI) 5);
		}
		break;
		case 46:
		{
			{
				if (!((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 1))]) == (NU8)(61))) goto LA45;
				result = ((NI) 1);
			}
			goto LA43;
			LA45: ;
			{
				result = ((NI) 6);
			}
			LA43: ;
		}
		break;
		case 63:
		{
			result = ((NI) 2);
		}
		break;
		default:
		{
			{
				if (!((NU8)((*(*tok).ident).s->data[(NI)(L - ((NI) 1))]) == (NU8)(61))) goto LA52;
				result = ((NI) 1);
			}
			goto LA50;
			LA52: ;
			{
				result = ((NI) 2);
			}
			LA50: ;
		}
		break;
		}
	}
	break;
	case ((NU8) 20):
	case ((NU8) 45):
	case ((NU8) 58):
	case ((NU8) 59):
	{
		result = ((NI) 9);
	}
	break;
	case ((NU8) 35):
	case ((NU8) 48):
	case ((NU8) 38):
	case ((NU8) 39):
	case ((NU8) 47):
	case ((NU8) 50):
	case ((NU8) 5):
	{
		result = ((NI) 5);
	}
	break;
	case ((NU8) 111):
	{
		result = ((NI) 6);
	}
	break;
	case ((NU8) 4):
	{
		result = ((NI) 4);
	}
	break;
	case ((NU8) 51):
	case ((NU8) 71):
	case ((NU8) 54):
	case ((NU8) 56):
	{
		result = ((NI) 3);
	}
	break;
	default:
	{
		result = ((NI) -10);
		goto BeforeRet;
	}
	break;
	}
	LOC61 = 0;
	{
		if (!strongspaces) goto LA64;
		LOC61 = (NI)(((NI) 100) - (NI)(((NI) ((*tok).strongspacea)) * ((NI) 10)));
	}
	goto LA62;
	LA64: ;
	{
		LOC61 = ((NI) 0);
	}
	LA62: ;
	result = (NI)(result + LOC61);
	}BeforeRet: ;
	return result;
}

N_NIMCALL(NIM_BOOL, isunary_206881)(Tparser206205* p) {
	NIM_BOOL result;
	result = 0;
	{
		NIM_BOOL LOC3;
		NIM_BOOL LOC4;
		LOC3 = 0;
		LOC4 = 0;
		LOC4 = ((*p).tok.toktype == ((NU8) 112) || (*p).tok.toktype == ((NU8) 111));
		if (!(LOC4)) goto LA5;
		LOC4 = ((*p).tok.strongspaceb == ((NI8) 0));
		LA5: ;
		LOC3 = LOC4;
		if (!(LOC3)) goto LA6;
		LOC3 = (((NI8) 0) < (*p).tok.strongspacea);
		LA6: ;
		if (!LOC3) goto LA7;
		{
			if (!(*p).strongspaces) goto LA11;
			result = NIM_TRUE;
		}
		goto LA9;
		LA11: ;
		{
			parmessage_206250(p, ((NU16) 234), ((NimStringDesc*) &TMP1278));
		}
		LA9: ;
	}
	LA7: ;
	return result;
}

static N_INLINE(void, checkbinary_206902)(Tparser206205* p) {
	{
		NIM_BOOL LOC3;
		LOC3 = 0;
		LOC3 = (*p).strongspaces;
		if (!(LOC3)) goto LA4;
		LOC3 = ((*p).tok.toktype == ((NU8) 112));
		LA4: ;
		if (!LOC3) goto LA5;
		{
			NIM_BOOL LOC9;
			NimStringDesc* LOC13;
			NimStringDesc* LOC14;
			LOC9 = 0;
			LOC9 = (((NI8) 0) < (*p).tok.strongspaceb);
			if (!(LOC9)) goto LA10;
			LOC9 = !(((*p).tok.strongspacea == (*p).tok.strongspaceb));
			LA10: ;
			if (!LOC9) goto LA11;
			LOC13 = 0;
			LOC13 = prettytok_181345((&(*p).tok));
			LOC14 = 0;
			LOC14 = nsuFormatSingleElem(((NimStringDesc*) &TMP1279), LOC13);
			parmessage_206250(p, ((NU16) 4), LOC14);
		}
		goto LA7;
		LA11: ;
		{
			if (!!(((*p).tok.strongspacea == ((NI) 0) || (*p).tok.strongspacea == ((NI) 1) || (*p).tok.strongspacea == ((NI) 2) || (*p).tok.strongspacea == ((NI) 4) || (*p).tok.strongspacea == ((NI) 8)))) goto LA16;
			parmessage_206250(p, ((NU16) 4), ((NimStringDesc*) &TMP1280));
		}
		goto LA7;
		LA16: ;
		LA7: ;
	}
	LA5: ;
}

static N_INLINE(NIM_BOOL, isrightassociative_206798)(Ttoken181181* tok) {
	NIM_BOOL result;
	NIM_BOOL LOC1;
	result = 0;
	LOC1 = 0;
	LOC1 = ((*tok).toktype == ((NU8) 112));
	if (!(LOC1)) goto LA2;
	LOC1 = ((NU8)((*(*tok).ident).s->data[((NI) 0)]) == (NU8)(94));
	LA2: ;
	result = LOC1;
	return result;
}

N_NIMCALL(Tnode190813*, parseoperators_207831)(Tparser206205* p, Tnode190813* headnode, NI limit, NU8 mode) {
	Tnode190813* result;
	NI opprec;
	NU8 modeb;
	result = 0;
	result = headnode;
	opprec = getprecedence_206817((&(*p).tok), (*p).strongspaces);
	{
		if (!(mode == ((NU8) 2))) goto LA3;
		modeb = ((NU8) 1);
	}
	goto LA1;
	LA3: ;
	{
		modeb = mode;
	}
	LA1: ;
	{
		while (1) {
			NIM_BOOL LOC8;
			NIM_BOOL LOC9;
			NIM_BOOL LOC12;
			NI leftassoc;
			NIM_BOOL LOC13;
			Tnode190813* a;
			Tnode190813* opnode;
			Tnode190813* b;
			LOC8 = 0;
			LOC9 = 0;
			LOC9 = (limit <= opprec);
			if (!(LOC9)) goto LA10;
			LOC9 = ((*p).tok.indent < ((NI) 0));
			LA10: ;
			LOC8 = LOC9;
			if (!(LOC8)) goto LA11;
			LOC12 = 0;
			LOC12 = isunary_206881((&(*p)));
			LOC8 = !(LOC12);
			LA11: ;
			if (!LOC8) goto LA7;
			checkbinary_206902((&(*p)));
			LOC13 = 0;
			LOC13 = isrightassociative_206798((&(*p).tok));
			leftassoc = (NI)(((NI) 1) - ((NI) (LOC13)));
			a = newnodep_206266(((NU8) 29), (&(*p)));
			opnode = newidentnodep_206297((*p).tok.ident, (&(*p)));
			gettok_206243(p);
			optind_206344(p, a);
			b = simpleexpraux_207822(p, (NI)(opprec + leftassoc), modeb);
			addson_192819(a, opnode);
			addson_192819(a, result);
			addson_192819(a, b);
			result = a;
			opprec = getprecedence_206817((&(*p).tok), (*p).strongspaces);
		} LA7: ;
	}
	return result;
}

N_NIMCALL(Tnode190813*, simpleexpraux_207822)(Tparser206205* p, NI limit, NU8 mode) {
	Tnode190813* result;
	result = 0;
	result = primary_207814(p, mode);
	result = parseoperators_207831(p, result, limit, mode);
	return result;
}

N_NIMCALL(Tnode190813*, simpleexpr_207391)(Tparser206205* p, NU8 mode) {
	Tnode190813* result;
	result = 0;
	result = simpleexpraux_207822(p, ((NI) -1), mode);
	return result;
}

N_NIMCALL(Tnode190813*, makecall_208745)(Tnode190813* n) {
	Tnode190813* result;
	result = 0;
	{
		if (!((*n).kind == ((NU8) 27) || (*n).kind == ((NU8) 29) || (*n).kind == ((NU8) 30) || (*n).kind == ((NU8) 31) || (*n).kind == ((NU8) 26) || (*n).kind == ((NU8) 28) || (*n).kind == ((NU8) 32))) goto LA3;
		result = n;
	}
	goto LA1;
	LA3: ;
	{
		result = newnodei_192351(((NU8) 27), (*n).info);
		add_191164(result, n);
	}
	LA1: ;
	return result;
}

static N_INLINE(Tnode190813*, HEX5BHEX5D_191244)(Tnode190813* n, NI i) {
	Tnode190813* result;
	result = 0;
	result = (*n).kindU.S6.sons->data[i];
	return result;
}

N_NIMCALL(Tnode190813*, parsemacrocolon_207611)(Tparser206205* p, Tnode190813* x) {
	Tnode190813* result;
	result = 0;
	result = x;
	{
		NIM_BOOL LOC3;
		Tnode190813* stmtlist;
		LOC3 = 0;
		LOC3 = ((*p).tok.toktype == ((NU8) 107));
		if (!(LOC3)) goto LA4;
		LOC3 = ((*p).tok.indent < ((NI) 0));
		LA4: ;
		if (!LOC3) goto LA5;
		result = makecall_208745(result);
		gettok_206243(p);
		skipcomment_206258(p, result);
		stmtlist = newnodep_206266(((NU8) 115), (&(*p)));
		{
			Tnode190813* body;
			if (!!(((*p).tok.toktype == ((NU8) 50) || (*p).tok.toktype == ((NU8) 22) || (*p).tok.toktype == ((NU8) 23) || (*p).tok.toktype == ((NU8) 26)))) goto LA9;
			body = parsestmt_206749(p);
			add_191164(stmtlist, body);
		}
		LA9: ;
		{
			while (1) {
				Tnode190813* b;
				Tnode190813* LOC19;
				if (!((*p).tok.indent == (*p).currind)) goto LA12;
				b = 0;
				switch ((*p).tok.toktype) {
				case ((NU8) 50):
				{
					b = newnodep_206266(((NU8) 85), (&(*p)));
					exprlist_207088(p, ((NU8) 107), b);
				}
				break;
				case ((NU8) 22):
				{
					Tnode190813* LOC15;
					b = newnodep_206266(((NU8) 86), (&(*p)));
					gettok_206243(p);
					optind_206344(p, b);
					LOC15 = 0;
					LOC15 = parseexpr_206742(p);
					addson_192819(b, LOC15);
				}
				break;
				case ((NU8) 26):
				{
					b = newnodep_206266(((NU8) 87), (&(*p)));
					exprlist_207088(p, ((NU8) 107), b);
				}
				break;
				case ((NU8) 23):
				{
					b = newnodep_206266(((NU8) 88), (&(*p)));
					gettok_206243(p);
				}
				break;
				default:
				{
					goto LA11;
				}
				break;
				}
				eat_206322(p, ((NU8) 107));
				LOC19 = 0;
				LOC19 = parsestmt_206749(p);
				addson_192819(b, LOC19);
				addson_192819(stmtlist, b);
				{
					if (!((*b).kind == ((NU8) 88))) goto LA22;
					goto LA11;
				}
				LA22: ;
			} LA12: ;
		} LA11: ;
		{
			NIM_BOOL LOC26;
			NI LOC27;
			Tnode190813* LOC29;
			Tnode190813* LOC32;
			LOC26 = 0;
			LOC27 = 0;
			LOC27 = len_191097(stmtlist);
			LOC26 = (LOC27 == ((NI) 1));
			if (!(LOC26)) goto LA28;
			LOC29 = 0;
			LOC29 = HEX5BHEX5D_191244(stmtlist, ((NI) 0));
			LOC26 = ((*LOC29).kind == ((NU8) 115));
			LA28: ;
			if (!LOC26) goto LA30;
			LOC32 = 0;
			LOC32 = HEX5BHEX5D_191244(stmtlist, ((NI) 0));
			add_191164(result, LOC32);
		}
		goto LA24;
		LA30: ;
		{
			add_191164(result, stmtlist);
		}
		LA24: ;
	}
	LA5: ;
	return result;
}

N_NIMCALL(Tnode190813*, parseexprstmt_208831)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* a;
{	result = 0;
	a = simpleexpr_207391(p, ((NU8) 0));
	{
		Tnode190813* b;
		if (!((*p).tok.toktype == ((NU8) 109))) goto LA3;
		gettok_206243(p);
		optind_206344(p, result);
		b = parseexpr_206742(p);
		result = newnodei_192351(((NU8) 73), (*a).info);
		addson_192819(result, a);
		addson_192819(result, b);
	}
	goto LA1;
	LA3: ;
	{
		{
			NIM_BOOL LOC8;
			NIM_BOOL LOC9;
			LOC8 = 0;
			LOC9 = 0;
			LOC9 = ((*p).tok.indent < ((NI) 0));
			if (!(LOC9)) goto LA10;
			LOC9 = ((*p).tok.toktype == ((NU8) 105));
			LA10: ;
			LOC8 = LOC9;
			if (!(LOC8)) goto LA11;
			LOC8 = ((*a).kind == ((NU8) 26));
			LA11: ;
			if (!LOC8) goto LA12;
			result = a;
			{
				while (1) {
					Tnode190813* e;
					gettok_206243(p);
					optind_206344(p, result);
					e = parseexpr_206742(p);
					addson_192819(result, e);
					{
						if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA18;
						goto LA14;
					}
					LA18: ;
				}
			} LA14: ;
		}
		goto LA6;
		LA12: ;
		{
			NIM_BOOL LOC21;
			LOC21 = 0;
			LOC21 = ((*p).tok.indent < ((NI) 0));
			if (!(LOC21)) goto LA22;
			LOC21 = isexprstart_208369((&(*p)));
			LA22: ;
			if (!LOC21) goto LA23;
			{
				if (!((*a).kind == ((NU8) 26))) goto LA27;
				result = a;
			}
			goto LA25;
			LA27: ;
			{
				Tnodeseq190807* LOC30;
				TY208680 LOC31;
				LOC30 = 0;
				LOC30 = (Tnodeseq190807*) newSeq((&NTI190807), 1);
				memset((void*)LOC31, 0, sizeof(LOC31));
				LOC31[0] = a;
				asgnRefNoCycle((void**) (&LOC30->data[0]), LOC31[0]);
				result = newnode_192607(((NU8) 26), (*a).info, LOC30, NIM_NIL);
			}
			LA25: ;
			{
				while (1) {
					Tnode190813* e;
					e = parseexpr_206742(p);
					addson_192819(result, e);
					{
						if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA36;
						goto LA32;
					}
					LA36: ;
					gettok_206243(p);
					optind_206344(p, result);
				}
			} LA32: ;
		}
		goto LA6;
		LA23: ;
		{
			result = a;
		}
		LA6: ;
		{
			NIM_BOOL LOC41;
			LOC41 = 0;
			LOC41 = ((*p).tok.toktype == ((NU8) 21));
			if (!(LOC41)) goto LA42;
			LOC41 = ((*p).tok.indent < ((NI) 0));
			LA42: ;
			if (!LOC41) goto LA43;
			result = makecall_208745(result);
			parsedoblocks_206763(p, result);
			goto BeforeRet;
		}
		LA43: ;
		result = parsemacrocolon_207611(p, result);
	}
	LA1: ;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode190813*, simplestmt_210095)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	switch ((*p).tok.toktype) {
	case ((NU8) 57):
	{
		result = parsereturnorraise_209149(p, ((NU8) 109));
	}
	break;
	case ((NU8) 55):
	{
		result = parsereturnorraise_209149(p, ((NU8) 108));
	}
	break;
	case ((NU8) 72):
	{
		result = parsereturnorraise_209149(p, ((NU8) 104));
	}
	break;
	case ((NU8) 18):
	{
		result = parsereturnorraise_209149(p, ((NU8) 114));
	}
	break;
	case ((NU8) 10):
	{
		result = parsereturnorraise_209149(p, ((NU8) 110));
	}
	break;
	case ((NU8) 15):
	{
		result = parsereturnorraise_209149(p, ((NU8) 111));
	}
	break;
	case ((NU8) 101):
	{
		result = parsestmtpragma_210072(p);
	}
	break;
	case ((NU8) 34):
	{
		result = parseimport_209007(p, ((NU8) 116));
	}
	break;
	case ((NU8) 27):
	{
		result = parseimport_209007(p, ((NU8) 118));
	}
	break;
	case ((NU8) 30):
	{
		result = parsefromstmt_209112(p);
	}
	break;
	case ((NU8) 36):
	{
		result = parseincludestmt_209075(p);
	}
	break;
	case ((NU8) 113):
	{
		result = newcommentstmt_209563(p);
	}
	break;
	default:
	{
		{
			NIM_BOOL LOC16;
			LOC16 = 0;
			LOC16 = isexprstart_208369((&(*p)));
			if (!LOC16) goto LA17;
			result = parseexprstmt_208831(p);
		}
		goto LA14;
		LA17: ;
		{
			result = emptynode_191807;
		}
		LA14: ;
	}
	break;
	}
	{
		if (!!(((*result).kind == ((NU8) 1) || (*result).kind == ((NU8) 125)))) goto LA22;
		skipcomment_206258(p, result);
	}
	LA22: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsestmt_206749)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	{
		NI oldind_210144;
		if (!((*p).currind < (*p).tok.indent)) goto LA3;
		result = newnodep_206266(((NU8) 115), (&(*p)));
		oldind_210144 = (*p).currind;
		(*p).currind = (*p).tok.indent;
		{
			while (1) {
				Tnode190813* a;
				{
					if (!((*p).tok.indent == (*p).currind)) goto LA9;
				}
				goto LA7;
				LA9: ;
				{
					if (!((*p).tok.toktype == ((NU8) 106))) goto LA12;
					gettok_206243(p);
					{
						NIM_BOOL LOC16;
						LOC16 = 0;
						LOC16 = ((*p).tok.indent < ((NI) 0));
						if (LOC16) goto LA17;
						LOC16 = ((*p).tok.indent == (*p).currind);
						LA17: ;
						if (!LOC16) goto LA18;
					}
					goto LA14;
					LA18: ;
					{
						goto LA5;
					}
					LA14: ;
				}
				goto LA7;
				LA12: ;
				{
					{
						NIM_BOOL LOC24;
						LOC24 = 0;
						LOC24 = ((*p).currind < (*p).tok.indent);
						if (!(LOC24)) goto LA25;
						LOC24 = !(((*p).tok.toktype == ((NU8) 110)));
						LA25: ;
						if (!LOC24) goto LA26;
						parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
					}
					LA26: ;
					goto LA5;
				}
				LA7: ;
				{
					if (!((*p).tok.toktype == ((NU8) 98) || (*p).tok.toktype == ((NU8) 94) || (*p).tok.toktype == ((NU8) 102) || (*p).tok.toktype == ((NU8) 96))) goto LA30;
					goto LA5;
				}
				LA30: ;
				a = complexorsimplestmt_207384(p);
				{
					if (!!(((*a).kind == ((NU8) 1)))) goto LA34;
					addson_192819(result, a);
				}
				goto LA32;
				LA34: ;
				{
					parmessage_206452((&(*p)), ((NU16) 60), (&(*p).tok));
					gettok_206243(p);
				}
				LA32: ;
			}
		} LA5: ;
		(*p).currind = oldind_210144;
	}
	goto LA1;
	LA3: ;
	{
		switch ((*p).tok.toktype) {
		case ((NU8) 33):
		case ((NU8) 68):
		case ((NU8) 11):
		case ((NU8) 62):
		case ((NU8) 29):
		case ((NU8) 9):
		case ((NU8) 6):
		case ((NU8) 53):
		case ((NU8) 40):
		case ((NU8) 42):
		case ((NU8) 64):
		case ((NU8) 14):
		case ((NU8) 67):
		case ((NU8) 66):
		{
			parmessage_206250((&(*p)), ((NU16) 153), ((NimStringDesc*) &TMP1146));
			result = emptynode_191807;
		}
		break;
		default:
		{
			{
				if (!(((NI) 0) < (*p).insemistmtlist)) goto LA42;
				result = simplestmt_210095(p);
				{
					if (!((*result).kind == ((NU8) 1))) goto LA46;
					parmessage_206452((&(*p)), ((NU16) 60), (&(*p).tok));
				}
				LA46: ;
			}
			goto LA40;
			LA42: ;
			{
				result = newnodep_206266(((NU8) 115), (&(*p)));
				{
					while (1) {
						Tnode190813* a;
						{
							if (!(((NI) 0) <= (*p).tok.indent)) goto LA53;
							parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
						}
						LA53: ;
						a = simplestmt_210095(p);
						{
							if (!((*a).kind == ((NU8) 1))) goto LA57;
							parmessage_206452((&(*p)), ((NU16) 60), (&(*p).tok));
						}
						LA57: ;
						add_191164(result, a);
						{
							if (!!(((*p).tok.toktype == ((NU8) 106)))) goto LA61;
							goto LA49;
						}
						LA61: ;
						gettok_206243(p);
					}
				} LA49: ;
			}
			LA40: ;
		}
		break;
		}
	}
	LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsecase_206383)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* b;
	NIM_BOOL inelif;
	NIM_BOOL wasindented;
	Tnode190813* LOC1;
	NI oldind;
	result = 0;
	b = 0;
	inelif = NIM_FALSE;
	wasindented = NIM_FALSE;
	result = newnodep_206266(((NU8) 97), (&(*p)));
	gettok_206243(p);
	LOC1 = 0;
	LOC1 = parseexpr_206742(p);
	addson_192819(result, LOC1);
	{
		if (!((*p).tok.toktype == ((NU8) 107))) goto LA4;
		gettok_206243(p);
	}
	LA4: ;
	skipcomment_206258(p, result);
	oldind = (*p).currind;
	{
		if (!((*p).currind < (*p).tok.indent)) goto LA8;
		(*p).currind = (*p).tok.indent;
		wasindented = NIM_TRUE;
	}
	LA8: ;
	{
		while (1) {
			Tnode190813* LOC21;
			if (!((*p).tok.indent == (*p).currind)) goto LA11;
			switch ((*p).tok.toktype) {
			case ((NU8) 50):
			{
				{
					if (!inelif) goto LA15;
					goto LA10;
				}
				LA15: ;
				b = newnodep_206266(((NU8) 85), (&(*p)));
				exprlist_207088(p, ((NU8) 107), b);
			}
			break;
			case ((NU8) 22):
			{
				Tnode190813* LOC18;
				inelif = NIM_TRUE;
				b = newnodep_206266(((NU8) 86), (&(*p)));
				gettok_206243(p);
				optind_206344(p, b);
				LOC18 = 0;
				LOC18 = parseexpr_206742(p);
				addson_192819(b, LOC18);
			}
			break;
			case ((NU8) 23):
			{
				b = newnodep_206266(((NU8) 88), (&(*p)));
				gettok_206243(p);
			}
			break;
			default:
			{
				goto LA10;
			}
			break;
			}
			colcom_206932(p, b);
			LOC21 = 0;
			LOC21 = parsestmt_206749(p);
			addson_192819(b, LOC21);
			addson_192819(result, b);
			{
				if (!((*b).kind == ((NU8) 88))) goto LA24;
				goto LA10;
			}
			LA24: ;
		} LA11: ;
	} LA10: ;
	{
		if (!wasindented) goto LA28;
		(*p).currind = oldind;
	}
	LA28: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsetry_206375)(Tparser206205* p, NIM_BOOL isexpr) {
	Tnode190813* result;
	Tnode190813* LOC1;
	Tnode190813* b;
	result = 0;
	result = newnodep_206266(((NU8) 106), (&(*p)));
	gettok_206243(p);
	colcom_206932(p, result);
	LOC1 = 0;
	LOC1 = parsestmt_206749(p);
	addson_192819(result, LOC1);
	b = NIM_NIL;
	{
		while (1) {
			NIM_BOOL LOC4;
			NIM_BOOL LOC5;
			Tnode190813* LOC11;
			LOC4 = 0;
			LOC5 = 0;
			LOC5 = ((*p).tok.indent == (*p).currind);
			if (LOC5) goto LA6;
			LOC5 = ((*p).tok.indent < ((NI) 0));
			LA6: ;
			LOC4 = LOC5;
			if (LOC4) goto LA7;
			LOC4 = isexpr;
			LA7: ;
			if (!LOC4) goto LA3;
			switch ((*p).tok.toktype) {
			case ((NU8) 26):
			{
				b = newnodep_206266(((NU8) 87), (&(*p)));
				exprlist_207088(p, ((NU8) 107), b);
			}
			break;
			case ((NU8) 28):
			{
				b = newnodep_206266(((NU8) 107), (&(*p)));
				gettok_206243(p);
			}
			break;
			default:
			{
				goto LA2;
			}
			break;
			}
			colcom_206932(p, b);
			LOC11 = 0;
			LOC11 = parsestmt_206749(p);
			addson_192819(b, LOC11);
			addson_192819(result, b);
			{
				if (!((*b).kind == ((NU8) 107))) goto LA14;
				goto LA2;
			}
			LA14: ;
		} LA3: ;
	} LA2: ;
	{
		if (!(b == NIM_NIL)) goto LA18;
		parmessage_206250((&(*p)), ((NU16) 23), ((NimStringDesc*) &TMP1281));
	}
	LA18: ;
	return result;
}

N_NIMCALL(Tnode190813*, parseexpr_206742)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	switch ((*p).tok.toktype) {
	case ((NU8) 33):
	{
		result = parseifexpr_207900(p, ((NU8) 48));
	}
	break;
	case ((NU8) 67):
	{
		result = parseifexpr_207900(p, ((NU8) 93));
	}
	break;
	case ((NU8) 11):
	{
		result = parsecase_206383(p);
	}
	break;
	case ((NU8) 62):
	{
		result = parsetry_206375(p, NIM_TRUE);
	}
	break;
	default:
	{
		result = simpleexpr_207391(p, ((NU8) 0));
	}
	break;
	}
	return result;
}

N_NIMCALL(Tnode190813*, parseiforwhen_209170)(Tparser206205* p, NU8 kind) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	{
		while (1) {
			Tnode190813* branch;
			Tnode190813* LOC3;
			Tnode190813* LOC4;
			gettok_206243(p);
			branch = newnodep_206266(((NU8) 86), (&(*p)));
			optind_206344(p, branch);
			LOC3 = 0;
			LOC3 = parseexpr_206742(p);
			addson_192819(branch, LOC3);
			colcom_206932(p, branch);
			LOC4 = 0;
			LOC4 = parsestmt_206749(p);
			addson_192819(branch, LOC4);
			skipcomment_206258(p, branch);
			addson_192819(result, branch);
			{
				NIM_BOOL LOC7;
				NIM_BOOL LOC9;
				LOC7 = 0;
				LOC7 = !(((*p).tok.toktype == ((NU8) 22)));
				if (LOC7) goto LA8;
				LOC9 = 0;
				LOC9 = ((*p).tok.indent == (*p).currind);
				if (LOC9) goto LA10;
				LOC9 = ((*p).tok.indent < ((NI) 0));
				LA10: ;
				LOC7 = !(LOC9);
				LA8: ;
				if (!LOC7) goto LA11;
				goto LA1;
			}
			LA11: ;
		}
	} LA1: ;
	{
		NIM_BOOL LOC15;
		NIM_BOOL LOC17;
		Tnode190813* branch;
		Tnode190813* LOC21;
		LOC15 = 0;
		LOC15 = ((*p).tok.toktype == ((NU8) 23));
		if (!(LOC15)) goto LA16;
		LOC17 = 0;
		LOC17 = ((*p).tok.indent == (*p).currind);
		if (LOC17) goto LA18;
		LOC17 = ((*p).tok.indent < ((NI) 0));
		LA18: ;
		LOC15 = LOC17;
		LA16: ;
		if (!LOC15) goto LA19;
		branch = newnodep_206266(((NU8) 88), (&(*p)));
		eat_206322(p, ((NU8) 23));
		colcom_206932(p, branch);
		LOC21 = 0;
		LOC21 = parsestmt_206749(p);
		addson_192819(branch, LOC21);
		addson_192819(result, branch);
	}
	LA19: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsewhile_209209)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* LOC1;
	Tnode190813* LOC2;
	result = 0;
	result = newnodep_206266(((NU8) 96), (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	LOC1 = 0;
	LOC1 = parseexpr_206742(p);
	addson_192819(result, LOC1);
	colcom_206932(p, result);
	LOC2 = 0;
	LOC2 = parsestmt_206749(p);
	addson_192819(result, LOC2);
	return result;
}

N_NIMCALL(Tnode190813*, parseexceptblock_209303)(Tparser206205* p, NU8 kind) {
	Tnode190813* result;
	Tnode190813* LOC1;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	gettok_206243(p);
	colcom_206932(p, result);
	LOC1 = 0;
	LOC1 = parsestmt_206749(p);
	addson_192819(result, LOC1);
	return result;
}

N_NIMCALL(Tnode190813*, parsefor_209315)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* a;
	Tnode190813* LOC3;
	Tnode190813* LOC4;
	result = 0;
	result = newnodep_206266(((NU8) 94), (&(*p)));
	gettoknoind_206584(p);
	a = identwithpragma_208019(p);
	addson_192819(result, a);
	{
		while (1) {
			if (!((*p).tok.toktype == ((NU8) 105))) goto LA2;
			gettok_206243(p);
			optind_206344(p, a);
			a = identwithpragma_208019(p);
			addson_192819(result, a);
		} LA2: ;
	}
	eat_206322(p, ((NU8) 35));
	LOC3 = 0;
	LOC3 = parseexpr_206742(p);
	addson_192819(result, LOC3);
	colcom_206932(p, result);
	LOC4 = 0;
	LOC4 = parsestmt_206749(p);
	addson_192819(result, LOC4);
	return result;
}

N_NIMCALL(Tnode190813*, parseblock_209343)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* LOC7;
	result = 0;
	result = newnodep_206266(((NU8) 112), (&(*p)));
	gettoknoind_206584(p);
	{
		if (!((*p).tok.toktype == ((NU8) 107))) goto LA3;
		addson_192819(result, emptynode_191807);
	}
	goto LA1;
	LA3: ;
	{
		Tnode190813* LOC6;
		LOC6 = 0;
		LOC6 = parsesymbol_206367(p, NIM_FALSE);
		addson_192819(result, LOC6);
	}
	LA1: ;
	colcom_206932(p, result);
	LOC7 = 0;
	LOC7 = parsestmt_206749(p);
	addson_192819(result, LOC7);
	return result;
}

N_NIMCALL(Tnode190813*, parsestaticordefer_209363)(Tparser206205* p, NU8 k) {
	Tnode190813* result;
	Tnode190813* LOC1;
	result = 0;
	result = newnodep_206266(k, (&(*p)));
	gettok_206243(p);
	colcom_206932(p, result);
	LOC1 = 0;
	LOC1 = parsestmt_206749(p);
	addson_192819(result, LOC1);
	return result;
}

N_NIMCALL(Tnode190813*, parseasm_209375)(Tparser206205* p) {
	Tnode190813* result;
{	result = 0;
	result = newnodep_206266(((NU8) 89), (&(*p)));
	gettoknoind_206584(p);
	{
		Tnode190813* LOC5;
		if (!((*p).tok.toktype == ((NU8) 101))) goto LA3;
		LOC5 = 0;
		LOC5 = parsepragma_207930(p);
		addson_192819(result, LOC5);
	}
	goto LA1;
	LA3: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA1: ;
	switch ((*p).tok.toktype) {
	case ((NU8) 87):
	{
		Tnode190813* LOC8;
		LOC8 = 0;
		LOC8 = newstrnodep_206289(((NU8) 20), (*p).tok.literal, (&(*p)));
		addson_192819(result, LOC8);
	}
	break;
	case ((NU8) 88):
	{
		Tnode190813* LOC10;
		LOC10 = 0;
		LOC10 = newstrnodep_206289(((NU8) 21), (*p).tok.literal, (&(*p)));
		addson_192819(result, LOC10);
	}
	break;
	case ((NU8) 89):
	{
		Tnode190813* LOC12;
		LOC12 = 0;
		LOC12 = newstrnodep_206289(((NU8) 22), (*p).tok.literal, (&(*p)));
		addson_192819(result, LOC12);
	}
	break;
	default:
	{
		parmessage_206250((&(*p)), ((NU16) 6), ((NimStringDesc*) &TMP1146));
		addson_192819(result, emptynode_191807);
		goto BeforeRet;
	}
	break;
	}
	gettok_206243(p);
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsepattern_209492)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	eat_206322(p, ((NU8) 97));
	result = parsestmt_206749(p);
	eat_206322(p, ((NU8) 98));
	return result;
}

N_NIMCALL(Tnode190813*, parsegenericparam_209395)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* a;
{	result = 0;
	a = 0;
	result = newnodep_206266(((NU8) 35), (&(*p)));
	{
		while (1) {
			switch ((*p).tok.toktype) {
			case ((NU8) 2):
			case ((NU8) 114):
			{
				a = parsesymbol_206367(p, NIM_FALSE);
				{
					if (!((*a).kind == ((NU8) 1))) goto LA6;
					goto BeforeRet;
				}
				LA6: ;
			}
			break;
			default:
			{
				goto LA1;
			}
			break;
			}
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA11;
				goto LA1;
			}
			LA11: ;
			gettok_206243(p);
			optind_206344(p, a);
		}
	} LA1: ;
	{
		Tnode190813* LOC17;
		if (!((*p).tok.toktype == ((NU8) 107))) goto LA15;
		gettok_206243(p);
		optind_206344(p, result);
		LOC17 = 0;
		LOC17 = parseexpr_206742(p);
		addson_192819(result, LOC17);
	}
	goto LA13;
	LA15: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA13: ;
	{
		Tnode190813* LOC23;
		if (!((*p).tok.toktype == ((NU8) 109))) goto LA21;
		gettok_206243(p);
		optind_206344(p, result);
		LOC23 = 0;
		LOC23 = parseexpr_206742(p);
		addson_192819(result, LOC23);
	}
	goto LA19;
	LA21: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA19: ;
	}BeforeRet: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsegenericparamlist_209451)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 75), (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	{
		while (1) {
			Tnode190813* a;
			if (!((*p).tok.toktype == ((NU8) 2) || (*p).tok.toktype == ((NU8) 114))) goto LA2;
			a = parsegenericparam_209395(p);
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105) || (*p).tok.toktype == ((NU8) 106)))) goto LA5;
				goto LA1;
			}
			LA5: ;
			gettok_206243(p);
			skipcomment_206258(p, a);
		} LA2: ;
	} LA1: ;
	optpar_206337(p);
	eat_206322(p, ((NU8) 96));
	return result;
}

N_NIMCALL(void, indandcomment_206352)(Tparser206205* p, Tnode190813* n) {
	{
		if (!((*p).currind < (*p).tok.indent)) goto LA3;
		{
			if (!((*p).tok.toktype == ((NU8) 113))) goto LA7;
			rawskipcomment_206497(p, n);
		}
		goto LA5;
		LA7: ;
		{
			parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
		}
		LA5: ;
	}
	goto LA1;
	LA3: ;
	{
		skipcomment_206258(p, n);
	}
	LA1: ;
}

N_NIMCALL(Tnode190813*, parseroutine_209514)(Tparser206205* p, NU8 kind) {
	Tnode190813* result;
	Tnode190813* LOC1;
	Tnode190813* LOC18;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	LOC1 = 0;
	LOC1 = identvis_207998(p);
	addson_192819(result, LOC1);
	{
		NIM_BOOL LOC4;
		Tnode190813* LOC8;
		LOC4 = 0;
		LOC4 = ((*p).tok.toktype == ((NU8) 97));
		if (!(LOC4)) goto LA5;
		LOC4 = validind_209503(p);
		LA5: ;
		if (!LOC4) goto LA6;
		LOC8 = 0;
		LOC8 = parsepattern_209492(p);
		addson_192819(result, LOC8);
	}
	goto LA2;
	LA6: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA2: ;
	{
		NIM_BOOL LOC12;
		Tnode190813* LOC16;
		LOC12 = 0;
		LOC12 = ((*p).tok.toktype == ((NU8) 95));
		if (!(LOC12)) goto LA13;
		LOC12 = validind_209503(p);
		LA13: ;
		if (!LOC12) goto LA14;
		LOC16 = 0;
		LOC16 = parsegenericparamlist_209451(p);
		add_191164(result, LOC16);
	}
	goto LA10;
	LA14: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA10: ;
	LOC18 = 0;
	LOC18 = parseparamlist_206771(p, NIM_TRUE);
	addson_192819(result, LOC18);
	{
		NIM_BOOL LOC21;
		Tnode190813* LOC25;
		LOC21 = 0;
		LOC21 = ((*p).tok.toktype == ((NU8) 101));
		if (!(LOC21)) goto LA22;
		LOC21 = validind_209503(p);
		LA22: ;
		if (!LOC21) goto LA23;
		LOC25 = 0;
		LOC25 = parsepragma_207930(p);
		addson_192819(result, LOC25);
	}
	goto LA19;
	LA23: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA19: ;
	addson_192819(result, emptynode_191807);
	{
		NIM_BOOL LOC29;
		Tnode190813* LOC33;
		LOC29 = 0;
		LOC29 = ((*p).tok.toktype == ((NU8) 109));
		if (!(LOC29)) goto LA30;
		LOC29 = validind_209503(p);
		LA30: ;
		if (!LOC29) goto LA31;
		gettok_206243(p);
		skipcomment_206258(p, result);
		LOC33 = 0;
		LOC33 = parsestmt_206749(p);
		addson_192819(result, LOC33);
	}
	goto LA27;
	LA31: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA27: ;
	indandcomment_206352(p, result);
	return result;
}

N_NIMCALL(Tnode190813*, parsesection_209583)(Tparser206205* p, NU8 kind, Tdefparser209576 defparser) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(kind, (&(*p)));
	{
		if (!!((kind == ((NU8) 98)))) goto LA3;
		gettok_206243(p);
	}
	LA3: ;
	skipcomment_206258(p, result);
	{
		NI oldind_209600;
		if (!((*p).currind < (*p).tok.indent)) goto LA7;
		oldind_209600 = (*p).currind;
		(*p).currind = (*p).tok.indent;
		skipcomment_206258(p, result);
		{
			while (1) {
				if (!((*p).tok.indent == (*p).currind)) goto LA10;
				switch ((*p).tok.toktype) {
				case ((NU8) 2):
				case ((NU8) 114):
				case ((NU8) 93):
				{
					Tnode190813* a;
					a = defparser(p);
					skipcomment_206258(p, a);
					addson_192819(result, a);
				}
				break;
				case ((NU8) 113):
				{
					Tnode190813* a;
					a = newcommentstmt_209563(p);
					addson_192819(result, a);
				}
				break;
				default:
				{
					parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
					goto LA9;
				}
				break;
				}
			} LA10: ;
		} LA9: ;
		(*p).currind = oldind_209600;
		{
			NI LOC16;
			LOC16 = 0;
			LOC16 = len_191097(result);
			if (!(LOC16 == ((NI) 0))) goto LA17;
			parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
		}
		LA17: ;
	}
	goto LA5;
	LA7: ;
	{
		NIM_BOOL LOC20;
		Tnode190813* LOC24;
		LOC20 = 0;
		LOC20 = ((*p).tok.toktype == ((NU8) 2) || (*p).tok.toktype == ((NU8) 114) || (*p).tok.toktype == ((NU8) 93));
		if (!(LOC20)) goto LA21;
		LOC20 = ((*p).tok.indent < ((NI) 0));
		LA21: ;
		if (!LOC20) goto LA22;
		LOC24 = 0;
		LOC24 = defparser(p);
		addson_192819(result, LOC24);
	}
	goto LA5;
	LA22: ;
	{
		parmessage_206452((&(*p)), ((NU16) 19), (&(*p).tok));
	}
	LA5: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsetypedefaux_208734)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = simpleexpr_207391(p, ((NU8) 2));
	return result;
}

N_NIMCALL(Tnode190813*, parsetypedef_209954)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* LOC1;
	result = 0;
	result = newnodep_206266(((NU8) 103), (&(*p)));
	LOC1 = 0;
	LOC1 = identwithpragma_208019(p);
	addson_192819(result, LOC1);
	{
		NIM_BOOL LOC4;
		Tnode190813* LOC8;
		LOC4 = 0;
		LOC4 = ((*p).tok.toktype == ((NU8) 95));
		if (!(LOC4)) goto LA5;
		LOC4 = validind_209503(p);
		LA5: ;
		if (!LOC4) goto LA6;
		LOC8 = 0;
		LOC8 = parsegenericparamlist_209451(p);
		addson_192819(result, LOC8);
	}
	goto LA2;
	LA6: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA2: ;
	{
		Tnode190813* LOC14;
		if (!((*p).tok.toktype == ((NU8) 109))) goto LA12;
		gettok_206243(p);
		optind_206344(p, result);
		LOC14 = 0;
		LOC14 = parsetypedefaux_208734(p);
		addson_192819(result, LOC14);
	}
	goto LA10;
	LA12: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA10: ;
	indandcomment_206352(p, result);
	return result;
}

N_NIMCALL(Tnode190813*, parseconstant_209628)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* LOC1;
	Tnode190813* LOC8;
	result = 0;
	result = newnodep_206266(((NU8) 102), (&(*p)));
	LOC1 = 0;
	LOC1 = identwithpragma_208019(p);
	addson_192819(result, LOC1);
	{
		Tnode190813* LOC6;
		if (!((*p).tok.toktype == ((NU8) 107))) goto LA4;
		gettok_206243(p);
		optind_206344(p, result);
		LOC6 = 0;
		LOC6 = parsetypedesc_206756(p);
		addson_192819(result, LOC6);
	}
	goto LA2;
	LA4: ;
	{
		addson_192819(result, emptynode_191807);
	}
	LA2: ;
	eat_206322(p, ((NU8) 109));
	optind_206344(p, result);
	LOC8 = 0;
	LOC8 = parseexpr_206742(p);
	addson_192819(result, LOC8);
	indandcomment_206352(p, result);
	return result;
}

N_NIMCALL(Tnode190813*, parsevartuple_209983)(Tparser206205* p) {
	Tnode190813* result;
	Tnode190813* LOC7;
	result = 0;
	result = newnodep_206266(((NU8) 36), (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	{
		while (1) {
			Tnode190813* a;
			if (!((*p).tok.toktype == ((NU8) 2) || (*p).tok.toktype == ((NU8) 114))) goto LA2;
			a = identwithpragma_208019(p);
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA5;
				goto LA1;
			}
			LA5: ;
			gettok_206243(p);
			skipcomment_206258(p, a);
		} LA2: ;
	} LA1: ;
	addson_192819(result, emptynode_191807);
	optpar_206337(p);
	eat_206322(p, ((NU8) 94));
	eat_206322(p, ((NU8) 109));
	optind_206344(p, result);
	LOC7 = 0;
	LOC7 = parseexpr_206742(p);
	addson_192819(result, LOC7);
	return result;
}

N_NIMCALL(Tnode190813*, parsevariable_210022)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	{
		if (!((*p).tok.toktype == ((NU8) 93))) goto LA3;
		result = parsevartuple_209983(p);
	}
	goto LA1;
	LA3: ;
	{
		result = parseidentcolonequals_208049(p, 1);
	}
	LA1: ;
	indandcomment_206352(p, result);
	return result;
}

N_NIMCALL(Tnode190813*, qualifiedident_207148)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = parsesymbol_206367(p, NIM_FALSE);
	{
		if (!((*p).tok.toktype == ((NU8) 110))) goto LA3;
		result = dotexpr_207135(p, result);
	}
	LA3: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsebind_210043)(Tparser206205* p, NU8 k) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(k, (&(*p)));
	gettok_206243(p);
	optind_206344(p, result);
	{
		while (1) {
			Tnode190813* a;
			a = qualifiedident_207148(p);
			addson_192819(result, a);
			{
				if (!!(((*p).tok.toktype == ((NU8) 105)))) goto LA5;
				goto LA1;
			}
			LA5: ;
			gettok_206243(p);
			optind_206344(p, a);
		}
	} LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, complexorsimplestmt_207384)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	switch ((*p).tok.toktype) {
	case ((NU8) 33):
	{
		result = parseiforwhen_209170(p, ((NU8) 92));
	}
	break;
	case ((NU8) 68):
	{
		result = parsewhile_209209(p);
	}
	break;
	case ((NU8) 11):
	{
		result = parsecase_206383(p);
	}
	break;
	case ((NU8) 62):
	{
		result = parsetry_206375(p, NIM_FALSE);
	}
	break;
	case ((NU8) 28):
	{
		result = parseexceptblock_209303(p, ((NU8) 107));
	}
	break;
	case ((NU8) 26):
	{
		result = parseexceptblock_209303(p, ((NU8) 87));
	}
	break;
	case ((NU8) 29):
	{
		result = parsefor_209315(p);
	}
	break;
	case ((NU8) 9):
	{
		result = parseblock_209343(p);
	}
	break;
	case ((NU8) 60):
	{
		result = parsestaticordefer_209363(p, ((NU8) 113));
	}
	break;
	case ((NU8) 17):
	{
		result = parsestaticordefer_209363(p, ((NU8) 105));
	}
	break;
	case ((NU8) 6):
	{
		result = parseasm_209375(p);
	}
	break;
	case ((NU8) 53):
	{
		result = parseroutine_209514(p, ((NU8) 79));
	}
	break;
	case ((NU8) 43):
	{
		result = parseroutine_209514(p, ((NU8) 80));
	}
	break;
	case ((NU8) 40):
	{
		result = parseroutine_209514(p, ((NU8) 84));
	}
	break;
	case ((NU8) 42):
	{
		result = parseroutine_209514(p, ((NU8) 82));
	}
	break;
	case ((NU8) 61):
	{
		result = parseroutine_209514(p, ((NU8) 83));
	}
	break;
	case ((NU8) 16):
	{
		result = parseroutine_209514(p, ((NU8) 81));
	}
	break;
	case ((NU8) 64):
	{
		gettok_206243(p);
		{
			Tnode190813* LOC23;
			if (!((*p).tok.toktype == ((NU8) 93))) goto LA21;
			gettok_206243(p);
			result = newnodep_206266(((NU8) 132), (&(*p)));
			LOC23 = 0;
			LOC23 = primary_207814(p, ((NU8) 1));
			addson_192819(result, LOC23);
			eat_206322(p, ((NU8) 94));
			result = parseoperators_207831(p, result, ((NI) -1), ((NU8) 0));
		}
		goto LA19;
		LA21: ;
		{
			result = parsesection_209583(p, ((NU8) 98), parsetypedef_209954);
		}
		LA19: ;
	}
	break;
	case ((NU8) 14):
	{
		result = parsesection_209583(p, ((NU8) 101), parseconstant_209628);
	}
	break;
	case ((NU8) 41):
	{
		result = parsesection_209583(p, ((NU8) 100), parsevariable_210022);
	}
	break;
	case ((NU8) 67):
	{
		result = parseiforwhen_209170(p, ((NU8) 93));
	}
	break;
	case ((NU8) 66):
	{
		result = parsesection_209583(p, ((NU8) 99), parsevariable_210022);
	}
	break;
	case ((NU8) 8):
	{
		result = parsebind_210043(p, ((NU8) 122));
	}
	break;
	case ((NU8) 44):
	{
		result = parsebind_210043(p, ((NU8) 123));
	}
	break;
	case ((NU8) 65):
	{
		result = parsebind_210043(p, ((NU8) 124));
	}
	break;
	default:
	{
		result = simplestmt_210095(p);
	}
	break;
	}
	return result;
}

N_NIMCALL(Tnode190813*, parseall_206216)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = newnodep_206266(((NU8) 115), (&(*p)));
	{
		while (1) {
			Tnode190813* a;
			if (!!(((*p).tok.toktype == ((NU8) 1)))) goto LA2;
			a = complexorsimplestmt_207384(p);
			{
				if (!!(((*a).kind == ((NU8) 1)))) goto LA5;
				addson_192819(result, a);
			}
			goto LA3;
			LA5: ;
			{
				parmessage_206452((&(*p)), ((NU16) 60), (&(*p).tok));
				gettok_206243(p);
			}
			LA3: ;
			{
				if (!!(((*p).tok.indent == ((NI) 0)))) goto LA10;
				parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
			}
			LA10: ;
		} LA2: ;
	}
	return result;
}

N_NIMCALL(void, closeparser_206223)(Tparser206205* p) {
	closelexer_181424((&(*p).lex));
}

N_NIMCALL(Tnode190813*, parsetoplevelstmt_206230)(Tparser206205* p) {
	Tnode190813* result;
	result = 0;
	result = emptynode_191807;
	{
		while (1) {
			{
				if (!!(((*p).tok.indent == ((NI) 0)))) goto LA5;
				{
					NIM_BOOL LOC9;
					LOC9 = 0;
					LOC9 = (*p).firsttok;
					if (!(LOC9)) goto LA10;
					LOC9 = ((*p).tok.indent < ((NI) 0));
					LA10: ;
					if (!LOC9) goto LA11;
				}
				goto LA7;
				LA11: ;
				{
					if (!!(((*p).tok.toktype == ((NU8) 106)))) goto LA14;
					parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
				}
				goto LA7;
				LA14: ;
				LA7: ;
			}
			LA5: ;
			(*p).firsttok = NIM_FALSE;
			switch ((*p).tok.toktype) {
			case ((NU8) 106):
			{
				gettok_206243(p);
				{
					if (!((*p).tok.indent <= ((NI) 0))) goto LA19;
				}
				goto LA17;
				LA19: ;
				{
					parmessage_206250((&(*p)), ((NU16) 33), ((NimStringDesc*) &TMP1146));
				}
				LA17: ;
				(*p).firsttok = NIM_TRUE;
			}
			break;
			case ((NU8) 1):
			{
				goto LA1;
			}
			break;
			default:
			{
				result = complexorsimplestmt_207384(p);
				{
					if (!((*result).kind == ((NU8) 1))) goto LA26;
					parmessage_206452((&(*p)), ((NU16) 60), (&(*p).tok));
				}
				LA26: ;
				goto LA1;
			}
			break;
			}
		}
	} LA1: ;
	return result;
}

N_NIMCALL(Tnode190813*, parsestring_210306)(NimStringDesc* s, NimStringDesc* filename, NI line, Terrorhandler181183 errorhandler) {
	Tnode190813* result;
	Tllstream178204* stream;
	Tparser206205 parser;
	result = 0;
	stream = llstreamopen_178220(s);
	(*stream).lineoffset = line;
	memset((void*)(&parser), 0, sizeof(parser));
	objectInit((&parser), (&NTI206205));
	parser.lex.errorhandler.ClEnv = errorhandler.ClEnv;
	parser.lex.errorhandler.ClPrc = errorhandler.ClPrc;
	openparser_206417((&parser), filename, stream, NIM_FALSE);
	result = parseall_206216((&parser));
	closeparser_206223((&parser));
	return result;
}
NIM_EXTERNC N_NOINLINE(void, nimsrc_parserInit)(void) {
}

NIM_EXTERNC N_NOINLINE(void, nimsrc_parserDatInit)(void) {
static TNimNode* TMP1090[7];
static TNimNode TMP799[8];
NTI206205.size = sizeof(Tparser206205);
NTI206205.kind = 18;
NTI206205.base = 0;
TMP1090[0] = &TMP799[1];
TMP799[1].kind = 1;
TMP799[1].offset = offsetof(Tparser206205, currind);
TMP799[1].typ = (&NTI108);
TMP799[1].name = "currInd";
TMP1090[1] = &TMP799[2];
TMP799[2].kind = 1;
TMP799[2].offset = offsetof(Tparser206205, firsttok);
TMP799[2].typ = (&NTI138);
TMP799[2].name = "firstTok";
TMP1090[2] = &TMP799[3];
TMP799[3].kind = 1;
TMP799[3].offset = offsetof(Tparser206205, strongspaces);
TMP799[3].typ = (&NTI138);
TMP799[3].name = "strongSpaces";
TMP1090[3] = &TMP799[4];
TMP799[4].kind = 1;
TMP799[4].offset = offsetof(Tparser206205, lex);
TMP799[4].typ = (&NTI181185);
TMP799[4].name = "lex";
TMP1090[4] = &TMP799[5];
TMP799[5].kind = 1;
TMP799[5].offset = offsetof(Tparser206205, tok);
TMP799[5].typ = (&NTI181181);
TMP799[5].name = "tok";
TMP1090[5] = &TMP799[6];
TMP799[6].kind = 1;
TMP799[6].offset = offsetof(Tparser206205, inpragma);
TMP799[6].typ = (&NTI108);
TMP799[6].name = "inPragma";
TMP1090[6] = &TMP799[7];
TMP799[7].kind = 1;
TMP799[7].offset = offsetof(Tparser206205, insemistmtlist);
TMP799[7].typ = (&NTI108);
TMP799[7].name = "inSemiStmtList";
TMP799[0].len = 7; TMP799[0].kind = 2; TMP799[0].sons = &TMP1090[0];
NTI206205.node = &TMP799[0];
}

