mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-15 17:35:45 +00:00
5310 lines
348 KiB
C
5310 lines
348 KiB
C
/* Generated by Nim Compiler v1.2.6 */
|
|
/* (c) 2020 Andreas Rumpf */
|
|
/* The generated code is subject to the original license. */
|
|
/* Compiled for: Linux, amd64, gcc */
|
|
/* Command for C compiler:
|
|
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/v1/node -o nimcache/release/start_network/@m..@s..@s..@svendor@snim-confutils@sconfutils.nim.c.o nimcache/release/start_network/@m..@s..@s..@svendor@snim-confutils@sconfutils.nim.c */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#include <string.h>
|
|
#include <sys/types.h>
|
|
#include <pthread.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <setjmp.h>
|
|
#undef LANGUAGE_C
|
|
#undef MIPSEB
|
|
#undef MIPSEL
|
|
#undef PPC
|
|
#undef R3000
|
|
#undef R4000
|
|
#undef i386
|
|
#undef linux
|
|
#undef mips
|
|
#undef near
|
|
#undef far
|
|
#undef powerpc
|
|
#undef unix
|
|
#define nimfr_(x, y)
|
|
#define nimln_(x, y)
|
|
typedef struct tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA;
|
|
typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
typedef struct tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A;
|
|
typedef struct RootObj RootObj;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef struct tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg;
|
|
typedef struct tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A;
|
|
typedef struct tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA;
|
|
typedef struct tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw;
|
|
typedef struct tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA;
|
|
typedef struct tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA;
|
|
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
|
|
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
|
|
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
|
|
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
|
|
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
|
|
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
|
|
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
|
|
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
|
|
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
|
|
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
|
|
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
|
|
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
|
|
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
|
|
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
|
|
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
|
|
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
|
|
typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw;
|
|
typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg;
|
|
typedef struct tyTuple__Zh5FVh6fsI3mU9aZaTagf2A tyTuple__Zh5FVh6fsI3mU9aZaTagf2A;
|
|
typedef struct tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg;
|
|
typedef struct tySequence__iU42g6hoJmYMsd12KeuYtQ tySequence__iU42g6hoJmYMsd12KeuYtQ;
|
|
typedef struct tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ;
|
|
typedef struct tySequence__ko9cxbrFH52ahk32IABzgRg tySequence__ko9cxbrFH52ahk32IABzgRg;
|
|
typedef struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw;
|
|
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
|
|
typedef struct Exception Exception;
|
|
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
|
|
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
|
|
typedef struct tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw;
|
|
typedef struct tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw;
|
|
typedef struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg tyTuple__7q7q3E6Oj24ZNVJb9aonhAg;
|
|
typedef struct TSafePoint TSafePoint;
|
|
typedef struct tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg;
|
|
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
|
|
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
|
|
typedef NU8 tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA;
|
|
struct tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA {tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA topology;
|
|
NI amount;
|
|
NI testNodePeers;
|
|
};
|
|
struct TGenericSeq {NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
|
|
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
|
|
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
|
|
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
|
|
struct TNimType {NI size;
|
|
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
|
|
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
|
|
TNimType* base;
|
|
TNimNode* node;
|
|
void* finalizer;
|
|
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
|
|
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
|
|
NCSTRING name;
|
|
TNimType* nextType;
|
|
NI instances;
|
|
NI sizes;
|
|
};
|
|
struct RootObj {TNimType* m_type;};
|
|
typedef NI tyArray__Bd4h7Ocx9bGTvrKzPIWNlHw[3];
|
|
typedef N_NIMCALL_PTR(void, tyProc__jWqh43YZLw4m72c2hic30g) (tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* config, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A valX60gensym37450272_);
|
|
typedef N_NIMCALL_PTR(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, tyProc__qtUkKthj1Q7URYIH6fWLsQ) (NimStringDesc* valX60gensym37450271_);
|
|
struct tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg {
|
|
NimStringDesc* Field0;
|
|
tyProc__jWqh43YZLw4m72c2hic30g Field1;
|
|
tyProc__qtUkKthj1Q7URYIH6fWLsQ Field2;
|
|
NIM_BOOL Field3;
|
|
NIM_BOOL Field4;
|
|
};
|
|
typedef tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg tyArray__29bZ8dG03OxJ5SCZkXEfkHA[3];
|
|
struct tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA {tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA val;
|
|
NIM_BOOL has;
|
|
};
|
|
struct tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA {NI val;
|
|
NIM_BOOL has;
|
|
};
|
|
struct tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw {tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA topology;
|
|
tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA amount;
|
|
tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA testNodePeers;
|
|
};
|
|
typedef tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw tyArray__EKDTNLfabjNcFFv5yO7Btw[1];
|
|
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__IFZN9aAHMDInQPGutw6i79cA) (tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* sX60gensym37470343_, tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA cfX60gensym37470344_);
|
|
typedef tyProc__IFZN9aAHMDInQPGutw6i79cA tyArray__OKy9aY8PXVmgN5uiYZlO7Kw[3];
|
|
struct tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA {tyArray__EKDTNLfabjNcFFv5yO7Btw data;
|
|
tyArray__OKy9aY8PXVmgN5uiYZlO7Kw setters;
|
|
};
|
|
struct tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A { RootObj Sup;NI colonstate_;
|
|
NimStringDesc* copyrightBanner1;
|
|
tyArray__Bd4h7Ocx9bGTvrKzPIWNlHw fieldCounters2;
|
|
tyArray__29bZ8dG03OxJ5SCZkXEfkHA fieldSetters3;
|
|
NIM_BOOL quitOnFailure4;
|
|
tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA configFile5;
|
|
};
|
|
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
|
|
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
|
|
NI offset;
|
|
TNimType* typ;
|
|
NCSTRING name;
|
|
NI len;
|
|
TNimNode** sons;
|
|
};
|
|
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount;
|
|
TNimType* typ;
|
|
};
|
|
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom;
|
|
};
|
|
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len;
|
|
NI cap;
|
|
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
|
|
};
|
|
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
|
|
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
|
|
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
|
|
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
|
|
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
|
|
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
|
|
};
|
|
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
|
|
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link;
|
|
NI key;
|
|
NI upperBound;
|
|
NI level;
|
|
};
|
|
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
|
|
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
|
|
NI Field1;
|
|
};
|
|
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
|
|
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len;
|
|
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
|
|
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
|
|
};
|
|
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj;
|
|
NI maxLargeObj;
|
|
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
|
|
NU32 flBitmap;
|
|
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
|
|
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
|
|
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
|
|
NI currMem;
|
|
NI maxMem;
|
|
NI freeMem;
|
|
NI occ;
|
|
NI lastSize;
|
|
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
|
|
NIM_BOOL locked;
|
|
NIM_BOOL blockChunkSizeIncrease;
|
|
NI nextChunkSize;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
|
|
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
|
|
NI allocCounter;
|
|
NI deallocCounter;
|
|
};
|
|
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans;
|
|
NI cycleCollections;
|
|
NI maxThreshold;
|
|
NI maxStackSize;
|
|
NI maxStackCells;
|
|
NI cycleTableSize;
|
|
NI64 maxPause;
|
|
};
|
|
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter;
|
|
NI max;
|
|
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
|
|
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
|
|
};
|
|
typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5];
|
|
struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head;
|
|
tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail;
|
|
pthread_mutex_t lock;
|
|
};
|
|
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
|
|
NI cycleThreshold;
|
|
NI zctThreshold;
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
|
|
NI recGcLock;
|
|
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
|
|
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
|
|
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
|
|
tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose;
|
|
NI gcThreadId;
|
|
};
|
|
struct tyTuple__Zh5FVh6fsI3mU9aZaTagf2A {
|
|
tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* Field0;
|
|
tyArray__29bZ8dG03OxJ5SCZkXEfkHA Field1;
|
|
};
|
|
struct tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg {NimStringDesc* name;
|
|
NimStringDesc* desc;
|
|
NIM_BOOL isHidden;
|
|
tySequence__iU42g6hoJmYMsd12KeuYtQ* opts;
|
|
};
|
|
typedef NU8 tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg;
|
|
struct tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ {NimStringDesc* name;
|
|
NimStringDesc* abbr;
|
|
NimStringDesc* desc;
|
|
NimStringDesc* typename_0;
|
|
NI idx;
|
|
NIM_BOOL hasDefault;
|
|
NIM_BOOL isHidden;
|
|
tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg kind;
|
|
union{
|
|
struct {NIM_BOOL isCommand;
|
|
NIM_BOOL isImplicitlySelectable;
|
|
tySequence__ko9cxbrFH52ahk32IABzgRg* subCmds;
|
|
NI defaultSubCmd;
|
|
} _kind_1;
|
|
};
|
|
};
|
|
struct tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A {NimStringDesc* val;
|
|
NIM_BOOL has;
|
|
};
|
|
struct Exception { RootObj Sup;Exception* parent;
|
|
NCSTRING name;
|
|
NimStringDesc* message;
|
|
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
|
|
Exception* up;
|
|
};
|
|
struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA { Exception Sup;};
|
|
struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;};
|
|
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a;
|
|
NI b;
|
|
};
|
|
typedef NU8 tySet_tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA;
|
|
typedef NU8 tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA;
|
|
typedef NimStringDesc* tyArray__24KAM9afIUgUaqBaEBB6r9bg[3];
|
|
typedef NimStringDesc* tyArray__nHXaesL0DJZHyVS07ARPRA[1];
|
|
typedef NU8 tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA;
|
|
typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
|
|
struct tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw { RootObj Sup;NI pos;
|
|
NIM_BOOL inShortState;
|
|
NIM_BOOL allowWhitespaceAfterColon;
|
|
tySet_tyChar__nmiMWKVIe46vacnhAFrQvw shortNoVal;
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* longNoVal;
|
|
tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cmds;
|
|
NI idx;
|
|
tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA kind;
|
|
NimStringDesc* key;
|
|
NimStringDesc* val;
|
|
};
|
|
struct tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw {NimStringDesc* appInvocation;
|
|
NimStringDesc* copyrightBanner;
|
|
NIM_BOOL hasAbbrs;
|
|
NI maxNameLen;
|
|
NI terminalWidth;
|
|
NI namesWidth;
|
|
};
|
|
typedef NU8 tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg;
|
|
typedef NU16 tySet_tyEnum_Style__NXKayqTLMsAibFwNceBlpA;
|
|
typedef NU8 tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww;
|
|
struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg {
|
|
NimStringDesc* Field0;
|
|
NimStringDesc* Field1;
|
|
NimStringDesc* Field2;
|
|
};
|
|
typedef struct {
|
|
N_NIMCALL_PTR(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*, ClP_0) (void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__cs9caE9aIQ9cAYzTFq4zqeG1g;
|
|
typedef N_CLOSURE_PTR(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*, TM__9bPZS8ds69cDDm8QtLGuVTHw_108) (void);
|
|
typedef long tyArray__TcvIiMAJvcwzNLsZkfnFnQ[25];
|
|
struct TSafePoint {TSafePoint* prev;
|
|
NI status;
|
|
jmp_buf context;
|
|
};
|
|
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
|
|
struct tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
|
|
typedef N_CLOSURE_PTR(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*, TM__9bPZS8ds69cDDm8QtLGuVTHw_120) (void);
|
|
typedef struct {
|
|
N_NIMCALL_PTR(void, ClP_0) (tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* conf, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, void* ClE_0);
|
|
void* ClE_0;
|
|
} tyProc__n9c8p5o7egoeO5V6iAEG9cPw;
|
|
typedef N_CLOSURE_PTR(void, TM__9bPZS8ds69cDDm8QtLGuVTHw_133) (tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* conf, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd);
|
|
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
|
|
NI line;
|
|
NCSTRING filename;
|
|
};
|
|
struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ { TGenericSeq Sup; NimStringDesc* data[SEQ_DECL_SIZE];};struct tySequence__ko9cxbrFH52ahk32IABzgRg { TGenericSeq Sup; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* data[SEQ_DECL_SIZE];};struct tySequence__iU42g6hoJmYMsd12KeuYtQ { TGenericSeq Sup; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* data[SEQ_DECL_SIZE];};struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
|
|
static N_NIMCALL(void, Marker_tyRef__cdxOIR9bDQ70vEw9az6WJodQ)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
|
|
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
|
|
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
|
|
N_LIB_PRIVATE N_NIMCALL(void, appendConfigFileFormats__5SBe0I4ztYyDrn0ctWOO3g)(void);
|
|
static N_NIMCALL(void, Marker_tySequence__ko9cxbrFH52ahk32IABzgRg)(void* p, NI op);
|
|
static N_NIMCALL(void, Marker_tyRef__fFbH9acUqQ9cpmgG4EsVlJow)(void* p, NI op);
|
|
static N_NIMCALL(void, Marker_tySequence__iU42g6hoJmYMsd12KeuYtQ)(void* p, NI op);
|
|
static N_NIMCALL(void, Marker_tyRef__6TS6DQKShZRw32kbyabYRw)(void* p, NI op);
|
|
static N_INLINE(void, asgnRef)(void** dest, void* src);
|
|
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newSeqRC1)(TNimType* typ, NI len_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
|
|
N_LIB_PRIVATE N_NIMCALL(void, topologySetter__NcmUNGT7jj2uEdeOGqUSaw)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* config, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A valX60gensym37450272_);
|
|
static N_INLINE(NIM_BOOL, isSome__SBpZC5L2ngoUiy0hnfoIYQoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self);
|
|
N_LIB_PRIVATE N_NIMCALL(tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA, parseEnum__HceO4aixBclJvNGgxAKXwA)(NimStringDesc* s);
|
|
static N_INLINE(NimStringDesc*, get__MwtcpGbpnX9bvK9by7COEbNwoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self);
|
|
static N_INLINE(NIM_BOOL, isNone__SBpZC5L2ngoUiy0hnfoIYQ_2options)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self);
|
|
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, topologyComplete__XTFhPGJFE71zH5PxYXfsPA)(NimStringDesc* valX60gensym37450271_);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, completeCmdArgAux__Y9bIdqCsx9aWLg0c9byWdoGyg)(NimStringDesc* val_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, completeCmdArg__Y9bIdqCsx9aWLg0c9byWdoGyg_2)(NimStringDesc* val_0);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e_0, TNimType* typ);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, startsWithIgnoreStyle__VRh9cQuvpYwDB9c554kkcccw)(NimStringDesc* s, NimStringDesc* prefix);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_CHAR, nsuToLowerAsciiChar)(NIM_CHAR c);
|
|
N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, requiresInput__3CWh9b9bO8grbQuWplgh4pJQ)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, acceptsMultipleValues__3CWh9b9bO8grbQuWplgh4pJQ_2)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, amountSetter__cAIx6nfDz9ae5kXhsWLW65g)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* config, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A valX60gensym37450274_);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, parseCmdArgAux__vKLLu9bdF9c856Fml6RxUbww)(NimStringDesc* s);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, parseCmdArg__vKLLu9bdF9c856Fml6RxUbww_2)(NimStringDesc* s);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nsuParseInt)(NimStringDesc* s);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, amountComplete__9a7mI2izoPQ0SX9a0OYwINfQ)(NimStringDesc* valX60gensym37450273_);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, completeCmdArgAux__9bexaNkG9bEPJhjndrYhsRJA)(NimStringDesc* val_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, completeCmdArg__9bexaNkG9bEPJhjndrYhsRJA_2)(NimStringDesc* val_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, requiresInput__hPUUqQSW7QSUVpQRIGlrhQ)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, acceptsMultipleValues__hPUUqQSW7QSUVpQRIGlrhQ_2)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, testNodePeersSetter__jmbNOGQwKSMtbnx0pJ9cC3Q)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* config, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A valX60gensym37450276_);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, testNodePeersComplete__HzLRgUwd6RQO6BPFw8PN9cw)(NimStringDesc* valX60gensym37450275_);
|
|
N_LIB_PRIVATE N_NIMCALL(void, genericAssign)(void* dest_0, void* src, TNimType* mt);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA, load__sxErOmoo9craVD1nxNgYPag)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, topologyCFSetter__9aRvgsMfjl7xA75aJ9aw3WlA)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* sX60gensym37470334_, tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA cfX60gensym37470335_);
|
|
static N_INLINE(NIM_BOOL, isSome__ZNGps7LoNeM9bg6UudQI9c4goptions)(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA self);
|
|
static N_INLINE(tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA, get__6QYMXED9cGKE39aaexajgFBwoptions)(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA self);
|
|
static N_INLINE(NIM_BOOL, isNone__ZNGps7LoNeM9bg6UudQI9c4g_2options)(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA self);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, amountCFSetter__CyJ6LQetxVZ6Q9bof05DVag)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* sX60gensym37470337_, tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA cfX60gensym37470338_);
|
|
static N_INLINE(NIM_BOOL, isSome__7pvN3mkdmg4OQ2gDC9bkRTwoptions)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self);
|
|
static N_INLINE(NI, get__1Erv8xPIqYVM0C9cVJj63rwoptions)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self);
|
|
static N_INLINE(NIM_BOOL, isNone__7pvN3mkdmg4OQ2gDC9bkRTw_2options)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, testNodePeersCFSetter__NCZ774oPjPgeb5QCB80pzw)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* sX60gensym37470340_, tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA cfX60gensym37470341_);
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newSeq)(TNimType* typ, NI len);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, getNextArgIdx__SvGxRxElX54hx27hqM0kXQ)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NI consumedArgIdx);
|
|
static N_INLINE(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**, X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** s, NI sLen_0, NI i);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, splitCompletionLine__aPGFUMgkFd0kCjcLUuEb4w)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, X5BX5D___dxs1m8X8HLcMK21WAkRfcw)(NimStringDesc** s, NI sLen_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA x_0);
|
|
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem)(NI a, NI b);
|
|
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
|
|
static N_INLINE(NIM_BOOL, startsWith__pzWhhH9b6ehBmuu1oOe9cBuQstrutils)(NimStringDesc* s, NIM_CHAR prefix);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*, findSubCmd__nf6l8SxHMidtlJ5o7ngTvw)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NimStringDesc* name_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*, getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*, findCmd__0C9bD9c7Xo9bK4Yg7dbqbpNag)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** cmds, NI cmdsLen_0, NimStringDesc* name_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nsuCmpIgnoreStyle)(NimStringDesc* a, NimStringDesc* b);
|
|
N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A)(NimStringDesc* msg);
|
|
static N_INLINE(NimStringDesc*, X5BX5D___j0Z1d16G1eC5eFkDa00ZFwsystem)(NimStringDesc** s, NI sLen_0, NI i);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nsuStartsWith)(NimStringDesc* s, NimStringDesc* prefix);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nsuRemovePrefixChar)(NimStringDesc** s, NIM_CHAR c);
|
|
N_LIB_PRIVATE N_NIMCALL(void, showMatchingOptions__IFFg9aRIFt3czvLCp1rlIvw)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NimStringDesc* prefix, tySet_tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA filterKind);
|
|
N_LIB_PRIVATE N_NIMCALL(void, genericSeqAssign)(void* dest_0, void* src, TNimType* mt);
|
|
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
|
|
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size);
|
|
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
|
|
static N_INLINE(void, writeLine__45Em82MGXqv9biomV0DEbSgio)(FILE* f, NimStringDesc** x_0, NI x_0Len_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, write__PArlm09bKklm2BLsCg6YtaA)(FILE* f, NimStringDesc* s);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*, findOpt__KaO4sqyUPqW3CER2fbIhCA)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** activeCmds, NI activeCmdsLen_0, NimStringDesc* name_0);
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*, findOpt__bBkDft6CL0vzfMlc7vSUQw)(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ** opts, NI optsLen_0, NimStringDesc* name_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, flushFile__fU6ZlJAtQ9bre04EDZLdGsA_2)(FILE* f);
|
|
N_LIB_PRIVATE N_NIMCALL(void, initOptParser__I9airQRe9azp3bExyjWqjJXw)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cmds, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw shortNoVal, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* longNoVal, NIM_BOOL allowWhitespaceAfterColon, tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, next__bhBX9cyTjmG5x9acqxvtK9cxQ)(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw* p_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, showHelp__FhEhQ2fXISR3PysDDadMqA)(NimStringDesc** help, tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* appInfo, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** activeCmds, NI activeCmdsLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, resetAttributes__6J8xlU57R8cS9bLzTS89aM5g)(FILE* f);
|
|
static N_INLINE(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*, X5BX5D___HbndVVoautY9atM2E7BfDogsystem)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** s, NI sLen_0, NI i);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, maxNameLen__6J5rosntexlE0qjDswo4VA)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasAbbrs__1EMfvmi9c8lQ79bCfRp8uF7A)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, terminalWidth__s9bdJLFVciGfQ0i2sQaMF1g)(void);
|
|
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
|
|
N_LIB_PRIVATE N_NIMCALL(void, setForegroundColor__vJutklhcnQq9akCXxcuSHAg)(FILE* f, tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg fg, NIM_BOOL bright);
|
|
N_LIB_PRIVATE N_NIMCALL(void, describeInvocation__2TlHA3JaAXtInZfAEpuJqg)(NimStringDesc** help, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NimStringDesc* cmdInvocation, tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* appInfo);
|
|
N_LIB_PRIVATE N_NIMCALL(void, setStyle__y8lW2LrW2n5ZHaxH9bAf4WA)(FILE* f, tySet_tyEnum_Style__NXKayqTLMsAibFwNceBlpA style);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasOpts__1EMfvmi9c8lQ79bCfRp8uF7A_2)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isCliSwitch__VEzHNNkiXs7FjBXofOs9cAw)(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasArgs__1EMfvmi9c8lQ79bCfRp8uF7A_3)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd);
|
|
static N_INLINE(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ**, X5BX5D___zRM5dMyeglSZC7Q5ZQpK6Qsystem)(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ** s, NI sLen_0, NI i);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, firstArgIdx__6J5rosntexlE0qjDswo4VA_2)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, humaneName__cUBD2xSovLSX9bSDweJsZOg)(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
|
|
static N_INLINE(NimStringDesc*, spaces__rssDy7zs9cDeoYTeCoIy0Wgstrutils)(NI n_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuRepeatChar)(NIM_CHAR c, NI count_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, writeDesc__StjU5vYwOmXMx1Zc9aCFqpQ)(NimStringDesc** help, tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* appInfo, NimStringDesc* desc_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, wrapWords__T8gYSir9ao1V9bYDExwUzAPg)(NimStringDesc* s, NI maxLineWidth, NIM_BOOL splitLongWords, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw seps, NimStringDesc* newLine);
|
|
N_LIB_PRIVATE N_NIMCALL(void, describeOptions__c37SkDol5yqNCDtlLSFI1A)(NimStringDesc** help, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NimStringDesc* cmdInvocation, tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* appInfo, tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww optionsType);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuReplaceStr)(NimStringDesc* s, NimStringDesc* sub, NimStringDesc* by);
|
|
N_LIB_PRIVATE N_CLOSURE(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*, lazyHelpAppInfo__LQeQV1hZ5ot9a9btNTBBCt2Q)(void* ClE_0);
|
|
static N_NIMCALL(void, Marker_tyRef__QtCxK3OkpAyy8Hko1P0lMw)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nossplitFile)(NimStringDesc* path, tyTuple__7q7q3E6Oj24ZNVJb9aonhAg* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetAppFilename)(void);
|
|
static N_INLINE(void, pushSafePoint)(TSafePoint* s);
|
|
static N_INLINE(void, some__sgddJT1RdlkGeWdlq9cgU0Aoptions)(NimStringDesc* val_0, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result);
|
|
N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
|
|
static N_INLINE(void, popSafePoint)(void);
|
|
static N_INLINE(NimStringDesc*, getCurrentExceptionMsg__jLt3ACHcgYt9bbV4Vf9a5mgwsystem)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatSingleElem)(NimStringDesc* formatstr, NimStringDesc* a);
|
|
static N_INLINE(void, popCurrentException)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, reraiseException)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, noMoreArgsError__9bQXNBN49b7LVtjI9bNM17nZw)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd);
|
|
N_LIB_PRIVATE N_CLOSURE(void, processMissingOpts__9aIZLFGqaA6gzmcHSXeUWlw)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* conf, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, void* ClE_0);
|
|
static N_INLINE(void, none__tDzNOHmZeOXSXxERuUcd8Qoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result);
|
|
static N_INLINE(void, none__buJJ9ajp0wuYthKYXnCpQagoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result);
|
|
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
|
|
N_LIB_PRIVATE TNimType NTI__bu2hgFsJD7ZDOn63GIXo2A_;
|
|
extern TNimType NTI__xHTZrq9aYs6boc9bCba0JbpQ_;
|
|
extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_;
|
|
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
|
|
N_LIB_PRIVATE TNimType NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_;
|
|
N_LIB_PRIVATE TNimType NTI__cLWPuWN9cMLmPdNMr1Mn9byg_;
|
|
N_LIB_PRIVATE TNimType NTI__jWqh43YZLw4m72c2hic30g_;
|
|
N_LIB_PRIVATE TNimType NTI__qtUkKthj1Q7URYIH6fWLsQ_;
|
|
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
|
|
N_LIB_PRIVATE TNimType NTI__29bZ8dG03OxJ5SCZkXEfkHA_;
|
|
N_LIB_PRIVATE TNimType NTI__8pwOc3iOBiSKNylcvtV9bVA_;
|
|
N_LIB_PRIVATE TNimType NTI__7FJk9bgKwkXl7CNFBhU3Bxw_;
|
|
extern TNimType NTI__sAFfMsGk5NM3HtKDuuYPHA_;
|
|
extern TNimType NTI__Ryv9bNNePiiahF9b3Btk2KGA_;
|
|
N_LIB_PRIVATE TNimType NTI__EKDTNLfabjNcFFv5yO7Btw_;
|
|
N_LIB_PRIVATE TNimType NTI__IFZN9aAHMDInQPGutw6i79cA_;
|
|
N_LIB_PRIVATE TNimType NTI__OKy9aY8PXVmgN5uiYZlO7Kw_;
|
|
N_LIB_PRIVATE TNimType NTI__cdxOIR9bDQ70vEw9az6WJodQ_;
|
|
N_LIB_PRIVATE TNimType NTI__juon7p0QxLd386KmW9cv0yg_;
|
|
N_LIB_PRIVATE TNimType NTI__xxMz4AWJthCz6HckagPQwQ_;
|
|
N_LIB_PRIVATE TNimType NTI__JhwU2aE0UGJ4ZHhwsTNDwg_;
|
|
TNimNode* NimDT___xxMz4AWJthCz6HckagPQwQ_kind[4];
|
|
N_LIB_PRIVATE TNimType NTI__ko9cxbrFH52ahk32IABzgRg_;
|
|
N_LIB_PRIVATE TNimType NTI__fFbH9acUqQ9cpmgG4EsVlJow_;
|
|
N_LIB_PRIVATE TNimType NTI__iU42g6hoJmYMsd12KeuYtQ_;
|
|
N_LIB_PRIVATE TNimType NTI__6TS6DQKShZRw32kbyabYRw_;
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_12, "topology", 8);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_13, "Set the network topology.", 25);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_14, "Topology", 8);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_15, "amount", 6);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_16, "Amount of full nodes to be started.", 35);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_17, "int", 3);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_18, "test-node-peers", 15);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_19, "Amount of peers a test node should connect to.", 46);
|
|
extern TNimType NTI__GntyqsSCwg00S5X6lKEPuQ_;
|
|
extern TNimType NTI__VAWWBGXQQxBx5kHPK2xRMw_;
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_20, "Can\'t obtain a value from a `none`", 34);
|
|
extern TNimType NTI__u5YFhUoGVKboFIgGYZd3wA_;
|
|
extern TNimType NTI__sM4lkSb7zS6F7OVMvW9cffQ_;
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_33, "\'isCommand\' is not accessible using discriminant \'kind\' of type"
|
|
" \'OptInfo\'", 73);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_36, "\'subCmds\' is not accessible using discriminant \'kind\' of type \'"
|
|
"OptInfo\'", 71);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_38, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
"vendor/Nim/lib/system/iterators.nim(189, 11) `len(a) == L` the l"
|
|
"ength of the seq changed while iterating over it", 175);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_40, "--", 2);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_43, "bool", 4);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_44, "=", 1);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_46, "\012", 1);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_47, "-", 1);
|
|
extern TNimType NTI__sYItNXxlbIcNQiWc9bKCjDw_;
|
|
static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__9bPZS8ds69cDDm8QtLGuVTHw_57 = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
|
;
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_58, "help", 4);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_59, "\012\012", 2);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_66, " ", 1);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_68, "Usage: \012", 8);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_70, " [OPTIONS]...", 13);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_71, " command", 8);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_76, " <", 2);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_77, ">", 1);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_79, ".\012", 2);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_85, "\012 ", 2);
|
|
static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__9bPZS8ds69cDDm8QtLGuVTHw_87 = {
|
|
0x00, 0x3e, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
|
;
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_88, " ", 2);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_89, ".", 1);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_91, "\012The following options are available:\012\012", 39);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_92, ", the following additional options are available:\012\012", 51);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_93, ", ", 2);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_94, " ", 4);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_97, "%t", 2);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_98, "\012When ", 6);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_99, " = ", 3);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_100, "\'defaultSubCmd\' is not accessible using discriminant \'kind\' of "
|
|
"type \'OptInfo\'", 77);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_101, " (default)", 10);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_103, "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
"vendor/Nim/lib/system/iterators.nim(122, 11) `len(a) == L` the l"
|
|
"ength of the seq changed while iterating over it", 175);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_105, "\012Available sub-commands:\012", 25);
|
|
N_LIB_PRIVATE TNimType NTI__sIuz4whJ6rccaHGq2SQRtw_;
|
|
N_LIB_PRIVATE TNimType NTI__QtCxK3OkpAyy8Hko1P0lMw_;
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_109, "version", 7);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_112, "Error while processing the \'", 28);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_113, "\' parameter: ", 13);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_114, "Try ", 4);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_115, "$1 --help", 9);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_116, " for more information.\012", 23);
|
|
extern TNimType NTI__QPnWKpN30j0Noc1fJU42oQ_;
|
|
extern TNimType NTI__2OTe7rmocWIIjZ8nziTAfg_;
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_119, "Unrecognized option \'$1\'", 24);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_123, "The command \'$1\'", 16);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_124, " does not accept", 16);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_125, " additional", 11);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_126, " arguments", 10);
|
|
STRING_LITERAL(TM__9bPZS8ds69cDDm8QtLGuVTHw_131, "The required option \'$1\' was not specified", 42);
|
|
extern TNimType* nimTypeRoot;
|
|
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
|
|
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
extern NIM_THREADVAR TSafePoint* excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
|
|
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
|
|
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
|
|
extern NIM_THREADVAR Exception* currException__9bVPeDJlYTi9bQApZpfH8wjg;
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
|
|
|
|
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
|
|
}
|
|
static N_NIMCALL(void, Marker_tyRef__cdxOIR9bDQ70vEw9az6WJodQ)(void* p, NI op) {
|
|
tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A* a;
|
|
NI T1_; NI T2_; NI T3_; NI T4_; a = (tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A*)p;
|
|
nimGCvisit((void*)(*a).copyrightBanner1, op); T1_ = (NI)0; T2_ = (NI)0; for (T2_ = 0; T2_ < 3; T2_++) { nimGCvisit((void*)(*a).fieldSetters3[T2_].Field0, op); }
|
|
T3_ = (NI)0; T4_ = (NI)0;}
|
|
|
|
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
|
|
}
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
|
|
}
|
|
LA4_: ;
|
|
}
|
|
|
|
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
|
|
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
|
|
}
|
|
static N_NIMCALL(void, Marker_tySequence__ko9cxbrFH52ahk32IABzgRg)(void* p, NI op) {
|
|
tySequence__ko9cxbrFH52ahk32IABzgRg* a;
|
|
NI T1_; a = (tySequence__ko9cxbrFH52ahk32IABzgRg*)p;
|
|
T1_ = (NI)0; for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
|
|
nimGCvisit((void*)a->data[T1_], op); }
|
|
}
|
|
static N_NIMCALL(void, Marker_tyRef__fFbH9acUqQ9cpmgG4EsVlJow)(void* p, NI op) {
|
|
tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* a;
|
|
a = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)p;
|
|
nimGCvisit((void*)(*a).name, op); nimGCvisit((void*)(*a).abbr, op); nimGCvisit((void*)(*a).desc, op); nimGCvisit((void*)(*a).typename_0, op); switch ((*a).kind) {
|
|
case ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0):
|
|
nimGCvisit((void*)(*a)._kind_1.subCmds, op); break;
|
|
default:
|
|
break;
|
|
}
|
|
}
|
|
static N_NIMCALL(void, Marker_tySequence__iU42g6hoJmYMsd12KeuYtQ)(void* p, NI op) {
|
|
tySequence__iU42g6hoJmYMsd12KeuYtQ* a;
|
|
NI T1_; a = (tySequence__iU42g6hoJmYMsd12KeuYtQ*)p;
|
|
T1_ = (NI)0; for (T1_ = 0; T1_ < (a ? a->Sup.len : 0); T1_++) {
|
|
nimGCvisit((void*)a->data[T1_], op); }
|
|
}
|
|
static N_NIMCALL(void, Marker_tyRef__6TS6DQKShZRw32kbyabYRw)(void* p, NI op) {
|
|
tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* a;
|
|
a = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)p;
|
|
nimGCvisit((void*)(*a).name, op); nimGCvisit((void*)(*a).desc, op); nimGCvisit((void*)(*a).opts, op);}
|
|
|
|
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
|
|
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
|
|
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, asgnRef)(void** dest, void* src) {
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
if (!!((src == NIM_NIL))) goto LA3_;
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
if (!!(((*dest) == NIM_NIL))) goto LA8_;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
|
|
}
|
|
LA8_: ;
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*dest) = src;}
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(NIM_BOOL, isSome__SBpZC5L2ngoUiy0hnfoIYQoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
result = self.has; return result;}
|
|
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(NIM_BOOL, isNone__SBpZC5L2ngoUiy0hnfoIYQ_2options)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
result = !(self.has); return result;}
|
|
|
|
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(NimStringDesc*, get__MwtcpGbpnX9bvK9by7COEbNwoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A self) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
{ NIM_BOOL T3_; tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw* T6_; NimStringDesc* T7_;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isNone__SBpZC5L2ngoUiy0hnfoIYQ_2options(self); if (!T3_) goto LA4_;
|
|
T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*)0; T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*) newObj((&NTI__GntyqsSCwg00S5X6lKEPuQ_), sizeof(tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw)); (*T6_).Sup.Sup.Sup.m_type = (&NTI__VAWWBGXQQxBx5kHPK2xRMw_); (*T6_).Sup.Sup.name = "UnpackError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.message; (*T6_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_20)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*T6_).Sup.Sup.parent), NIM_NIL);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
raiseExceptionEx((Exception*)T6_, "UnpackError", "get", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
"vendor/Nim/lib/pure/options.nim", 185); }
|
|
LA4_: ;
|
|
result = copyString(self.val); return result;}
|
|
|
|
#line 621 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, topologySetter__NcmUNGT7jj2uEdeOGqUSaw)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* config, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A valX60gensym37450272_) {
|
|
#line 639 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T3_; NimStringDesc* T6_;
|
|
#line 639 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 639 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isSome__SBpZC5L2ngoUiy0hnfoIYQoptions(valX60gensym37450272_); if (!T3_) goto LA4_;
|
|
|
|
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T6_ = (NimStringDesc*)0; T6_ = get__MwtcpGbpnX9bvK9by7COEbNwoptions(valX60gensym37450272_);
|
|
#line 640 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*config).topology = parseEnum__HceO4aixBclJvNGgxAKXwA(T6_); }
|
|
goto LA1_;
|
|
LA4_: ;
|
|
{
|
|
#line 621 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*config).topology = ((tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA) 0); }
|
|
LA1_: ;
|
|
}
|
|
|
|
#line 398 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, startsWithIgnoreStyle__VRh9cQuvpYwDB9c554kkcccw)(NimStringDesc* s, NimStringDesc* prefix) { NIM_BOOL result; NI i; NI j;{ result = (NIM_BOOL)0;
|
|
#line 400 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i = ((NI) 0);
|
|
#line 401 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
j = ((NI) 0); {
|
|
#line 403 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_23; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_24; {
|
|
#line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
while (1) { NIM_BOOL T5_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_21;
|
|
#line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T5_ = (NIM_BOOL)0;
|
|
#line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T5_ = (i < (s ? s->Sup.len : 0)); if (!(T5_)) goto LA6_;
|
|
|
|
#line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); } T5_ = ((NU8)(s->data[i]) == (NU8)(95)); LA6_: ;
|
|
if (!T5_) goto LA4;
|
|
|
|
#line 405 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_21)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_21); } LA4: ;
|
|
}
|
|
{
|
|
#line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
while (1) { NIM_BOOL T9_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_22;
|
|
#line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T9_ = (NIM_BOOL)0;
|
|
#line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T9_ = (j < (prefix ? prefix->Sup.len : 0)); if (!(T9_)) goto LA10_;
|
|
|
|
#line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(j) >= (NU)(prefix ? prefix->Sup.len : 0)){ raiseIndexError2(j,(prefix ? prefix->Sup.len : 0)-1); } T9_ = ((NU8)(prefix->data[j]) == (NU8)(95)); LA10_: ;
|
|
if (!T9_) goto LA8;
|
|
|
|
#line 406 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(j, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_22)) { raiseOverflow(); }; j = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_22); } LA8: ;
|
|
}
|
|
|
|
#line 408 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 408 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 408 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(j == (prefix ? prefix->Sup.len : 0))) goto LA13_;
|
|
|
|
#line 410 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 410 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
}
|
|
goto LA11_;
|
|
LA13_: ;
|
|
{
|
|
#line 411 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 411 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(i == (s ? s->Sup.len : 0))) goto LA16_;
|
|
|
|
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 413 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_FALSE; goto BeforeRet_;
|
|
}
|
|
goto LA11_;
|
|
LA16_: ;
|
|
{ NIM_CHAR T19_; NIM_CHAR T20_;
|
|
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(i,(s ? s->Sup.len : 0)-1); }
|
|
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T19_ = (NIM_CHAR)0; T19_ = nsuToLowerAsciiChar(s->data[i]);
|
|
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(j) >= (NU)(prefix ? prefix->Sup.len : 0)){ raiseIndexError2(j,(prefix ? prefix->Sup.len : 0)-1); }
|
|
#line 414 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T20_ = (NIM_CHAR)0; T20_ = nsuToLowerAsciiChar(prefix->data[j]); if (!!(((NU8)(T19_) == (NU8)(T20_)))) goto LA21_;
|
|
|
|
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 415 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_FALSE; goto BeforeRet_;
|
|
}
|
|
goto LA11_;
|
|
LA21_: ;
|
|
LA11_: ;
|
|
|
|
#line 417 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_23)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_23);
|
|
#line 418 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(j, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_24)) { raiseOverflow(); }; j = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_24); }
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 509 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, completeCmdArg__Y9bIdqCsx9aWLg0c9byWdoGyg_2)(NimStringDesc* val_0) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result; result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; { tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA e_1; NI res; e_1 = (tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA)0;
|
|
#line 77 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
res = ((NI) 0); {
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NimStringDesc* as_str; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_25;
|
|
#line 78 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(res <= ((NI) 2))) goto LA3;
|
|
|
|
#line 510 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((res) < ((tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA) 0) || (res) > ((tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA) 2)){ raiseRangeErrorI(res, ((tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA) 0), ((tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA) 2)); } e_1 = ((tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA) (res));
|
|
#line 511 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 511 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
as_str = reprEnum((NI)e_1, (&NTI__u5YFhUoGVKboFIgGYZd3wA_));
|
|
#line 512 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T6_; NI T9_;
|
|
#line 512 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 512 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T6_ = (NIM_BOOL)0; T6_ = startsWithIgnoreStyle__VRh9cQuvpYwDB9c554kkcccw(as_str, val_0); if (!T6_) goto LA7_;
|
|
|
|
#line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 513 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)(result), (&NTI__sM4lkSb7zS6F7OVMvW9cffQ_)); T9_ = result->Sup.len++; asgnRef((void**) (&result->data[T9_]), reprEnum((NI)e_1, (&NTI__u5YFhUoGVKboFIgGYZd3wA_))); }
|
|
LA7_: ;
|
|
|
|
#line 80 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(res, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_25)) { raiseOverflow(); }; res = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_25); } LA3: ;
|
|
}
|
|
}
|
|
return result;}
|
|
|
|
#line 563 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, completeCmdArgAux__Y9bIdqCsx9aWLg0c9byWdoGyg)(NimStringDesc* val_0) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;{ result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
|
|
#line 565 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 565 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 565 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = completeCmdArg__Y9bIdqCsx9aWLg0c9byWdoGyg_2(val_0); goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 621 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, topologyComplete__XTFhPGJFE71zH5PxYXfsPA)(NimStringDesc* valX60gensym37450271_) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;{ result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = completeCmdArgAux__Y9bIdqCsx9aWLg0c9byWdoGyg(valX60gensym37450271_); goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 578 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, requiresInput__3CWh9b9bO8grbQuWplgh4pJQ)(void) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 579 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_TRUE; return result;}
|
|
|
|
#line 581 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, acceptsMultipleValues__3CWh9b9bO8grbQuWplgh4pJQ_2)(void) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 0 "\?\?\?"
|
|
result = NIM_FALSE; return result;}
|
|
|
|
#line 484 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, parseCmdArg__vKLLu9bdF9c856Fml6RxUbww_2)(NimStringDesc* s) { NI result; result = (NI)0;
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 485 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = nsuParseInt(s); return result;}
|
|
|
|
#line 502 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, parseCmdArgAux__vKLLu9bdF9c856Fml6RxUbww)(NimStringDesc* s) { NI result; result = (NI)0;
|
|
#line 506 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 507 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 507 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = parseCmdArg__vKLLu9bdF9c856Fml6RxUbww_2(s); return result;}
|
|
|
|
#line 621 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, amountSetter__cAIx6nfDz9ae5kXhsWLW65g)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* config, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A valX60gensym37450274_) {
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T3_; NimStringDesc* T6_;
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isSome__SBpZC5L2ngoUiy0hnfoIYQoptions(valX60gensym37450274_); if (!T3_) goto LA4_;
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T6_ = (NimStringDesc*)0; T6_ = get__MwtcpGbpnX9bvK9by7COEbNwoptions(valX60gensym37450274_);
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*config).amount = parseCmdArgAux__vKLLu9bdF9c856Fml6RxUbww(T6_); }
|
|
goto LA1_;
|
|
LA4_: ;
|
|
{ (*config).amount = ((NI) 4); }
|
|
LA1_: ;
|
|
}
|
|
|
|
#line 515 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, completeCmdArg__9bexaNkG9bEPJhjndrYhsRJA_2)(NimStringDesc* val_0) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;{ result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
|
|
#line 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_NIL; goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 563 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, completeCmdArgAux__9bexaNkG9bEPJhjndrYhsRJA)(NimStringDesc* val_0) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;{ result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
|
|
#line 565 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 565 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 565 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = completeCmdArg__9bexaNkG9bEPJhjndrYhsRJA_2(val_0); goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 621 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, amountComplete__9a7mI2izoPQ0SX9a0OYwINfQ)(NimStringDesc* valX60gensym37450273_) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;{ result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = completeCmdArgAux__9bexaNkG9bEPJhjndrYhsRJA(valX60gensym37450273_); goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 578 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, requiresInput__hPUUqQSW7QSUVpQRIGlrhQ)(void) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 579 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_TRUE; return result;}
|
|
|
|
#line 581 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, acceptsMultipleValues__hPUUqQSW7QSUVpQRIGlrhQ_2)(void) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 0 "\?\?\?"
|
|
result = NIM_FALSE; return result;}
|
|
|
|
#line 621 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, testNodePeersSetter__jmbNOGQwKSMtbnx0pJ9cC3Q)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* config, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A valX60gensym37450276_) {
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T3_; NimStringDesc* T6_;
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isSome__SBpZC5L2ngoUiy0hnfoIYQoptions(valX60gensym37450276_); if (!T3_) goto LA4_;
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T6_ = (NimStringDesc*)0; T6_ = get__MwtcpGbpnX9bvK9by7COEbNwoptions(valX60gensym37450276_);
|
|
#line 569 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*config).testNodePeers = parseCmdArgAux__vKLLu9bdF9c856Fml6RxUbww(T6_); }
|
|
goto LA1_;
|
|
LA4_: ;
|
|
{ (*config).testNodePeers = ((NI) 1); }
|
|
LA1_: ;
|
|
}
|
|
|
|
#line 621 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, testNodePeersComplete__HzLRgUwd6RQO6BPFw8PN9cw)(NimStringDesc* valX60gensym37450275_) { tySequence__sM4lkSb7zS6F7OVMvW9cffQ* result;{ result = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 628 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = completeCmdArgAux__9bexaNkG9bEPJhjndrYhsRJA(valX60gensym37450275_); goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(NIM_BOOL, isSome__ZNGps7LoNeM9bg6UudQI9c4goptions)(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA self) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
result = self.has; return result;}
|
|
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(NIM_BOOL, isNone__ZNGps7LoNeM9bg6UudQI9c4g_2options)(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA self) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
result = !(self.has); return result;}
|
|
|
|
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA, get__6QYMXED9cGKE39aaexajgFBwoptions)(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA self) { tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA result; result = (tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA)0;
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
{ NIM_BOOL T3_; tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw* T6_; NimStringDesc* T7_;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isNone__ZNGps7LoNeM9bg6UudQI9c4g_2options(self); if (!T3_) goto LA4_;
|
|
T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*)0; T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*) newObj((&NTI__GntyqsSCwg00S5X6lKEPuQ_), sizeof(tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw)); (*T6_).Sup.Sup.Sup.m_type = (&NTI__VAWWBGXQQxBx5kHPK2xRMw_); (*T6_).Sup.Sup.name = "UnpackError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.message; (*T6_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_20)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*T6_).Sup.Sup.parent), NIM_NIL);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
raiseExceptionEx((Exception*)T6_, "UnpackError", "get", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
"vendor/Nim/lib/pure/options.nim", 185); }
|
|
LA4_: ;
|
|
result = self.val; return result;}
|
|
|
|
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, topologyCFSetter__9aRvgsMfjl7xA75aJ9aw3WlA)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* sX60gensym37470334_, tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA cfX60gensym37470335_) { NIM_BOOL result;{ result = (NIM_BOOL)0; { tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw cX60gensym37470336_; NI i; nimZeroMem((void*)(&cX60gensym37470336_), sizeof(tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw));
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) (i)) <= ((NI) -1))) goto LA4_;
|
|
{
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_26;
|
|
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
cX60gensym37470336_ = cfX60gensym37470335_.data[(i)- 0];
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
{ NIM_BOOL T10_;
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
T10_ = (NIM_BOOL)0; T10_ = isSome__ZNGps7LoNeM9bg6UudQI9c4goptions(cX60gensym37470336_.topology); if (!T10_) goto LA11_;
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
(*sX60gensym37470334_).topology = get__6QYMXED9cGKE39aaexajgFBwoptions(cX60gensym37470336_.topology);
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
}
|
|
LA11_: ;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) -1) <= ((NI) (i)))) goto LA15_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
goto LA6;
|
|
}
|
|
LA15_: ;
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_26)) { raiseOverflow(); }; if (TM__9bPZS8ds69cDDm8QtLGuVTHw_26 < 0 || TM__9bPZS8ds69cDDm8QtLGuVTHw_26 > -1){ raiseOverflow(); } i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_26); }
|
|
} LA6: ;
|
|
}
|
|
LA4_: ;
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(NIM_BOOL, isSome__7pvN3mkdmg4OQ2gDC9bkRTwoptions)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
result = self.has; return result;}
|
|
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(NIM_BOOL, isNone__7pvN3mkdmg4OQ2gDC9bkRTw_2options)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
result = !(self.has); return result;}
|
|
|
|
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(NI, get__1Erv8xPIqYVM0C9cVJj63rwoptions)(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA self) { NI result; result = (NI)0;
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
{ NIM_BOOL T3_; tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw* T6_; NimStringDesc* T7_;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = isNone__7pvN3mkdmg4OQ2gDC9bkRTw_2options(self); if (!T3_) goto LA4_;
|
|
T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*)0; T6_ = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*) newObj((&NTI__GntyqsSCwg00S5X6lKEPuQ_), sizeof(tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw)); (*T6_).Sup.Sup.Sup.m_type = (&NTI__VAWWBGXQQxBx5kHPK2xRMw_); (*T6_).Sup.Sup.name = "UnpackError"; T7_ = (NimStringDesc*)0; T7_ = (*T6_).Sup.Sup.message; (*T6_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_20)); if (T7_) nimGCunrefNoCycle(T7_); asgnRef((void**) (&(*T6_).Sup.Sup.parent), NIM_NIL);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
raiseExceptionEx((Exception*)T6_, "UnpackError", "get", "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/"
|
|
"vendor/Nim/lib/pure/options.nim", 185); }
|
|
LA4_: ;
|
|
result = self.val; return result;}
|
|
|
|
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, amountCFSetter__CyJ6LQetxVZ6Q9bof05DVag)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* sX60gensym37470337_, tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA cfX60gensym37470338_) { NIM_BOOL result;{ result = (NIM_BOOL)0; { tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw cX60gensym37470339_; NI i; nimZeroMem((void*)(&cX60gensym37470339_), sizeof(tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw));
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) (i)) <= ((NI) -1))) goto LA4_;
|
|
{
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_27;
|
|
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
cX60gensym37470339_ = cfX60gensym37470338_.data[(i)- 0];
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
{ NIM_BOOL T10_;
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
T10_ = (NIM_BOOL)0; T10_ = isSome__7pvN3mkdmg4OQ2gDC9bkRTwoptions(cX60gensym37470339_.amount); if (!T10_) goto LA11_;
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
(*sX60gensym37470337_).amount = get__1Erv8xPIqYVM0C9cVJj63rwoptions(cX60gensym37470339_.amount);
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
}
|
|
LA11_: ;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) -1) <= ((NI) (i)))) goto LA15_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
goto LA6;
|
|
}
|
|
LA15_: ;
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_27)) { raiseOverflow(); }; if (TM__9bPZS8ds69cDDm8QtLGuVTHw_27 < 0 || TM__9bPZS8ds69cDDm8QtLGuVTHw_27 > -1){ raiseOverflow(); } i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_27); }
|
|
} LA6: ;
|
|
}
|
|
LA4_: ;
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 113 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, testNodePeersCFSetter__NCZ774oPjPgeb5QCB80pzw)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* sX60gensym37470340_, tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA cfX60gensym37470341_) { NIM_BOOL result;{ result = (NIM_BOOL)0; { tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw cX60gensym37470342_; NI i; nimZeroMem((void*)(&cX60gensym37470342_), sizeof(tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw));
|
|
#line 17 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 18 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) (i)) <= ((NI) -1))) goto LA4_;
|
|
{
|
|
#line 19 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_28;
|
|
#line 116 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
cX60gensym37470342_ = cfX60gensym37470341_.data[(i)- 0];
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
{ NIM_BOOL T10_;
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
T10_ = (NIM_BOOL)0; T10_ = isSome__7pvN3mkdmg4OQ2gDC9bkRTwoptions(cX60gensym37470342_.testNodePeers); if (!T10_) goto LA11_;
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 95 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
(*sX60gensym37470340_).testNodePeers = get__1Erv8xPIqYVM0C9cVJj63rwoptions(cX60gensym37470342_.testNodePeers);
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
}
|
|
LA11_: ;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(((NI) -1) <= ((NI) (i)))) goto LA15_;
|
|
|
|
#line 21 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
goto LA6;
|
|
}
|
|
LA15_: ;
|
|
|
|
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_28)) { raiseOverflow(); }; if (TM__9bPZS8ds69cDDm8QtLGuVTHw_28 < 0 || TM__9bPZS8ds69cDDm8QtLGuVTHw_28 > -1){ raiseOverflow(); } i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_28); }
|
|
} LA6: ;
|
|
}
|
|
LA4_: ;
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA, load__sxErOmoo9craVD1nxNgYPag)(void) { tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA result; nimZeroMem((void*)(&result), sizeof(tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA));
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
result.setters[(((NI) 0))- 0] = topologyCFSetter__9aRvgsMfjl7xA75aJ9aw3WlA;
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
result.setters[(((NI) 1))- 0] = amountCFSetter__CyJ6LQetxVZ6Q9bof05DVag;
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
result.setters[(((NI) 2))- 0] = testNodePeersCFSetter__NCZ774oPjPgeb5QCB80pzw; return result;}
|
|
|
|
#line 360 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, getNextArgIdx__SvGxRxElX54hx27hqM0kXQ)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NI consumedArgIdx) { NI result;{ result = (NI)0; { NI i; NI colontmp_; NI colontmp__2; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_29; NI T2_; NI i_2; i = (NI)0; colontmp_ = (NI)0; colontmp__2 = (NI)0;
|
|
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(consumedArgIdx, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_29)) { raiseOverflow(); }; colontmp_ = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_29);
|
|
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T2_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); colontmp__2 = T2_;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
i_2 = colontmp_; {
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_30;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_2 < colontmp__2)) goto LA4;
|
|
|
|
#line 361 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i = i_2;
|
|
#line 362 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 362 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } if (!((*(*cmd).opts->data[i]).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 2))) goto LA7_;
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 363 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } result = (*(*cmd).opts->data[i]).idx; goto BeforeRet_;
|
|
}
|
|
LA7_: ;
|
|
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_30)) { raiseOverflow(); }; i_2 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_30); } LA4: ;
|
|
}
|
|
}
|
|
|
|
#line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 365 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = ((NI) -1); goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 2521 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**, X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** s, NI sLen_0, NI i) { tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** result; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_31; result = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0;
|
|
#line 2522 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2522 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2522 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
if (nimSubInt(sLen_0, i, &TM__9bPZS8ds69cDDm8QtLGuVTHw_31)) { raiseOverflow(); }; if ((NU)((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_31)) >= (NU)(sLen_0)){ raiseIndexError2((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_31),sLen_0-1); } result = &s[(NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_31)]; return result;}
|
|
|
|
#line 459 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA, dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem)(NI a, NI b) { tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA result; nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA));
|
|
#line 469 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
chckNil((void*)(&result)); nimZeroMem((void*)(&result), sizeof(tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA)); result.a = a; result.b = b; return result;}
|
|
|
|
#line 1503 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
static N_INLINE(NIM_BOOL, startsWith__pzWhhH9b6ehBmuu1oOe9cBuQstrutils)(NimStringDesc* s, NIM_CHAR prefix) { NIM_BOOL result; NIM_BOOL T1_; result = (NIM_BOOL)0;
|
|
#line 1514 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
|
|
#line 1514 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 1514 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
|
|
#line 1514 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
T1_ = (((NI) 0) < (s ? s->Sup.len : 0)); if (!(T1_)) goto LA2_;
|
|
|
|
#line 1514 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
if ((NU)(((NI) 0)) >= (NU)(s ? s->Sup.len : 0)){ raiseIndexError2(((NI) 0),(s ? s->Sup.len : 0)-1); } T1_ = ((NU8)(s->data[((NI) 0)]) == (NU8)(prefix)); LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 168 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*, getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd) { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* result;{ result = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0; { NI i; NI colontmp_; NI T2_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_32; NI res; i = (NI)0; colontmp_ = (NI)0;
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T2_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (nimSubInt(T2_, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_32)) { raiseOverflow(); }; colontmp_ = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_32);
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
res = colontmp_; {
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_34;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(((NI) 0) <= res)) goto LA4;
|
|
|
|
#line 169 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i = res;
|
|
#line 170 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } opt = (*cmd).opts->data[i];
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 171 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!(((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 2)))) goto LA7_;
|
|
|
|
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T11_;
|
|
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T11_ = (NIM_BOOL)0;
|
|
#line 172 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T11_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0)); if (!(T11_)) goto LA12_;
|
|
if (!(((1 &(1U<<((NU)((*opt).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_33)); } T11_ = (*opt)._kind_1.isCommand; LA12_: ;
|
|
if (!T11_) goto LA13_;
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 173 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = opt; goto BeforeRet_;
|
|
}
|
|
goto LA9_;
|
|
LA13_: ;
|
|
{
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 175 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_NIL; goto BeforeRet_;
|
|
}
|
|
LA9_: ;
|
|
}
|
|
LA7_: ;
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimSubInt(res, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_34)) { raiseOverflow(); }; res = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_34); } LA4: ;
|
|
}
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 385 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*, findCmd__0C9bD9c7Xo9bK4Yg7dbqbpNag)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** cmds, NI cmdsLen_0, NimStringDesc* name_0) { tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* result;{ result = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0; { tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd; NI i; cmd = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0;
|
|
#line 3 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0); {
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_35;
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < cmdsLen_0)) goto LA3;
|
|
|
|
#line 386 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)(cmdsLen_0)){ raiseIndexError2(i,cmdsLen_0-1); } cmd = cmds[i];
|
|
#line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI T6_;
|
|
#line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 387 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T6_ = (NI)0; T6_ = nsuCmpIgnoreStyle((*cmd).name, name_0); if (!(T6_ == ((NI) 0))) goto LA7_;
|
|
|
|
#line 388 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 388 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = cmd; goto BeforeRet_;
|
|
}
|
|
LA7_: ;
|
|
|
|
#line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_35)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_35); } LA3: ;
|
|
}
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 390 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*, findSubCmd__nf6l8SxHMidtlJ5o7ngTvw)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NimStringDesc* name_0) { tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* result; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* subCmdDiscriminator;{ result = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0;
|
|
#line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 391 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmdDiscriminator = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA(cmd);
|
|
#line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd_2;
|
|
#line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 392 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((subCmdDiscriminator == NIM_NIL))) goto LA3_;
|
|
|
|
#line 393 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); }
|
|
#line 393 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmd_2 = findCmd__0C9bD9c7Xo9bK4Yg7dbqbpNag((*subCmdDiscriminator)._kind_1.subCmds->data, ((*subCmdDiscriminator)._kind_1.subCmds ? (*subCmdDiscriminator)._kind_1.subCmds->Sup.len : 0), name_0);
|
|
#line 394 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 394 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 394 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((cmd_2 == NIM_NIL))) goto LA7_;
|
|
|
|
#line 394 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 394 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = cmd_2; goto BeforeRet_;
|
|
}
|
|
LA7_: ;
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 396 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 396 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_NIL; goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 2514 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(NimStringDesc*, X5BX5D___j0Z1d16G1eC5eFkDa00ZFwsystem)(NimStringDesc** s, NI sLen_0, NI i) { NimStringDesc* result; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_39; result = (NimStringDesc*)0;
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
if (nimSubInt(sLen_0, i, &TM__9bPZS8ds69cDDm8QtLGuVTHw_39)) { raiseOverflow(); }; if ((NU)((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_39)) >= (NU)(sLen_0)){ raiseIndexError2((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_39),sLen_0-1); } result = copyString(s[(NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_39)]); return result;}
|
|
|
|
#line 36 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) { int result; result = (int)0;
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 38 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
result = memcmp(a, b, ((size_t) (size))); return result;}
|
|
|
|
#line 2120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(NIM_BOOL, equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem)(void* a, void* b, NI size) { NIM_BOOL result; int T1_; result = (NIM_BOOL)0;
|
|
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
T1_ = (int)0; T1_ = nimCmpMem(a, b, size); result = (T1_ == ((NI32) 0)); return result;}
|
|
|
|
#line 23 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) { NIM_BOOL result; NI alen; NI blen;{ result = (NIM_BOOL)0;
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
alen = (a ? a->Sup.len : 0);
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
blen = (b ? b->Sup.len : 0);
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
{
|
|
#line 26 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
if (!(alen == blen)) goto LA3_;
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
{
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
if (!(alen == ((NI) 0))) goto LA7_;
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
#line 27 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
}
|
|
LA7_: ;
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/strmantle.nim"
|
|
result = equalMem__9bGgqEk7RXXl6eqM9c1HdELAsystem(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen))); goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 466 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/io.nim"
|
|
static N_INLINE(void, writeLine__45Em82MGXqv9biomV0DEbSgio)(FILE* f, NimStringDesc** x_0, NI x_0Len_0) { { NimStringDesc* i; NI i_2; i = (NimStringDesc*)0;
|
|
#line 3 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_2 = ((NI) 0); {
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_45;
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_2 < x_0Len_0)) goto LA3;
|
|
|
|
#line 470 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/io.nim"
|
|
if ((NU)(i_2) >= (NU)(x_0Len_0)){ raiseIndexError2(i_2,x_0Len_0-1); } i = x_0[i_2];
|
|
#line 471 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/io.nim"
|
|
|
|
#line 471 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/io.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(f, i);
|
|
|
|
#line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_45)) { raiseOverflow(); }; i_2 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_45); } LA3: ;
|
|
}
|
|
}
|
|
|
|
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/io.nim"
|
|
|
|
#line 472 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/io.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(f, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
}
|
|
|
|
#line 830 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, showMatchingOptions__IFFg9aRIFt3czvLCp1rlIvw)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NimStringDesc* prefix, tySet_tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA filterKind) { tySequence__iU42g6hoJmYMsd12KeuYtQ* matchingOptions; matchingOptions = (tySequence__iU42g6hoJmYMsd12KeuYtQ*)0;
|
|
#line 833 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 833 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 833 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < (prefix ? prefix->Sup.len : 0))) goto LA3_;
|
|
{ tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt; NI i; NI L; NI T6_; opt = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T6_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); L = T6_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_42;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA8;
|
|
|
|
#line 835 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } opt = (*cmd).opts->data[i];
|
|
#line 836 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T11_;
|
|
#line 836 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T11_ = (NIM_BOOL)0;
|
|
#line 836 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T11_ = ((filterKind &(1U<<((NU)(((tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA) 0))&7U)))!=0); if (!(T11_)) goto LA12_;
|
|
|
|
#line 836 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 836 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T11_ = (((NI) 0) < ((*opt).name ? (*opt).name->Sup.len : 0)); LA12_: ;
|
|
if (!T11_) goto LA13_;
|
|
|
|
#line 837 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T17_; NI T20_;
|
|
#line 837 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 837 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T17_ = (NIM_BOOL)0; T17_ = startsWithIgnoreStyle__VRh9cQuvpYwDB9c554kkcccw((*opt).name, prefix); if (!T17_) goto LA18_;
|
|
|
|
#line 838 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
matchingOptions = (tySequence__iU42g6hoJmYMsd12KeuYtQ*) incrSeqV3((TGenericSeq*)(matchingOptions), (&NTI__iU42g6hoJmYMsd12KeuYtQ_)); T20_ = matchingOptions->Sup.len++; asgnRef((void**) (&matchingOptions->data[T20_]), opt); }
|
|
LA18_: ;
|
|
}
|
|
LA13_: ;
|
|
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T23_;
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T23_ = (NIM_BOOL)0;
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T23_ = ((filterKind &(1U<<((NU)(((tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA) 1))&7U)))!=0); if (!(T23_)) goto LA24_;
|
|
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 839 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T23_ = (((NI) 0) < ((*opt).abbr ? (*opt).abbr->Sup.len : 0)); LA24_: ;
|
|
if (!T23_) goto LA25_;
|
|
|
|
#line 840 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T29_; NI T32_;
|
|
#line 840 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 840 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T29_ = (NIM_BOOL)0; T29_ = startsWithIgnoreStyle__VRh9cQuvpYwDB9c554kkcccw((*opt).abbr, prefix); if (!T29_) goto LA30_;
|
|
|
|
#line 841 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
matchingOptions = (tySequence__iU42g6hoJmYMsd12KeuYtQ*) incrSeqV3((TGenericSeq*)(matchingOptions), (&NTI__iU42g6hoJmYMsd12KeuYtQ_)); T32_ = matchingOptions->Sup.len++; asgnRef((void**) (&matchingOptions->data[T32_]), opt); }
|
|
LA30_: ;
|
|
}
|
|
LA25_: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_42)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_42);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T35_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T35_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (!!((T35_ == L))) goto LA36_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA36_: ;
|
|
} LA8: ;
|
|
}
|
|
}
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 843 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
genericSeqAssign((&matchingOptions), (*cmd).opts, (&NTI__iU42g6hoJmYMsd12KeuYtQ_)); }
|
|
LA1_: ;
|
|
{ tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt_2; NI i_2; NI L_2; NI T40_; opt_2 = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_2 = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T40_ = (matchingOptions ? matchingOptions->Sup.len : 0); L_2 = T40_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NimStringDesc* trailing; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_48;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_2 < L_2)) goto LA42;
|
|
|
|
#line 845 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_2) >= (NU)(matchingOptions ? matchingOptions->Sup.len : 0)){ raiseIndexError2(i_2,(matchingOptions ? matchingOptions->Sup.len : 0)-1); } opt_2 = matchingOptions->data[i_2];
|
|
#line 847 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 847 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 847 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 847 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!(eqStrings((*opt_2).typename_0, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_43)))) goto LA45_;
|
|
trailing = copyString(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_44)); }
|
|
goto LA43_;
|
|
LA45_: ;
|
|
{ trailing = ((NimStringDesc*) NIM_NIL); }
|
|
LA43_: ;
|
|
|
|
#line 849 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T50_; tyArray__24KAM9afIUgUaqBaEBB6r9bg T54_;
|
|
#line 849 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T50_ = (NIM_BOOL)0;
|
|
#line 849 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T50_ = ((filterKind &(1U<<((NU)(((tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA) 0))&7U)))!=0); if (!(T50_)) goto LA51_;
|
|
|
|
#line 849 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 849 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T50_ = (((NI) 0) < ((*opt_2).name ? (*opt_2).name->Sup.len : 0)); LA51_: ;
|
|
if (!T50_) goto LA52_;
|
|
|
|
#line 850 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)T54_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg)); T54_[0] = copyString(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_40)); T54_[1] = copyString((*opt_2).name); T54_[2] = copyString(trailing);
|
|
#line 850 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
writeLine__45Em82MGXqv9biomV0DEbSgio(stdout, T54_, 3);
|
|
}
|
|
LA52_: ;
|
|
|
|
#line 851 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T57_; tyArray__24KAM9afIUgUaqBaEBB6r9bg T61_;
|
|
#line 851 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T57_ = (NIM_BOOL)0;
|
|
#line 851 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T57_ = ((filterKind &(1U<<((NU)(((tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA) 1))&7U)))!=0); if (!(T57_)) goto LA58_;
|
|
|
|
#line 851 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 851 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T57_ = (((NI) 0) < ((*opt_2).abbr ? (*opt_2).abbr->Sup.len : 0)); LA58_: ;
|
|
if (!T57_) goto LA59_;
|
|
|
|
#line 852 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)T61_, sizeof(tyArray__24KAM9afIUgUaqBaEBB6r9bg)); T61_[0] = copyString(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_47)); T61_[1] = copyString((*opt_2).abbr); T61_[2] = copyString(trailing);
|
|
#line 852 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
writeLine__45Em82MGXqv9biomV0DEbSgio(stdout, T61_, 3);
|
|
}
|
|
LA59_: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_48)) { raiseOverflow(); }; i_2 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_48);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T64_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T64_ = (matchingOptions ? matchingOptions->Sup.len : 0); if (!!((T64_ == L_2))) goto LA65_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA65_: ;
|
|
} LA42: ;
|
|
}
|
|
}
|
|
}
|
|
|
|
#line 374 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*, findOpt__bBkDft6CL0vzfMlc7vSUQw)(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ** opts, NI optsLen_0, NimStringDesc* name_0) { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* result;{ result = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0; { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt; NI i; opt = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 3 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0); {
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_51;
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 4 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < optsLen_0)) goto LA3;
|
|
|
|
#line 375 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)(optsLen_0)){ raiseIndexError2(i,optsLen_0-1); } opt = opts[i];
|
|
#line 376 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T6_; NI T7_; NI T9_;
|
|
#line 376 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T6_ = (NIM_BOOL)0;
|
|
#line 376 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 376 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 376 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T7_ = (NI)0; T7_ = nsuCmpIgnoreStyle((*opt).name, name_0); T6_ = (T7_ == ((NI) 0)); if (T6_) goto LA8_;
|
|
|
|
#line 377 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 377 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 377 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T9_ = (NI)0; T9_ = nsuCmpIgnoreStyle((*opt).abbr, name_0); T6_ = (T9_ == ((NI) 0)); LA8_: ;
|
|
if (!T6_) goto LA10_;
|
|
|
|
#line 378 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 378 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = opt; goto BeforeRet_;
|
|
}
|
|
LA10_: ;
|
|
|
|
#line 6 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_51)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_51); } LA3: ;
|
|
}
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 380 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*, findOpt__KaO4sqyUPqW3CER2fbIhCA)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** activeCmds, NI activeCmdsLen_0, NimStringDesc* name_0) { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* result;{ result = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0; { NI i; NI colontmp_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_50; NI res; i = (NI)0; colontmp_ = (NI)0;
|
|
#line 381 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 381 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 381 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimSubInt(activeCmdsLen_0, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_50)) { raiseOverflow(); }; colontmp_ = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_50);
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
res = colontmp_; {
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* found; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_52;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(((NI) 0) <= res)) goto LA3;
|
|
|
|
#line 381 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i = res;
|
|
#line 382 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)(activeCmdsLen_0)){ raiseIndexError2(i,activeCmdsLen_0-1); }
|
|
#line 382 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
found = findOpt__bBkDft6CL0vzfMlc7vSUQw((*activeCmds[i]).opts->data, ((*activeCmds[i]).opts ? (*activeCmds[i]).opts->Sup.len : 0), name_0);
|
|
#line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((found == NIM_NIL))) goto LA6_;
|
|
|
|
#line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 383 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = found; goto BeforeRet_;
|
|
}
|
|
LA6_: ;
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimSubInt(res, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_52)) { raiseOverflow(); }; res = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_52); } LA3: ;
|
|
}
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 2514 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*, X5BX5D___HbndVVoautY9atM2E7BfDogsystem)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** s, NI sLen_0, NI i) { tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* result; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_60; result = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0;
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2515 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
if (nimSubInt(sLen_0, i, &TM__9bPZS8ds69cDDm8QtLGuVTHw_60)) { raiseOverflow(); }; if ((NU)((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_60)) >= (NU)(sLen_0)){ raiseIndexError2((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_60),sLen_0-1); } result = s[(NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_60)]; return result;}
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, maxNameLen__6J5rosntexlE0qjDswo4VA)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd) { NI result; result = (NI)0;
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = ((NI) 0); { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt; NI i; NI L; NI T2_; opt = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T2_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); L = T2_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_62;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA4;
|
|
|
|
#line 191 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } opt = (*cmd).opts->data[i]; {
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T8_; NIM_BOOL T10_;
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T8_ = (NIM_BOOL)0;
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T8_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 2)); if (T8_) goto LA9_;
|
|
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T10_ = (NIM_BOOL)0;
|
|
#line 192 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T10_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0)); if (!(T10_)) goto LA11_;
|
|
if (!(((1 &(1U<<((NU)((*opt).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_33)); } T10_ = (*opt)._kind_1.isCommand; LA11_: ;
|
|
T8_ = T10_; LA9_: ;
|
|
if (!T8_) goto LA12_;
|
|
|
|
#line 193 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
goto LA5;
|
|
}
|
|
LA12_: ;
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = ((result >= ((*opt).name ? (*opt).name->Sup.len : 0)) ? result : ((*opt).name ? (*opt).name->Sup.len : 0));
|
|
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 195 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0))) goto LA16_;
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* subCmd; tySequence__ko9cxbrFH52ahk32IABzgRg* colontmp_; NI i_2; NI L_2; NI T19_; subCmd = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0; colontmp_ = (tySequence__ko9cxbrFH52ahk32IABzgRg*)0;
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*opt).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); } colontmp_ = (*opt)._kind_1.subCmds;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_2 = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T19_ = (colontmp_ ? colontmp_->Sup.len : 0); L_2 = T19_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI T22_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_61;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_2 < L_2)) goto LA21;
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_2) >= (NU)(colontmp_ ? colontmp_->Sup.len : 0)){ raiseIndexError2(i_2,(colontmp_ ? colontmp_->Sup.len : 0)-1); } subCmd = colontmp_->data[i_2];
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 197 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T22_ = (NI)0; T22_ = maxNameLen__6J5rosntexlE0qjDswo4VA(subCmd); result = ((result >= T22_) ? result : T22_);
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_61)) { raiseOverflow(); }; i_2 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_61);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T25_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T25_ = (colontmp_ ? colontmp_->Sup.len : 0); if (!!((T25_ == L_2))) goto LA26_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA26_: ;
|
|
} LA21: ;
|
|
}
|
|
}
|
|
}
|
|
LA16_: ;
|
|
} LA5: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_62)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_62);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T30_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T30_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (!!((T30_ == L))) goto LA31_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA31_: ;
|
|
} LA4: ;
|
|
}
|
|
}
|
|
return result;}
|
|
|
|
#line 199 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasAbbrs__1EMfvmi9c8lQ79bCfRp8uF7A)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd) { NIM_BOOL result;{ result = (NIM_BOOL)0; { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt; NI i; NI L; NI T2_; opt = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T2_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); L = T2_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_64;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA4;
|
|
|
|
#line 200 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } opt = (*cmd).opts->data[i]; {
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T8_; NIM_BOOL T10_;
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T8_ = (NIM_BOOL)0;
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T8_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 2)); if (T8_) goto LA9_;
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T10_ = (NIM_BOOL)0;
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T10_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0)); if (!(T10_)) goto LA11_;
|
|
if (!(((1 &(1U<<((NU)((*opt).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_33)); } T10_ = (*opt)._kind_1.isCommand; LA11_: ;
|
|
T8_ = T10_; LA9_: ;
|
|
if (!T8_) goto LA12_;
|
|
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
goto LA5;
|
|
}
|
|
LA12_: ;
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*opt).abbr ? (*opt).abbr->Sup.len : 0))) goto LA16_;
|
|
|
|
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 204 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
}
|
|
LA16_: ;
|
|
|
|
#line 205 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 205 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0))) goto LA20_;
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* subCmd; tySequence__ko9cxbrFH52ahk32IABzgRg* colontmp_; NI i_2; NI L_2; NI T23_; subCmd = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0; colontmp_ = (tySequence__ko9cxbrFH52ahk32IABzgRg*)0;
|
|
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*opt).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); } colontmp_ = (*opt)._kind_1.subCmds;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_2 = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T23_ = (colontmp_ ? colontmp_->Sup.len : 0); L_2 = T23_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_63;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_2 < L_2)) goto LA25;
|
|
|
|
#line 206 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_2) >= (NU)(colontmp_ ? colontmp_->Sup.len : 0)){ raiseIndexError2(i_2,(colontmp_ ? colontmp_->Sup.len : 0)-1); } subCmd = colontmp_->data[i_2];
|
|
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T28_;
|
|
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 207 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T28_ = (NIM_BOOL)0; T28_ = hasAbbrs__1EMfvmi9c8lQ79bCfRp8uF7A(subCmd); if (!T28_) goto LA29_;
|
|
|
|
#line 208 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 208 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
}
|
|
LA29_: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_63)) { raiseOverflow(); }; i_2 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_63);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T33_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T33_ = (colontmp_ ? colontmp_->Sup.len : 0); if (!!((T33_ == L_2))) goto LA34_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA34_: ;
|
|
} LA25: ;
|
|
}
|
|
}
|
|
}
|
|
LA20_: ;
|
|
} LA5: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_64)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_64);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T38_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T38_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (!!((T38_ == L))) goto LA39_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA39_: ;
|
|
} LA4: ;
|
|
}
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_;
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));}
|
|
|
|
#line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
|
|
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
nimCopyMem(dest, source, size);
|
|
}
|
|
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
{
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
if (!!((src == NIM_NIL))) goto LA3_;
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
|
|
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
(*dest).Sup.len += (*src).Sup.len; }
|
|
LA3_: ;
|
|
}
|
|
|
|
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isCliSwitch__VEzHNNkiXs7FjBXofOs9cAw)(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt) { NIM_BOOL result; NIM_BOOL T1_; NIM_BOOL T3_; result = (NIM_BOOL)0;
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 142 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T1_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 1)); if (T1_) goto LA2_;
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = (NIM_BOOL)0;
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0)); if (!(T3_)) goto LA4_;
|
|
|
|
#line 143 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*opt).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_33)); } T3_ = ((*opt)._kind_1.isCommand == NIM_FALSE); LA4_: ;
|
|
T1_ = T3_; LA2_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 145 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasOpts__1EMfvmi9c8lQ79bCfRp8uF7A_2)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd) { NIM_BOOL result;{ result = (NIM_BOOL)0; { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt; NI i; NI L; NI T2_; opt = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T2_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); L = T2_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_69;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA4;
|
|
|
|
#line 146 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } opt = (*cmd).opts->data[i];
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T7_;
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T7_ = (NIM_BOOL)0;
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T7_ = isCliSwitch__VEzHNNkiXs7FjBXofOs9cAw(opt); if (!(T7_)) goto LA8_;
|
|
|
|
#line 147 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T7_ = !((*opt).isHidden); LA8_: ;
|
|
if (!T7_) goto LA9_;
|
|
|
|
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 148 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_TRUE; goto BeforeRet_;
|
|
}
|
|
LA9_: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_69)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_69);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T13_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T13_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (!!((T13_ == L))) goto LA14_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA14_: ;
|
|
} LA4: ;
|
|
}
|
|
}
|
|
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = NIM_FALSE; goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 2521 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ**, X5BX5D___zRM5dMyeglSZC7Q5ZQpK6Qsystem)(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ** s, NI sLen_0, NI i) { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ** result; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_72; result = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ**)0;
|
|
#line 2522 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2522 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2522 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
if (nimSubInt(sLen_0, i, &TM__9bPZS8ds69cDDm8QtLGuVTHw_72)) { raiseOverflow(); }; if ((NU)((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_72)) >= (NU)(sLen_0)){ raiseIndexError2((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_72),sLen_0-1); } result = &s[(NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_72)]; return result;}
|
|
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasArgs__1EMfvmi9c8lQ79bCfRp8uF7A_3)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd) { NIM_BOOL result; NIM_BOOL T1_; NI T2_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ** T4_; result = (NIM_BOOL)0;
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T1_ = (NIM_BOOL)0;
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T2_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); T1_ = (((NI) 0) < T2_); if (!(T1_)) goto LA3_;
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T4_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ**)0; T4_ = X5BX5D___zRM5dMyeglSZC7Q5ZQpK6Qsystem((*cmd).opts->data, ((*cmd).opts ? (*cmd).opts->Sup.len : 0), ((NI) 1)); T1_ = ((*(*T4_)).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 2)); LA3_: ;
|
|
result = T1_; return result;}
|
|
|
|
#line 155 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, firstArgIdx__6J5rosntexlE0qjDswo4VA_2)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd) { NI result; NI T1_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_73;{ result = (NI)0;
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 157 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T1_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (nimSubInt(T1_, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_73)) { raiseOverflow(); }; result = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_73); {
|
|
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_75;
|
|
#line 158 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < result)) goto LA3;
|
|
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI TM__9bPZS8ds69cDDm8QtLGuVTHw_74;
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 159 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimSubInt(result, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_74)) { raiseOverflow(); }; if ((NU)((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_74)) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_74),((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } if (!!(((*(*cmd).opts->data[(NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_74)]).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 2)))) goto LA6_;
|
|
|
|
#line 160 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
goto BeforeRet_;
|
|
}
|
|
LA6_: ;
|
|
|
|
#line 161 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimSubInt(result, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_75)) { raiseOverflow(); }; result = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_75); } LA3: ;
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 210 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, humaneName__cUBD2xSovLSX9bSDweJsZOg)(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 211 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 211 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 211 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 211 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*opt).name ? (*opt).name->Sup.len : 0))) goto LA3_;
|
|
result = copyString((*opt).name); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ result = copyString((*opt).abbr); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 1294 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
static N_INLINE(NimStringDesc*, spaces__rssDy7zs9cDeoYTeCoIy0Wgstrutils)(NI n_0) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 1295 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
|
|
#line 1312 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
|
|
#line 1312 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/strutils.nim"
|
|
result = nsuRepeatChar(32, n_0); return result;}
|
|
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, writeDesc__StjU5vYwOmXMx1Zc9aCFqpQ)(NimStringDesc** help, tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* appInfo, NimStringDesc* desc_0) { NI descIndent; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_82; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_83; NI remainingColumns; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_84;
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(((NI) 5), (*appInfo).namesWidth, &TM__9bPZS8ds69cDDm8QtLGuVTHw_82)) { raiseOverflow(); }; if (nimAddInt((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_82), ((NI) 2), &TM__9bPZS8ds69cDDm8QtLGuVTHw_83)) { raiseOverflow(); }; descIndent = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_83);
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 221 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimSubInt((*appInfo).terminalWidth, descIndent, &TM__9bPZS8ds69cDDm8QtLGuVTHw_84)) { raiseOverflow(); }; remainingColumns = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_84);
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI TM__9bPZS8ds69cDDm8QtLGuVTHw_86; NimStringDesc* T5_;
|
|
#line 223 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(remainingColumns < ((NI) 36))) goto LA3_;
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_85));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimSubInt((*appInfo).terminalWidth, ((NI) 2), &TM__9bPZS8ds69cDDm8QtLGuVTHw_86)) { raiseOverflow(); };
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T5_ = (NimStringDesc*)0; T5_ = wrapWords__T8gYSir9ao1V9bYDExwUzAPg(desc_0, (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_86), NIM_TRUE, TM__9bPZS8ds69cDDm8QtLGuVTHw_87, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_85));
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, T5_);
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 224 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ NI wrappingWidth; NimStringDesc* T7_; NimStringDesc* T8_; NimStringDesc* T9_; NimStringDesc* T10_;
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
wrappingWidth = ((remainingColumns <= ((NI) 80)) ? remainingColumns : ((NI) 80));
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_88));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T7_ = (NimStringDesc*)0; T7_ = rawNewString((desc_0 ? desc_0->Sup.len : 0) + 1);appendString(T7_, desc_0);appendString(T7_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_89));
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T8_ = (NimStringDesc*)0;
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((descIndent) < ((NI) 0) || (descIndent) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(descIndent, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T9_ = (NimStringDesc*)0; T9_ = spaces__rssDy7zs9cDeoYTeCoIy0Wgstrutils(((NI) (descIndent))); T8_ = rawNewString((T9_ ? T9_->Sup.len : 0) + 1);appendString(T8_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));appendString(T8_, T9_);
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T10_ = (NimStringDesc*)0; T10_ = wrapWords__T8gYSir9ao1V9bYDExwUzAPg(T7_, wrappingWidth, NIM_TRUE, TM__9bPZS8ds69cDDm8QtLGuVTHw_87, T8_);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, T10_);
|
|
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 228 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
}
|
|
LA1_: ;
|
|
}
|
|
|
|
#line 231 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, describeInvocation__2TlHA3JaAXtInZfAEpuJqg)(NimStringDesc** help, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NimStringDesc* cmdInvocation, tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* appInfo) { NI longestArg; NIM_BOOL argsSectionStarted;
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setStyle__y8lW2LrW2n5ZHaxH9bAf4WA(stdout, 1);
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 36), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, cmdInvocation);
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 234 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
longestArg = ((NI) 0);
|
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI T3_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* subCmdDiscriminator;
|
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 237 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (!(((NI) 0) < T3_)) goto LA4_;
|
|
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T8_;
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T8_ = (NIM_BOOL)0; T8_ = hasOpts__1EMfvmi9c8lQ79bCfRp8uF7A_2(cmd); if (!T8_) goto LA9_;
|
|
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_70));
|
|
}
|
|
LA9_: ;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmdDiscriminator = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA(cmd);
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((subCmdDiscriminator == NIM_NIL))) goto LA13_;
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_71));
|
|
}
|
|
LA13_: ;
|
|
{ tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* arg; arg = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T18_;
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T18_ = (NIM_BOOL)0; T18_ = hasArgs__1EMfvmi9c8lQ79bCfRp8uF7A_3(cmd); if (!T18_) goto LA19_;
|
|
{ NI i; NI colontmp_; NI colontmp__2; NI T22_; NI i_2; i = (NI)0; colontmp_ = (NI)0; colontmp__2 = (NI)0;
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
colontmp_ = firstArgIdx__6J5rosntexlE0qjDswo4VA_2(cmd);
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T22_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); colontmp__2 = T22_;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
i_2 = colontmp_; {
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_78;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_2 < colontmp__2)) goto LA24;
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i = i_2;
|
|
#line 243 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } arg = (*cmd).opts->data[i];
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_76));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, (*arg).name);
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_77));
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 244 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 245 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
longestArg = ((longestArg >= ((*arg).name ? (*arg).name->Sup.len : 0)) ? longestArg : ((*arg).name ? (*arg).name->Sup.len : 0));
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_78)) { raiseOverflow(); }; i_2 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_78); } LA24: ;
|
|
}
|
|
}
|
|
}
|
|
LA19_: ;
|
|
}
|
|
}
|
|
LA4_: ;
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 247 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 249 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*cmd).desc ? (*cmd).desc->Sup.len : 0))) goto LA27_;
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, (*cmd).desc);
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_79));
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 250 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
}
|
|
LA27_: ;
|
|
|
|
#line 252 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
argsSectionStarted = NIM_FALSE; { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* arg_2; arg_2 = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T32_;
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 164 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T32_ = (NIM_BOOL)0; T32_ = hasArgs__1EMfvmi9c8lQ79bCfRp8uF7A_3(cmd); if (!T32_) goto LA33_;
|
|
{ NI i_3; NI colontmp__3; NI colontmp__4; NI T36_; NI i_4; i_3 = (NI)0; colontmp__3 = (NI)0; colontmp__4 = (NI)0;
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
colontmp__3 = firstArgIdx__6J5rosntexlE0qjDswo4VA_2(cmd);
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T36_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); colontmp__4 = T36_;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
i_4 = colontmp__3; {
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_90;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_4 < colontmp__4)) goto LA38;
|
|
|
|
#line 165 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i_3 = i_4;
|
|
#line 254 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_3) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i_3,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } arg_2 = (*cmd).opts->data[i_3];
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* cliArg; NimStringDesc* T47_; NimStringDesc* T48_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_80; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_81; NimStringDesc* T49_;
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 255 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*arg_2).desc ? (*arg_2).desc->Sup.len : 0))) goto LA41_;
|
|
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 256 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!(argsSectionStarted)) goto LA45_;
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 257 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 258 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
argsSectionStarted = NIM_TRUE; }
|
|
LA45_: ;
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T47_ = (NimStringDesc*)0;
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T48_ = (NimStringDesc*)0; T48_ = humaneName__cUBD2xSovLSX9bSDweJsZOg(arg_2); T47_ = rawNewString((T48_ ? T48_->Sup.len : 0) + 3);appendString(T47_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_76));appendString(T47_, T48_);appendString(T47_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_77)); cliArg = T47_;
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setStyle__y8lW2LrW2n5ZHaxH9bAf4WA(stdout, 1);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, cliArg);
|
|
|
|
#line 261 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 261 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(((NI) 6), (*appInfo).namesWidth, &TM__9bPZS8ds69cDDm8QtLGuVTHw_80)) { raiseOverflow(); };
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimSubInt((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_80), (cliArg ? cliArg->Sup.len : 0), &TM__9bPZS8ds69cDDm8QtLGuVTHw_81)) { raiseOverflow(); }; if (((((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_81) >= ((NI) 0)) ? (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_81) : ((NI) 0))) < ((NI) 0) || ((((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_81) >= ((NI) 0)) ? (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_81) : ((NI) 0))) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_81) >= ((NI) 0)) ? (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_81) : ((NI) 0)), ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T49_ = (NimStringDesc*)0; T49_ = spaces__rssDy7zs9cDeoYTeCoIy0Wgstrutils(((NI) ((((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_81) >= ((NI) 0)) ? (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_81) : ((NI) 0)))));
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, T49_);
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 262 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 263 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 263 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
writeDesc__StjU5vYwOmXMx1Zc9aCFqpQ(help, appInfo, (*arg_2).desc);
|
|
|
|
#line 264 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 264 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
}
|
|
LA41_: ;
|
|
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(i_4, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_90)) { raiseOverflow(); }; i_4 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_90); } LA38: ;
|
|
}
|
|
}
|
|
}
|
|
LA33_: ;
|
|
}
|
|
}
|
|
|
|
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, describeOptions__c37SkDol5yqNCDtlLSFI1A)(NimStringDesc** help, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, NimStringDesc* cmdInvocation, tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* appInfo, tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww optionsType) { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* subCmdDiscriminator;
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 275 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = hasOpts__1EMfvmi9c8lQ79bCfRp8uF7A_2(cmd); if (!T3_) goto LA4_;
|
|
|
|
#line 276 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
switch (optionsType) {
|
|
case ((tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww) 0):
|
|
{
|
|
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 278 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_91));
|
|
}
|
|
break;
|
|
case ((tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww) 2):
|
|
{
|
|
#line 280 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 280 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_92));
|
|
}
|
|
break;
|
|
case ((tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww) 1):
|
|
{ }
|
|
break;
|
|
}
|
|
{ tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt; NI i; NI L; NI T10_; opt = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T10_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); L = T10_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_104;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA12;
|
|
|
|
#line 284 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } opt = (*cmd).opts->data[i]; {
|
|
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T16_; NIM_BOOL T17_;
|
|
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T16_ = (NIM_BOOL)0;
|
|
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T17_ = (NIM_BOOL)0;
|
|
#line 285 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T17_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 2)); if (T17_) goto LA18_;
|
|
|
|
#line 286 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T17_ = ((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0)); LA18_: ;
|
|
T16_ = T17_; if (T16_) goto LA19_;
|
|
T16_ = (*opt).isHidden; LA19_: ;
|
|
if (!T16_) goto LA20_;
|
|
|
|
#line 287 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
goto LA13;
|
|
}
|
|
LA20_: ;
|
|
|
|
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 290 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_66));
|
|
|
|
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 292 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*opt).abbr ? (*opt).abbr->Sup.len : 0))) goto LA24_;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setStyle__y8lW2LrW2n5ZHaxH9bAf4WA(stdout, 1);
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_47));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, (*opt).abbr);
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_93));
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 293 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
}
|
|
goto LA22_;
|
|
LA24_: ;
|
|
{ if (!(*appInfo).hasAbbrs) goto LA27_;
|
|
|
|
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 296 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_94));
|
|
}
|
|
goto LA22_;
|
|
LA27_: ;
|
|
LA22_: ;
|
|
|
|
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* switch_1; NimStringDesc* T33_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_95; NimStringDesc* T34_;
|
|
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 298 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*opt).name ? (*opt).name->Sup.len : 0))) goto LA31_;
|
|
|
|
#line 299 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 299 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T33_ = (NimStringDesc*)0; T33_ = rawNewString(((*opt).name ? (*opt).name->Sup.len : 0) + 2);appendString(T33_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_40));appendString(T33_, (*opt).name); switch_1 = T33_;
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setStyle__y8lW2LrW2n5ZHaxH9bAf4WA(stdout, 1);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, switch_1);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 215 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimSubInt((*appInfo).namesWidth, (switch_1 ? switch_1->Sup.len : 0), &TM__9bPZS8ds69cDDm8QtLGuVTHw_95)) { raiseOverflow(); }; if (((((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_95) >= ((NI) 0)) ? (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_95) : ((NI) 0))) < ((NI) 0) || ((((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_95) >= ((NI) 0)) ? (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_95) : ((NI) 0))) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_95) >= ((NI) 0)) ? (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_95) : ((NI) 0)), ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 301 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T34_ = (NimStringDesc*)0; T34_ = spaces__rssDy7zs9cDeoYTeCoIy0Wgstrutils(((NI) ((((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_95) >= ((NI) 0)) ? (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_95) : ((NI) 0)))));
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, T34_);
|
|
|
|
#line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 300 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
}
|
|
goto LA29_;
|
|
LA31_: ;
|
|
{ NI TM__9bPZS8ds69cDDm8QtLGuVTHw_96; NimStringDesc* T36_;
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(((NI) 2), (*appInfo).namesWidth, &TM__9bPZS8ds69cDDm8QtLGuVTHw_96)) { raiseOverflow(); }; if (((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_96)) < ((NI) 0) || ((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_96)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_96), ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T36_ = (NimStringDesc*)0; T36_ = spaces__rssDy7zs9cDeoYTeCoIy0Wgstrutils(((NI) ((NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_96))));
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, T36_);
|
|
|
|
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 303 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
}
|
|
LA29_: ;
|
|
|
|
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* T41_;
|
|
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 305 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*opt).desc ? (*opt).desc->Sup.len : 0))) goto LA39_;
|
|
|
|
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T41_ = (NimStringDesc*)0; T41_ = nsuReplaceStr((*opt).desc, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_97), (*opt).typename_0);
|
|
#line 306 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
writeDesc__StjU5vYwOmXMx1Zc9aCFqpQ(help, appInfo, T41_);
|
|
}
|
|
LA39_: ;
|
|
|
|
#line 308 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 308 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 310 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!((*opt).kind == ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 0))) goto LA44_;
|
|
{ NI i_2; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* subCmd; tySequence__ko9cxbrFH52ahk32IABzgRg* colontmp_; NI i_3; NI L_2; NI T47_; i_2 = (NI)0; subCmd = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0; colontmp_ = (tySequence__ko9cxbrFH52ahk32IABzgRg*)0;
|
|
#line 311 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*opt).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); } colontmp_ = (*opt)._kind_1.subCmds;
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_3 = ((NI) 0);
|
|
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T47_ = (colontmp_ ? colontmp_->Sup.len : 0); L_2 = T47_; {
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_102;
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_3 < L_2)) goto LA49;
|
|
|
|
#line 311 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i_2 = i_3;
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if ((NU)(i_3) >= (NU)(colontmp_ ? colontmp_->Sup.len : 0)){ raiseIndexError2(i_3,(colontmp_ ? colontmp_->Sup.len : 0)-1); } subCmd = colontmp_->data[i_3]; { NimStringDesc* T56_;
|
|
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T53_;
|
|
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T53_ = (NIM_BOOL)0; T53_ = hasOpts__1EMfvmi9c8lQ79bCfRp8uF7A_2(subCmd); if (!!(T53_)) goto LA54_;
|
|
|
|
#line 312 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
goto LA50;
|
|
}
|
|
LA54_: ;
|
|
|
|
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_98));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setStyle__y8lW2LrW2n5ZHaxH9bAf4WA(stdout, 1);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T56_ = (NimStringDesc*)0; T56_ = humaneName__cUBD2xSovLSX9bSDweJsZOg(opt);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, T56_);
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_99));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 32), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, (*subCmd).name);
|
|
|
|
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 314 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*opt).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_100)); } if (!(i_2 == (*opt)._kind_1.defaultSubCmd)) goto LA59_;
|
|
|
|
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 316 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_101));
|
|
}
|
|
LA59_: ;
|
|
|
|
#line 317 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 317 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
describeOptions__c37SkDol5yqNCDtlLSFI1A(help, subCmd, cmdInvocation, appInfo, ((tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww) 2));
|
|
} LA50: ;
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_3, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_102)) { raiseOverflow(); }; i_3 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_102);
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T63_;
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T63_ = (colontmp_ ? colontmp_->Sup.len : 0); if (!!((T63_ == L_2))) goto LA64_;
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_103));
|
|
}
|
|
LA64_: ;
|
|
} LA49: ;
|
|
}
|
|
}
|
|
}
|
|
LA44_: ;
|
|
} LA13: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_104)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_104);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T68_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T68_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (!!((T68_ == L))) goto LA69_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA69_: ;
|
|
} LA12: ;
|
|
}
|
|
}
|
|
}
|
|
LA4_: ;
|
|
|
|
#line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 319 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmdDiscriminator = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA(cmd);
|
|
#line 320 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI defaultCmdIdx;
|
|
#line 320 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 320 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((subCmdDiscriminator == NIM_NIL))) goto LA73_;
|
|
|
|
#line 321 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_100)); } defaultCmdIdx = (*subCmdDiscriminator)._kind_1.defaultSubCmd;
|
|
#line 322 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* defaultCmd;
|
|
#line 322 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 322 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((defaultCmdIdx == ((NI) -1)))) goto LA77_;
|
|
|
|
#line 323 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); } if ((NU)(defaultCmdIdx) >= (NU)((*subCmdDiscriminator)._kind_1.subCmds ? (*subCmdDiscriminator)._kind_1.subCmds->Sup.len : 0)){ raiseIndexError2(defaultCmdIdx,((*subCmdDiscriminator)._kind_1.subCmds ? (*subCmdDiscriminator)._kind_1.subCmds->Sup.len : 0)-1); } defaultCmd = (*subCmdDiscriminator)._kind_1.subCmds->data[defaultCmdIdx];
|
|
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 324 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
describeOptions__c37SkDol5yqNCDtlLSFI1A(help, defaultCmd, cmdInvocation, appInfo, ((tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww) 1));
|
|
}
|
|
LA77_: ;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 33), NIM_FALSE);
|
|
|
|
#line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_105));
|
|
|
|
#line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 326 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
{ NI i_4; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* subCmd_2; tySequence__ko9cxbrFH52ahk32IABzgRg* colontmp__2; NI i_5; NI L_3; NI T80_; i_4 = (NI)0; subCmd_2 = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0; colontmp__2 = (tySequence__ko9cxbrFH52ahk32IABzgRg*)0;
|
|
#line 328 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); } colontmp__2 = (*subCmdDiscriminator)._kind_1.subCmds;
|
|
#line 117 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_5 = ((NI) 0);
|
|
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T80_ = (colontmp__2 ? colontmp__2->Sup.len : 0); L_3 = T80_; {
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_106;
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_5 < L_3)) goto LA82;
|
|
|
|
#line 328 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i_4 = i_5;
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if ((NU)(i_5) >= (NU)(colontmp__2 ? colontmp__2->Sup.len : 0)){ raiseIndexError2(i_5,(colontmp__2 ? colontmp__2->Sup.len : 0)-1); } subCmd_2 = colontmp__2->data[i_5];
|
|
#line 329 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* subCmdInvocation; NimStringDesc* T87_;
|
|
#line 329 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 329 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_100)); } if (!!((i_4 == (*subCmdDiscriminator)._kind_1.defaultSubCmd))) goto LA85_;
|
|
|
|
#line 330 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 330 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T87_ = (NimStringDesc*)0; T87_ = rawNewString((cmdInvocation ? cmdInvocation->Sup.len : 0) + ((*subCmd_2).name ? (*subCmd_2).name->Sup.len : 0) + 1);appendString(T87_, cmdInvocation);appendString(T87_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_66));appendString(T87_, (*subCmd_2).name); subCmdInvocation = T87_;
|
|
#line 331 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 331 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
describeInvocation__2TlHA3JaAXtInZfAEpuJqg(help, subCmd_2, subCmdInvocation, appInfo);
|
|
|
|
#line 332 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 332 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
describeOptions__c37SkDol5yqNCDtlLSFI1A(help, subCmd_2, subCmdInvocation, appInfo, ((tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww) 0));
|
|
}
|
|
LA85_: ;
|
|
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_5, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_106)) { raiseOverflow(); }; i_5 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_106);
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T90_;
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T90_ = (colontmp__2 ? colontmp__2->Sup.len : 0); if (!!((T90_ == L_3))) goto LA91_;
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_103));
|
|
}
|
|
LA91_: ;
|
|
} LA82: ;
|
|
}
|
|
}
|
|
}
|
|
LA73_: ;
|
|
}
|
|
|
|
#line 334 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, showHelp__FhEhQ2fXISR3PysDDadMqA)(NimStringDesc** help, tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* appInfo, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** activeCmds, NI activeCmdsLen_0) { tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_65; NimStringDesc* cmdInvocation;
|
|
#line 337 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 337 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 337 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*appInfo).copyrightBanner ? (*appInfo).copyrightBanner->Sup.len : 0))) goto LA3_;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, (*appInfo).copyrightBanner);
|
|
|
|
#line 338 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 338 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_59));
|
|
|
|
#line 338 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 338 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 340 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmd = X5BX5D___HbndVVoautY9atM2E7BfDogsystem(activeCmds, activeCmdsLen_0, ((NI) 1));
|
|
#line 342 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 342 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*appInfo).maxNameLen = maxNameLen__6J5rosntexlE0qjDswo4VA(cmd);
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 343 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*appInfo).hasAbbrs = hasAbbrs__1EMfvmi9c8lQ79bCfRp8uF7A(cmd);
|
|
#line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 344 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*appInfo).terminalWidth = terminalWidth__s9bdJLFVciGfQ0i2sQaMF1g();
|
|
#line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 345 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (nimAddInt(((((NI) 18) <= (*appInfo).maxNameLen) ? ((NI) 18) : (*appInfo).maxNameLen), ((NI) 6), &TM__9bPZS8ds69cDDm8QtLGuVTHw_65)) { raiseOverflow(); }; (*appInfo).namesWidth = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_65);
|
|
#line 347 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmdInvocation = copyString((*appInfo).appInvocation); { NI i; NI colontmp_; NI i_2; i = (NI)0; colontmp_ = (NI)0;
|
|
#line 348 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 348 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
colontmp_ = activeCmdsLen_0;
|
|
#line 106 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
i_2 = ((NI) 1); {
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_67;
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(i_2 < colontmp_)) goto LA7;
|
|
|
|
#line 348 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i = i_2;
|
|
#line 349 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmdInvocation = resizeString(cmdInvocation, 1);appendString(cmdInvocation, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_66));
|
|
#line 350 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)(activeCmdsLen_0)){ raiseIndexError2(i,activeCmdsLen_0-1); } cmdInvocation = resizeString(cmdInvocation, ((*activeCmds[i]).name ? (*activeCmds[i]).name->Sup.len : 0) + 0);appendString(cmdInvocation, (*activeCmds[i]).name);
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimAddInt(i_2, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_67)) { raiseOverflow(); }; i_2 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_67); } LA7: ;
|
|
}
|
|
}
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stdout, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 33), NIM_FALSE);
|
|
|
|
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_68));
|
|
|
|
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 353 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 354 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
describeInvocation__2TlHA3JaAXtInZfAEpuJqg(help, cmd, cmdInvocation, appInfo);
|
|
|
|
#line 355 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 355 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
describeOptions__c37SkDol5yqNCDtlLSFI1A(help, cmd, cmdInvocation, appInfo, ((tyEnum_OptionsType__DesGwlzxtRh9cu2azc9a3dww) 0));
|
|
|
|
#line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 356 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 358 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 358 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
exit(((NI) 0));
|
|
}
|
|
static N_NIMCALL(void, Marker_tyRef__QtCxK3OkpAyy8Hko1P0lMw)(void* p, NI op) {
|
|
tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* a;
|
|
a = (tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*)p;
|
|
nimGCvisit((void*)(*a).appInvocation, op); nimGCvisit((void*)(*a).copyrightBanner, op);}
|
|
|
|
#line 913 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_CLOSURE(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*, lazyHelpAppInfo__LQeQV1hZ5ot9a9btNTBBCt2Q)(void* ClE_0) { tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* result; tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A* colonenvP_; tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* T1_; NimStringDesc* T2_; NimStringDesc* T3_; tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T4_; NimStringDesc* T5_; result = (tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*)0; colonenvP_ = (tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A*) ClE_0;
|
|
#line 914 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T1_ = (tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*)0; T1_ = (tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*) newObj((&NTI__QtCxK3OkpAyy8Hko1P0lMw_), sizeof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw)); T2_ = (NimStringDesc*)0; T2_ = (*T1_).copyrightBanner; (*T1_).copyrightBanner = copyStringRC1((*colonenvP_).copyrightBanner1); if (T2_) nimGCunrefNoCycle(T2_);
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = (NimStringDesc*)0; T3_ = nosgetAppFilename();
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T4_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg)); nossplitFile(T3_, (&T4_));
|
|
T5_ = (NimStringDesc*)0; T5_ = (*T1_).appInvocation; (*T1_).appInvocation = copyStringRC1(T4_.Field1); if (T5_) nimGCunrefNoCycle(T5_); result = T1_; return result;}
|
|
|
|
#line 107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
static N_INLINE(void, pushSafePoint)(TSafePoint* s) {
|
|
#line 108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
(*s).prev = excHandler__rqLlY5bs9atDw2OXYqJEn5g;
|
|
#line 109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
excHandler__rqLlY5bs9atDw2OXYqJEn5g = s;}
|
|
|
|
#line 101 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(void, some__sgddJT1RdlkGeWdlq9cgU0Aoptions)(NimStringDesc* val_0, tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result) { chckNil((void*)Result); unsureAsgnRef((void**)&(*Result).val, NIM_NIL); (*Result).has = 0;
|
|
#line 121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
(*Result).has = NIM_TRUE;
|
|
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
unsureAsgnRef((void**) (&(*Result).val), copyString(val_0));}
|
|
|
|
#line 111 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
static N_INLINE(void, popSafePoint)(void) {
|
|
#line 112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
excHandler__rqLlY5bs9atDw2OXYqJEn5g = (*excHandler__rqLlY5bs9atDw2OXYqJEn5g).prev;}
|
|
|
|
#line 2297 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(NimStringDesc*, getCurrentExceptionMsg__jLt3ACHcgYt9bbV4Vf9a5mgwsystem)(void) { NimStringDesc* result;{ result = (NimStringDesc*)0;
|
|
#line 2300 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2300 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2300 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
{
|
|
#line 2300 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
if (!(currException__9bVPeDJlYTi9bQApZpfH8wjg == NIM_NIL)) goto LA3_;
|
|
result = ((NimStringDesc*) NIM_NIL); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ result = copyString((*currException__9bVPeDJlYTi9bQApZpfH8wjg).message); }
|
|
LA1_: ;
|
|
goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 774 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg)(void) { NimStringDesc* T1_; tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T2_; NimStringDesc* T3_;
|
|
#line 775 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 775 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_114));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stderr, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 36), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 775 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T1_ = (NimStringDesc*)0; T1_ = nosgetAppFilename();
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T2_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg)); nossplitFile(T1_, (&T2_));
|
|
|
|
#line 775 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T3_ = (NimStringDesc*)0; T3_ = nsuFormatSingleElem(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_115), T2_.Field1);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T3_);
|
|
|
|
#line 775 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 775 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 776 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 776 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_116));
|
|
|
|
#line 777 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 777 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
exit(((NI) 1));
|
|
}
|
|
|
|
#line 119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
static N_INLINE(void, popCurrentException)(void) {
|
|
#line 120 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/excpt.nim"
|
|
asgnRef((void**) (&currException__9bVPeDJlYTi9bQApZpfH8wjg), (*currException__9bVPeDJlYTi9bQApZpfH8wjg).up);}
|
|
|
|
#line 367 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, noMoreArgsError__9bQXNBN49b7LVtjI9bNM17nZw)(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 368 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 368 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyArray__nHXaesL0DJZHyVS07ARPRA T5_;
|
|
#line 368 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*cmd).name ? (*cmd).name->Sup.len : 0))) goto LA3_;
|
|
|
|
#line 368 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)T5_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T5_[0] = copyString((*cmd).name);
|
|
#line 368 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = nsuFormatOpenArray(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_123), T5_, 1); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{ NimStringDesc* T7_; tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T8_;
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T7_ = (NimStringDesc*)0; T7_ = nosgetAppFilename();
|
|
#line 94 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T8_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg)); nossplitFile(T7_, (&T8_));
|
|
result = copyString(T8_.Field1); }
|
|
LA1_: ;
|
|
|
|
#line 370 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = resizeString(result, 16);appendString(result, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_124));
|
|
#line 371 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T11_;
|
|
#line 371 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 371 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T11_ = (NIM_BOOL)0; T11_ = hasArgs__1EMfvmi9c8lQ79bCfRp8uF7A_3(cmd); if (!T11_) goto LA12_;
|
|
|
|
#line 371 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = resizeString(result, 11);appendString(result, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_125)); }
|
|
LA12_: ;
|
|
|
|
#line 372 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
result = resizeString(result, 10);appendString(result, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_126)); return result;}
|
|
|
|
#line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(void, none__buJJ9ajp0wuYthKYXnCpQagoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result) { chckNil((void*)Result); unsureAsgnRef((void**)&(*Result).val, NIM_NIL); (*Result).has = 0;}
|
|
|
|
#line 139 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
static N_INLINE(void, none__tDzNOHmZeOXSXxERuUcd8Qoptions)(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A* Result) {
|
|
#line 140 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
|
|
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/options.nim"
|
|
none__buJJ9ajp0wuYthKYXnCpQagoptions(Result);
|
|
}
|
|
|
|
#line 805 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_CLOSURE(void, processMissingOpts__9aIZLFGqaA6gzmcHSXeUWlw)(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* conf, tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd, void* ClE_0) { tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A* colonenvP_; colonenvP_ = (tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A*) ClE_0; { tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt; NI i; NI L; NI T2_; opt = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T2_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); L = T2_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_132;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA4;
|
|
|
|
#line 806 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)((*cmd).opts ? (*cmd).opts->Sup.len : 0)){ raiseIndexError2(i,((*cmd).opts ? (*cmd).opts->Sup.len : 0)-1); } opt = (*cmd).opts->data[i];
|
|
#line 807 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 807 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*opt).idx) > (NU)(2)){ raiseIndexError2((*opt).idx, 2); } if (!((*colonenvP_).fieldCounters2[((*opt).idx)- 0] == ((NI) 0))) goto LA7_;
|
|
|
|
#line 808 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T11_;
|
|
#line 808 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T11_ = (NIM_BOOL)0; if ((NU)((*opt).idx) > (NU)(2)){ raiseIndexError2((*opt).idx, 2); } T11_ = (*colonenvP_).fieldSetters3[((*opt).idx)- 0].Field3; if (!(T11_)) goto LA12_;
|
|
|
|
#line 803 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T11_ = !((*opt).hasDefault); LA12_: ;
|
|
if (!T11_) goto LA13_;
|
|
|
|
#line 809 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyArray__nHXaesL0DJZHyVS07ARPRA T19_; NimStringDesc* T20_; if (!(*colonenvP_).quitOnFailure4) goto LA17_;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 809 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)T19_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T19_[0] = copyString((*opt).name);
|
|
#line 809 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T20_ = (NimStringDesc*)0; T20_ = nsuFormatOpenArray(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_131), T19_, 1);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T20_);
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg();
|
|
}
|
|
goto LA15_;
|
|
LA17_: ;
|
|
{ tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg* T22_; T22_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*)0; T22_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*) newObj((&NTI__QPnWKpN30j0Noc1fJU42oQ_), sizeof(tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg)); (*T22_).Sup.Sup.Sup.m_type = (&NTI__2OTe7rmocWIIjZ8nziTAfg_); (*T22_).Sup.Sup.name = "ConfigurationError"; asgnRef((void**) (&(*T22_).Sup.Sup.message), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T22_).Sup.Sup.parent), NIM_NIL);
|
|
#line 786 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
raiseExceptionEx((Exception*)T22_, "ConfigurationError", "processMissingOpts", "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confut"
|
|
"ils.nim", 786); }
|
|
LA15_: ;
|
|
}
|
|
goto LA9_;
|
|
LA13_: ;
|
|
{ NIM_BOOL T24_;
|
|
#line 810 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*opt).idx) > (NU)(2)){ raiseIndexError2((*opt).idx, 2); }
|
|
#line 810 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T24_ = (NIM_BOOL)0; T24_ = (*colonenvP_).configFile5.setters[((*opt).idx)- 0](conf, (*colonenvP_).configFile5); if (!T24_) goto LA25_;
|
|
}
|
|
goto LA9_;
|
|
LA25_: ;
|
|
{ tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A T30_; if (!(*opt).hasDefault) goto LA28_;
|
|
|
|
#line 815 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*opt).idx) > (NU)(2)){ raiseIndexError2((*opt).idx, 2); }
|
|
#line 815 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 815 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T30_), sizeof(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A)); none__tDzNOHmZeOXSXxERuUcd8Qoptions((&T30_));
|
|
|
|
#line 815 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*colonenvP_).fieldSetters3[((*opt).idx)- 0].Field1(conf, T30_);
|
|
}
|
|
goto LA9_;
|
|
LA28_: ;
|
|
LA9_: ;
|
|
}
|
|
LA7_: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_132)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_132);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T33_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T33_ = ((*cmd).opts ? (*cmd).opts->Sup.len : 0); if (!!((T33_ == L))) goto LA34_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA34_: ;
|
|
} LA4: ;
|
|
}
|
|
}
|
|
}
|
|
|
|
#line 737 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA, load__5MraIuzeomh9bit9c3uMI0Eg)(tySequence__sM4lkSb7zS6F7OVMvW9cffQ* cmdLine_0, NimStringDesc* version_0, NimStringDesc* copyrightBanner, NIM_BOOL printUsage, NIM_BOOL quitOnFailure) { tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA result; tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A* colonenv_; NimStringDesc* T1_; tyTuple__Zh5FVh6fsI3mU9aZaTagf2A colontmp_; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* T2_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* T3_; NimStringDesc* T4_; NimStringDesc* T5_; NimStringDesc* T6_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* T7_; NimStringDesc* T8_; NimStringDesc* T9_; NimStringDesc* T10_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* T11_; NimStringDesc* T12_; NimStringDesc* T13_; NimStringDesc* T14_; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* rootCmd; tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA* confAddr; tySequence__ko9cxbrFH52ahk32IABzgRg* activeCmds; NI nextArgIdx; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T15_; NimStringDesc* help; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* completion; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* subCmdDiscriminator_4; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T291_;{ nimZeroMem((void*)(&result), sizeof(tyObject_WakuNetworkConf__qdr4chqQQ42iMEr84AYzoA)); colonenv_ = (tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A*)0;
|
|
#line 230 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
colonenv_ = (tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A*) newObj((&NTI__cdxOIR9bDQ70vEw9az6WJodQ_), sizeof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A)); (*colonenv_).Sup.m_type = (&NTI__bu2hgFsJD7ZDOn63GIXo2A_);
|
|
#line 740 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T1_ = (NimStringDesc*)0; T1_ = (*colonenv_).copyrightBanner1; (*colonenv_).copyrightBanner1 = copyStringRC1(copyrightBanner); if (T1_) nimGCunrefNoCycle(T1_);
|
|
#line 742 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*colonenv_).quitOnFailure4 = quitOnFailure;
|
|
#line 759 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 759 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
appendConfigFileFormats__5SBe0I4ztYyDrn0ctWOO3g();
|
|
nimZeroMem((void*)(&colontmp_), sizeof(tyTuple__Zh5FVh6fsI3mU9aZaTagf2A));
|
|
#line 761 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T2_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0; T2_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*) newObj((&NTI__6TS6DQKShZRw32kbyabYRw_), sizeof(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg)); asgnRef((void**) (&(*T2_).name), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T2_).desc), ((NimStringDesc*) NIM_NIL)); (*T2_).isHidden = NIM_FALSE;
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
if ((*T2_).opts) { nimGCunrefNoCycle((*T2_).opts); (*T2_).opts = NIM_NIL; } (*T2_).opts = (tySequence__iU42g6hoJmYMsd12KeuYtQ*) newSeqRC1((&NTI__iU42g6hoJmYMsd12KeuYtQ_), 3); T3_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0; T3_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*) newObj((&NTI__fFbH9acUqQ9cpmgG4EsVlJow_), sizeof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ)); T4_ = (NimStringDesc*)0; T4_ = (*T3_).name; (*T3_).name = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_12)); if (T4_) nimGCunrefNoCycle(T4_); asgnRef((void**) (&(*T3_).abbr), ((NimStringDesc*) NIM_NIL)); T5_ = (NimStringDesc*)0; T5_ = (*T3_).desc; (*T3_).desc = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_13)); if (T5_) nimGCunrefNoCycle(T5_); T6_ = (NimStringDesc*)0; T6_ = (*T3_).typename_0; (*T3_).typename_0 = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_14)); if (T6_) nimGCunrefNoCycle(T6_); (*T3_).idx = ((NI) 0); (*T3_).hasDefault = NIM_TRUE; (*T3_).isHidden = NIM_FALSE; (*T3_).kind = ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 1); asgnRef((void**) (&(*T2_).opts->data[0]), T3_); T7_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0; T7_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*) newObj((&NTI__fFbH9acUqQ9cpmgG4EsVlJow_), sizeof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ)); T8_ = (NimStringDesc*)0; T8_ = (*T7_).name; (*T7_).name = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_15)); if (T8_) nimGCunrefNoCycle(T8_); asgnRef((void**) (&(*T7_).abbr), ((NimStringDesc*) NIM_NIL)); T9_ = (NimStringDesc*)0; T9_ = (*T7_).desc; (*T7_).desc = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_16)); if (T9_) nimGCunrefNoCycle(T9_); T10_ = (NimStringDesc*)0; T10_ = (*T7_).typename_0; (*T7_).typename_0 = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_17)); if (T10_) nimGCunrefNoCycle(T10_); (*T7_).idx = ((NI) 1); (*T7_).hasDefault = NIM_TRUE; (*T7_).isHidden = NIM_FALSE; (*T7_).kind = ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 1); asgnRef((void**) (&(*T2_).opts->data[1]), T7_); T11_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0; T11_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*) newObj((&NTI__fFbH9acUqQ9cpmgG4EsVlJow_), sizeof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ)); T12_ = (NimStringDesc*)0; T12_ = (*T11_).name; (*T11_).name = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_18)); if (T12_) nimGCunrefNoCycle(T12_); asgnRef((void**) (&(*T11_).abbr), ((NimStringDesc*) NIM_NIL)); T13_ = (NimStringDesc*)0; T13_ = (*T11_).desc; (*T11_).desc = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_19)); if (T13_) nimGCunrefNoCycle(T13_); T14_ = (NimStringDesc*)0; T14_ = (*T11_).typename_0; (*T11_).typename_0 = copyStringRC1(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_17)); if (T14_) nimGCunrefNoCycle(T14_); (*T11_).idx = ((NI) 2); (*T11_).hasDefault = NIM_TRUE; (*T11_).isHidden = NIM_FALSE; (*T11_).kind = ((tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg) 1); asgnRef((void**) (&(*T2_).opts->data[2]), T11_); colontmp_.Field0 = T2_; colontmp_.Field1[0].Field0 = copyString(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_12)); colontmp_.Field1[0].Field1 = topologySetter__NcmUNGT7jj2uEdeOGqUSaw; colontmp_.Field1[0].Field2 = topologyComplete__XTFhPGJFE71zH5PxYXfsPA;
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
colontmp_.Field1[0].Field3 = requiresInput__3CWh9b9bO8grbQuWplgh4pJQ();
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
|
|
#line 25 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
colontmp_.Field1[0].Field4 = acceptsMultipleValues__3CWh9b9bO8grbQuWplgh4pJQ_2(); colontmp_.Field1[1].Field0 = copyString(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_15)); colontmp_.Field1[1].Field1 = amountSetter__cAIx6nfDz9ae5kXhsWLW65g; colontmp_.Field1[1].Field2 = amountComplete__9a7mI2izoPQ0SX9a0OYwINfQ;
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
colontmp_.Field1[1].Field3 = requiresInput__hPUUqQSW7QSUVpQRIGlrhQ();
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
|
|
#line 30 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
colontmp_.Field1[1].Field4 = acceptsMultipleValues__hPUUqQSW7QSUVpQRIGlrhQ_2(); colontmp_.Field1[2].Field0 = copyString(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_18)); colontmp_.Field1[2].Field1 = testNodePeersSetter__jmbNOGQwKSMtbnx0pJ9cC3Q; colontmp_.Field1[2].Field2 = testNodePeersComplete__HzLRgUwd6RQO6BPFw8PN9cw;
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
colontmp_.Field1[2].Field3 = requiresInput__hPUUqQSW7QSUVpQRIGlrhQ();
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
|
|
#line 35 "/home/runner/work/nim-waku/nim-waku/waku/v1/node/start_network.nim"
|
|
colontmp_.Field1[2].Field4 = acceptsMultipleValues__hPUUqQSW7QSUVpQRIGlrhQ_2();
|
|
#line 761 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
rootCmd = colontmp_.Field0;
|
|
#line 761 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
genericAssign((void*)(*colonenv_).fieldSetters3, (void*)colontmp_.Field1, (&NTI__29bZ8dG03OxJ5SCZkXEfkHA_));
|
|
#line 762 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(*colonenv_).fieldCounters2, sizeof(tyArray__Bd4h7Ocx9bGTvrKzPIWNlHw));
|
|
#line 763 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
|
|
#line 141 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/config_file.nim"
|
|
(*colonenv_).configFile5 = load__sxErOmoo9craVD1nxNgYPag();
|
|
#line 767 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
confAddr = (&result);
|
|
#line 768 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 768 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
activeCmds = (tySequence__ko9cxbrFH52ahk32IABzgRg*) newSeq((&NTI__ko9cxbrFH52ahk32IABzgRg_), 1); asgnRef((void**) (&activeCmds->data[0]), rootCmd);
|
|
#line 770 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 770 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 770 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T15_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T15_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0), ((NI) 1));
|
|
#line 770 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nextArgIdx = getNextArgIdx__SvGxRxElX54hx27hqM0kXQ((*T15_), ((NI) -1));
|
|
#line 772 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
help = ((NimStringDesc*) NIM_NIL);
|
|
#line 854 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 854 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
completion = splitCompletionLine__aPGFUMgkFd0kCjcLUuEb4w();
|
|
#line 856 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI T18_; tySequence__ko9cxbrFH52ahk32IABzgRg* cmdStack; NimStringDesc* cur_word; NimStringDesc* prev_word; NimStringDesc* prev_prev_word;
|
|
#line 856 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 856 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 856 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T18_ = (completion ? completion->Sup.len : 0); if (!!((T18_ == ((NI) 0)))) goto LA19_;
|
|
|
|
#line 857 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 857 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmdStack = (tySequence__ko9cxbrFH52ahk32IABzgRg*) newSeq((&NTI__ko9cxbrFH52ahk32IABzgRg_), 1); asgnRef((void**) (&cmdStack->data[0]), rootCmd); { NimStringDesc* tok; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* colontmp__2; tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA T22_; NI i; NI L; NI T23_; tok = (NimStringDesc*)0; colontmp__2 = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
|
|
#line 860 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 860 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 860 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T22_ = dotdot___xNR8BVBMWzS9bXXNMikmyLgsystem(((NI) 1), ((NI) 1));
|
|
#line 860 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
colontmp__2 = X5BX5D___dxs1m8X8HLcMK21WAkRfcw(completion->data, (completion ? completion->Sup.len : 0), T22_);
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T23_ = (colontmp__2 ? colontmp__2->Sup.len : 0); L = T23_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_37;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i < L)) goto LA25;
|
|
|
|
#line 860 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i) >= (NU)(colontmp__2 ? colontmp__2->Sup.len : 0)){ raiseIndexError2(i,(colontmp__2 ? colontmp__2->Sup.len : 0)-1); } tok = colontmp__2->data[i];
|
|
#line 861 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T28_; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* subCmd; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T31_;
|
|
#line 861 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 861 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 861 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T28_ = (NIM_BOOL)0; T28_ = startsWith__pzWhhH9b6ehBmuu1oOe9cBuQstrutils(tok, 45); if (!!(T28_)) goto LA29_;
|
|
|
|
#line 862 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 862 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 862 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T31_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T31_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(cmdStack->data, (cmdStack ? cmdStack->Sup.len : 0), ((NI) 1));
|
|
#line 862 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmd = findSubCmd__nf6l8SxHMidtlJ5o7ngTvw((*T31_), tok);
|
|
#line 863 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI T36_;
|
|
#line 863 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 863 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((subCmd == NIM_NIL))) goto LA34_;
|
|
|
|
#line 863 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmdStack = (tySequence__ko9cxbrFH52ahk32IABzgRg*) incrSeqV3((TGenericSeq*)(cmdStack), (&NTI__ko9cxbrFH52ahk32IABzgRg_)); T36_ = cmdStack->Sup.len++; asgnRef((void**) (&cmdStack->data[T36_]), subCmd); }
|
|
LA34_: ;
|
|
}
|
|
LA29_: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_37)) { raiseOverflow(); }; i = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_37);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T39_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T39_ = (colontmp__2 ? colontmp__2->Sup.len : 0); if (!!((T39_ == L))) goto LA40_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA40_: ;
|
|
} LA25: ;
|
|
}
|
|
}
|
|
|
|
#line 865 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 865 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cur_word = X5BX5D___j0Z1d16G1eC5eFkDa00ZFwsystem(completion->data, (completion ? completion->Sup.len : 0), ((NI) 1));
|
|
#line 866 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 866 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI T44_;
|
|
#line 866 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 866 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T44_ = (completion ? completion->Sup.len : 0); if (!(((NI) 2) < T44_)) goto LA45_;
|
|
|
|
#line 866 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 866 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
prev_word = X5BX5D___j0Z1d16G1eC5eFkDa00ZFwsystem(completion->data, (completion ? completion->Sup.len : 0), ((NI) 2)); }
|
|
goto LA42_;
|
|
LA45_: ;
|
|
{ prev_word = ((NimStringDesc*) NIM_NIL); }
|
|
LA42_: ;
|
|
|
|
#line 867 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 867 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI T50_;
|
|
#line 867 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 867 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T50_ = (completion ? completion->Sup.len : 0); if (!(((NI) 3) < T50_)) goto LA51_;
|
|
|
|
#line 867 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 867 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
prev_prev_word = X5BX5D___j0Z1d16G1eC5eFkDa00ZFwsystem(completion->data, (completion ? completion->Sup.len : 0), ((NI) 3)); }
|
|
goto LA48_;
|
|
LA51_: ;
|
|
{ prev_prev_word = ((NimStringDesc*) NIM_NIL); }
|
|
LA48_: ;
|
|
|
|
#line 869 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T56_; NIM_BOOL isFullName; NimStringDesc* option_word;
|
|
#line 869 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 869 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T56_ = (NIM_BOOL)0; T56_ = startsWith__pzWhhH9b6ehBmuu1oOe9cBuQstrutils(cur_word, 45); if (!T56_) goto LA57_;
|
|
|
|
#line 871 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 871 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
isFullName = nsuStartsWith(cur_word, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_40));
|
|
#line 872 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
option_word = copyString(cur_word);
|
|
#line 873 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 873 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nsuRemovePrefixChar((&option_word), 45);
|
|
{ NI i_2; NI colontmp__3; NI T60_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_41; NI res; i_2 = (NI)0; colontmp__3 = (NI)0;
|
|
#line 875 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 875 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 875 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T60_ = (cmdStack ? cmdStack->Sup.len : 0); if (nimSubInt(T60_, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_41)) { raiseOverflow(); }; colontmp__3 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_41);
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
res = colontmp__3; {
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { tySet_tyEnum_ArgKindFilter__zfMyS5XK5iNZ9c4y4e7MBGA argFilter; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_49;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(((NI) 0) <= res)) goto LA62;
|
|
|
|
#line 875 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i_2 = res;
|
|
#line 876 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 877 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ if (!isFullName) goto LA65_;
|
|
argFilter = 1; }
|
|
goto LA63_;
|
|
LA65_: ;
|
|
{
|
|
#line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 879 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 1) < (cur_word ? cur_word->Sup.len : 0))) goto LA68_;
|
|
argFilter = 2; }
|
|
goto LA63_;
|
|
LA68_: ;
|
|
{ argFilter = 3; }
|
|
LA63_: ;
|
|
|
|
#line 886 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_2) >= (NU)(cmdStack ? cmdStack->Sup.len : 0)){ raiseIndexError2(i_2,(cmdStack ? cmdStack->Sup.len : 0)-1); }
|
|
#line 886 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
showMatchingOptions__IFFg9aRIFt3czvLCp1rlIvw(cmdStack->data[i_2], option_word, argFilter);
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimSubInt(res, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_49)) { raiseOverflow(); }; res = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_49); } LA62: ;
|
|
}
|
|
}
|
|
}
|
|
goto LA54_;
|
|
LA57_: ;
|
|
{ NIM_BOOL T72_; NIM_BOOL T74_; NimStringDesc* option_word_2; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt;
|
|
#line 887 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T72_ = (NIM_BOOL)0;
|
|
#line 887 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 887 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T72_ = startsWith__pzWhhH9b6ehBmuu1oOe9cBuQstrutils(prev_word, 45); if (T72_) goto LA73_;
|
|
|
|
#line 888 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T74_ = (NIM_BOOL)0;
|
|
#line 888 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T74_ = eqStrings(prev_word, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_44)); if (!(T74_)) goto LA75_;
|
|
|
|
#line 888 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 888 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T74_ = startsWith__pzWhhH9b6ehBmuu1oOe9cBuQstrutils(prev_prev_word, 45); LA75_: ;
|
|
T72_ = T74_; LA73_: ;
|
|
if (!T72_) goto LA76_;
|
|
|
|
#line 892 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 892 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 892 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 892 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!((prev_word ? prev_word->Sup.len : 0) == ((NI) 1))) goto LA80_;
|
|
option_word_2 = copyString(prev_prev_word); }
|
|
goto LA78_;
|
|
LA80_: ;
|
|
{ option_word_2 = copyString(prev_word); }
|
|
LA78_: ;
|
|
|
|
#line 893 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 893 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nsuRemovePrefixChar((&option_word_2), 45);
|
|
|
|
#line 895 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 895 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
opt = findOpt__KaO4sqyUPqW3CER2fbIhCA(cmdStack->data, (cmdStack ? cmdStack->Sup.len : 0), option_word_2);
|
|
#line 896 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 896 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 896 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((opt == NIM_NIL))) goto LA85_;
|
|
{ NimStringDesc* arg; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* colontmp__4; NI i_3; NI L_2; NI T88_; arg = (NimStringDesc*)0; colontmp__4 = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0;
|
|
#line 897 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*opt).idx) > (NU)(2)){ raiseIndexError2((*opt).idx, 2); }
|
|
#line 897 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
colontmp__4 = (*colonenv_).fieldSetters3[((*opt).idx)- 0].Field2(cur_word);
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_3 = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T88_ = (colontmp__4 ? colontmp__4->Sup.len : 0); L_2 = T88_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { tyArray__nHXaesL0DJZHyVS07ARPRA T91_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_53;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_3 < L_2)) goto LA90;
|
|
|
|
#line 897 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_3) >= (NU)(colontmp__4 ? colontmp__4->Sup.len : 0)){ raiseIndexError2(i_3,(colontmp__4 ? colontmp__4->Sup.len : 0)-1); } arg = colontmp__4->data[i_3];
|
|
#line 898 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)T91_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T91_[0] = copyString(arg);
|
|
#line 898 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
writeLine__45Em82MGXqv9biomV0DEbSgio(stdout, T91_, 1);
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_3, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_53)) { raiseOverflow(); }; i_3 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_53);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T94_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T94_ = (colontmp__4 ? colontmp__4->Sup.len : 0); if (!!((T94_ == L_2))) goto LA95_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA95_: ;
|
|
} LA90: ;
|
|
}
|
|
}
|
|
}
|
|
LA85_: ;
|
|
}
|
|
goto LA54_;
|
|
LA76_: ;
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T98_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* T99_;
|
|
#line 899 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 899 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 899 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 899 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T98_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T98_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(cmdStack->data, (cmdStack ? cmdStack->Sup.len : 0), ((NI) 1));
|
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T99_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0; T99_ = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA((*T98_)); if (!!((T99_ == NIM_NIL))) goto LA100_;
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* subCmd_2; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* colontmp__5; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T103_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* subCmdDiscriminator; subCmd_2 = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0; colontmp__5 = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0;
|
|
#line 901 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 901 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 901 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T103_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T103_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(cmdStack->data, (cmdStack ? cmdStack->Sup.len : 0), ((NI) 1)); colontmp__5 = (*T103_);
|
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 181 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmdDiscriminator = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA(colontmp__5);
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((subCmdDiscriminator == NIM_NIL))) goto LA106_;
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd; tySequence__ko9cxbrFH52ahk32IABzgRg* colontmp__6; NI i_4; NI L_3; NI T109_; cmd = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0; colontmp__6 = (tySequence__ko9cxbrFH52ahk32IABzgRg*)0;
|
|
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); } colontmp__6 = (*subCmdDiscriminator)._kind_1.subCmds;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_4 = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T109_ = (colontmp__6 ? colontmp__6->Sup.len : 0); L_3 = T109_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_54;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_4 < L_3)) goto LA111;
|
|
|
|
#line 183 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_4) >= (NU)(colontmp__6 ? colontmp__6->Sup.len : 0)){ raiseIndexError2(i_4,(colontmp__6 ? colontmp__6->Sup.len : 0)-1); } cmd = colontmp__6->data[i_4];
|
|
#line 901 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmd_2 = cmd;
|
|
#line 902 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T114_; tyArray__nHXaesL0DJZHyVS07ARPRA T117_;
|
|
#line 902 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 902 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T114_ = (NIM_BOOL)0; T114_ = startsWithIgnoreStyle__VRh9cQuvpYwDB9c554kkcccw((*subCmd_2).name, cur_word); if (!T114_) goto LA115_;
|
|
|
|
#line 903 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)T117_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T117_[0] = copyString((*subCmd_2).name);
|
|
#line 903 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
writeLine__45Em82MGXqv9biomV0DEbSgio(stdout, T117_, 1);
|
|
}
|
|
LA115_: ;
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_4, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_54)) { raiseOverflow(); }; i_4 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_54);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T120_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T120_ = (colontmp__6 ? colontmp__6->Sup.len : 0); if (!!((T120_ == L_3))) goto LA121_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA121_: ;
|
|
} LA111: ;
|
|
}
|
|
}
|
|
}
|
|
LA106_: ;
|
|
}
|
|
}
|
|
goto LA54_;
|
|
LA100_: ;
|
|
{ { NI i_5; NI colontmp__7; NI T125_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_55; NI res_2; i_5 = (NI)0; colontmp__7 = (NI)0;
|
|
#line 906 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 906 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 906 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T125_ = (cmdStack ? cmdStack->Sup.len : 0); if (nimSubInt(T125_, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_55)) { raiseOverflow(); }; colontmp__7 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_55);
|
|
#line 28 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
res_2 = colontmp__7; {
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
while (1) { NI TM__9bPZS8ds69cDDm8QtLGuVTHw_56;
|
|
#line 29 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (!(((NI) 0) <= res_2)) goto LA127;
|
|
|
|
#line 906 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
i_5 = res_2;
|
|
#line 907 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_5) >= (NU)(cmdStack ? cmdStack->Sup.len : 0)){ raiseIndexError2(i_5,(cmdStack ? cmdStack->Sup.len : 0)-1); }
|
|
#line 907 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
showMatchingOptions__IFFg9aRIFt3czvLCp1rlIvw(cmdStack->data[i_5], ((NimStringDesc*) NIM_NIL), 3);
|
|
|
|
#line 31 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators_1.nim"
|
|
if (nimSubInt(res_2, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_56)) { raiseOverflow(); }; res_2 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_56); } LA127: ;
|
|
}
|
|
}
|
|
}
|
|
LA54_: ;
|
|
|
|
#line 909 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 909 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
flushFile__fU6ZlJAtQ9bre04EDZLdGsA_2(stdout);
|
|
|
|
#line 911 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
goto BeforeRet_;
|
|
}
|
|
LA19_: ;
|
|
{ tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA kind; NimStringDesc* key_1; NimStringDesc* val_1; tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw p_1; tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T129_; kind = (tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA)0; key_1 = (NimStringDesc*)0; val_1 = (NimStringDesc*)0; nimZeroMem((void*)(&p_1), sizeof(tyObject_OptParser__sYItNXxlbIcNQiWc9bKCjDw)); p_1.Sup.m_type = (&NTI__sYItNXxlbIcNQiWc9bKCjDw_);
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
T129_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*)0; T129_ = NIM_NIL;
|
|
#line 150 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
initOptParser__I9airQRe9azp3bExyjWqjJXw(cmdLine_0, TM__9bPZS8ds69cDDm8QtLGuVTHw_57, T129_, NIM_TRUE, (&p_1));
|
|
{
|
|
#line 151 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
while (1) { NimStringDesc* key_2;
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
|
|
#line 152 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
next__bhBX9cyTjmG5x9acqxvtK9cxQ((&p_1));
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
{
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
if (!(p_1.kind == ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 0))) goto LA134_;
|
|
|
|
#line 153 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
goto LA130;
|
|
}
|
|
LA134_: ;
|
|
|
|
#line 926 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
kind = p_1.kind;
|
|
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
key_1 = p_1.key;
|
|
#line 154 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils/cli_parser.nim"
|
|
val_1 = p_1.val;
|
|
#line 927 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
key_2 = key_1;
|
|
#line 928 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
switch (kind) {
|
|
case ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 2):
|
|
case ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 3):
|
|
{ NimStringDesc* keyX60gensym37640095_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* opt_2;
|
|
#line 919 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
keyX60gensym37640095_ = key_2;
|
|
#line 930 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI T139_; tyProc__cs9caE9aIQ9cAYzTFq4zqeG1g T142_; tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* T143_;
|
|
#line 920 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 920 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 920 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T139_ = (NI)0; T139_ = nsuCmpIgnoreStyle(keyX60gensym37640095_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_58)); if (!(T139_ == ((NI) 0))) goto LA140_;
|
|
|
|
#line 921 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 921 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T142_), sizeof(tyProc__cs9caE9aIQ9cAYzTFq4zqeG1g)); T142_.ClP_0 = lazyHelpAppInfo__LQeQV1hZ5ot9a9btNTBBCt2Q; T142_.ClE_0 = colonenv_; T143_ = (tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*)0; T143_ = T142_.ClE_0? T142_.ClP_0(T142_.ClE_0):((TM__9bPZS8ds69cDDm8QtLGuVTHw_108)(T142_.ClP_0))();
|
|
#line 921 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
showHelp__FhEhQ2fXISR3PysDDadMqA((&help), T143_, activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0));
|
|
}
|
|
goto LA137_;
|
|
LA140_: ;
|
|
{ NIM_BOOL T145_; NI T147_;
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T145_ = (NIM_BOOL)0;
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T145_ = (((NI) 0) < (version_0 ? version_0->Sup.len : 0)); if (!(T145_)) goto LA146_;
|
|
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T147_ = (NI)0; T147_ = nsuCmpIgnoreStyle(keyX60gensym37640095_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_109)); T145_ = (T147_ == ((NI) 0)); LA146_: ;
|
|
if (!T145_) goto LA148_;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, help);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, version_0);
|
|
|
|
#line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 924 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 924 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
exit(((NI) 0));
|
|
}
|
|
goto LA137_;
|
|
LA148_: ;
|
|
LA137_: ;
|
|
|
|
#line 932 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 932 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
opt_2 = findOpt__KaO4sqyUPqW3CER2fbIhCA(activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0), key_2);
|
|
#line 933 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* subCmdDiscriminator_2; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T154_;
|
|
#line 933 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(opt_2 == NIM_NIL)) goto LA152_;
|
|
|
|
#line 936 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 936 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 936 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T154_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T154_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0), ((NI) 1));
|
|
#line 936 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmdDiscriminator_2 = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA((*T154_));
|
|
#line 937 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 937 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 937 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((subCmdDiscriminator_2 == NIM_NIL))) goto LA157_;
|
|
|
|
#line 938 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* defaultCmd;
|
|
#line 938 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 938 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator_2).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_100)); } if (!!(((*subCmdDiscriminator_2)._kind_1.defaultSubCmd == ((NI) -1)))) goto LA161_;
|
|
|
|
#line 939 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator_2).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); } if (!(((1 &(1U<<((NU)((*subCmdDiscriminator_2).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_100)); } if ((NU)((*subCmdDiscriminator_2)._kind_1.defaultSubCmd) >= (NU)((*subCmdDiscriminator_2)._kind_1.subCmds ? (*subCmdDiscriminator_2)._kind_1.subCmds->Sup.len : 0)){ raiseIndexError2((*subCmdDiscriminator_2)._kind_1.defaultSubCmd,((*subCmdDiscriminator_2)._kind_1.subCmds ? (*subCmdDiscriminator_2)._kind_1.subCmds->Sup.len : 0)-1); } defaultCmd = (*subCmdDiscriminator_2)._kind_1.subCmds->data[(*subCmdDiscriminator_2)._kind_1.defaultSubCmd];
|
|
#line 940 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 940 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
opt_2 = findOpt__bBkDft6CL0vzfMlc7vSUQw((*defaultCmd).opts->data, ((*defaultCmd).opts ? (*defaultCmd).opts->Sup.len : 0), key_2);
|
|
#line 941 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmdX60gensym37685037_; TSafePoint TM__9bPZS8ds69cDDm8QtLGuVTHw_110; NI T185_;
|
|
#line 941 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 941 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((opt_2 == NIM_NIL))) goto LA165_;
|
|
|
|
#line 818 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmdX60gensym37685037_ = defaultCmd;
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
pushSafePoint(&TM__9bPZS8ds69cDDm8QtLGuVTHw_110); TM__9bPZS8ds69cDDm8QtLGuVTHw_110.status = setjmp(TM__9bPZS8ds69cDDm8QtLGuVTHw_110.context); if (TM__9bPZS8ds69cDDm8QtLGuVTHw_110.status == 0) { NimStringDesc* T168_; tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A T174_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_111;
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*subCmdDiscriminator_2).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_2).idx, 2); }
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T168_ = (NimStringDesc*)0;
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*cmdX60gensym37685037_).desc ? (*cmdX60gensym37685037_).desc->Sup.len : 0))) goto LA171_;
|
|
T168_ = copyString((*cmdX60gensym37685037_).desc); }
|
|
goto LA169_;
|
|
LA171_: ;
|
|
{ T168_ = copyString((*cmdX60gensym37685037_).name); }
|
|
LA169_: ;
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T174_), sizeof(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A)); some__sgddJT1RdlkGeWdlq9cgU0Aoptions(T168_, (&T174_));
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*colonenv_).fieldSetters3[((*subCmdDiscriminator_2).idx)- 0].Field1(confAddr, T174_);
|
|
|
|
#line 791 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*subCmdDiscriminator_2).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_2).idx, 2); } if (nimAddInt((*colonenv_).fieldCounters2[((*subCmdDiscriminator_2).idx)- 0], ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_111)) { raiseOverflow(); }; (*colonenv_).fieldCounters2[((*subCmdDiscriminator_2).idx)- 0] = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_111); popSafePoint(); }
|
|
else { popSafePoint(); { TM__9bPZS8ds69cDDm8QtLGuVTHw_110.status = 0;
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* T181_; NimStringDesc* T182_; if (!(*colonenv_).quitOnFailure4) goto LA179_;
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_112));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stderr, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
if ((NU)((*subCmdDiscriminator_2).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_2).idx, 2); }
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, (*colonenv_).fieldSetters3[((*subCmdDiscriminator_2).idx)- 0].Field0);
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 795 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T181_ = (NimStringDesc*)0;
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T182_ = (NimStringDesc*)0; T182_ = getCurrentExceptionMsg__jLt3ACHcgYt9bbV4Vf9a5mgwsystem(); T181_ = rawNewString((T182_ ? T182_->Sup.len : 0) + 13);appendString(T181_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_113));appendString(T181_, T182_);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T181_);
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg();
|
|
}
|
|
goto LA177_;
|
|
LA179_: ;
|
|
{ tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg* T184_; T184_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*)0; T184_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*) newObj((&NTI__QPnWKpN30j0Noc1fJU42oQ_), sizeof(tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg)); (*T184_).Sup.Sup.Sup.m_type = (&NTI__2OTe7rmocWIIjZ8nziTAfg_); (*T184_).Sup.Sup.name = "ConfigurationError"; asgnRef((void**) (&(*T184_).Sup.Sup.message), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T184_).Sup.Sup.parent), NIM_NIL);
|
|
#line 786 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
raiseExceptionEx((Exception*)T184_, "ConfigurationError", "load", "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confut"
|
|
"ils.nim", 786); }
|
|
LA177_: ;
|
|
popCurrentException(); }
|
|
}
|
|
if (TM__9bPZS8ds69cDDm8QtLGuVTHw_110.status != 0) reraiseException();
|
|
#line 821 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
activeCmds = (tySequence__ko9cxbrFH52ahk32IABzgRg*) incrSeqV3((TGenericSeq*)(activeCmds), (&NTI__ko9cxbrFH52ahk32IABzgRg_)); T185_ = activeCmds->Sup.len++; asgnRef((void**) (&activeCmds->data[T185_]), cmdX60gensym37685037_);
|
|
#line 822 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 822 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nextArgIdx = getNextArgIdx__SvGxRxElX54hx27hqM0kXQ(cmdX60gensym37685037_, ((NI) -1)); }
|
|
LA165_: ;
|
|
}
|
|
goto LA159_;
|
|
LA161_: ;
|
|
{ }
|
|
LA159_: ;
|
|
}
|
|
LA157_: ;
|
|
}
|
|
LA152_: ;
|
|
|
|
#line 946 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ TSafePoint TM__9bPZS8ds69cDDm8QtLGuVTHw_117;
|
|
#line 946 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 946 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((opt_2 == NIM_NIL))) goto LA189_;
|
|
|
|
#line 947 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
pushSafePoint(&TM__9bPZS8ds69cDDm8QtLGuVTHw_117); TM__9bPZS8ds69cDDm8QtLGuVTHw_117.status = setjmp(TM__9bPZS8ds69cDDm8QtLGuVTHw_117.context); if (TM__9bPZS8ds69cDDm8QtLGuVTHw_117.status == 0) { tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A T192_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_118;
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*opt_2).idx) > (NU)(2)){ raiseIndexError2((*opt_2).idx, 2); }
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T192_), sizeof(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A)); some__sgddJT1RdlkGeWdlq9cgU0Aoptions(val_1, (&T192_));
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*colonenv_).fieldSetters3[((*opt_2).idx)- 0].Field1(confAddr, T192_);
|
|
|
|
#line 791 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*opt_2).idx) > (NU)(2)){ raiseIndexError2((*opt_2).idx, 2); } if (nimAddInt((*colonenv_).fieldCounters2[((*opt_2).idx)- 0], ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_118)) { raiseOverflow(); }; (*colonenv_).fieldCounters2[((*opt_2).idx)- 0] = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_118); popSafePoint(); }
|
|
else { popSafePoint(); { TM__9bPZS8ds69cDDm8QtLGuVTHw_117.status = 0;
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* T199_; NimStringDesc* T200_; if (!(*colonenv_).quitOnFailure4) goto LA197_;
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_112));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stderr, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
if ((NU)((*opt_2).idx) > (NU)(2)){ raiseIndexError2((*opt_2).idx, 2); }
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, (*colonenv_).fieldSetters3[((*opt_2).idx)- 0].Field0);
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 795 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T199_ = (NimStringDesc*)0;
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T200_ = (NimStringDesc*)0; T200_ = getCurrentExceptionMsg__jLt3ACHcgYt9bbV4Vf9a5mgwsystem(); T199_ = rawNewString((T200_ ? T200_->Sup.len : 0) + 13);appendString(T199_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_113));appendString(T199_, T200_);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T199_);
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg();
|
|
}
|
|
goto LA195_;
|
|
LA197_: ;
|
|
{ tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg* T202_; T202_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*)0; T202_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*) newObj((&NTI__QPnWKpN30j0Noc1fJU42oQ_), sizeof(tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg)); (*T202_).Sup.Sup.Sup.m_type = (&NTI__2OTe7rmocWIIjZ8nziTAfg_); (*T202_).Sup.Sup.name = "ConfigurationError"; asgnRef((void**) (&(*T202_).Sup.Sup.message), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T202_).Sup.Sup.parent), NIM_NIL);
|
|
#line 786 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
raiseExceptionEx((Exception*)T202_, "ConfigurationError", "load", "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confut"
|
|
"ils.nim", 786); }
|
|
LA195_: ;
|
|
popCurrentException(); }
|
|
}
|
|
if (TM__9bPZS8ds69cDDm8QtLGuVTHw_117.status != 0) reraiseException(); }
|
|
goto LA187_;
|
|
LA189_: ;
|
|
{
|
|
#line 949 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyArray__nHXaesL0DJZHyVS07ARPRA T208_; NimStringDesc* T209_; if (!(*colonenv_).quitOnFailure4) goto LA206_;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 949 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)T208_, sizeof(tyArray__nHXaesL0DJZHyVS07ARPRA)); T208_[0] = copyString(key_2);
|
|
#line 949 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T209_ = (NimStringDesc*)0; T209_ = nsuFormatOpenArray(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_119), T208_, 1);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T209_);
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg();
|
|
}
|
|
goto LA204_;
|
|
LA206_: ;
|
|
{ tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg* T211_; T211_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*)0; T211_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*) newObj((&NTI__QPnWKpN30j0Noc1fJU42oQ_), sizeof(tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg)); (*T211_).Sup.Sup.Sup.m_type = (&NTI__2OTe7rmocWIIjZ8nziTAfg_); (*T211_).Sup.Sup.name = "ConfigurationError"; asgnRef((void**) (&(*T211_).Sup.Sup.message), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T211_).Sup.Sup.parent), NIM_NIL);
|
|
#line 786 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
raiseExceptionEx((Exception*)T211_, "ConfigurationError", "load", "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confut"
|
|
"ils.nim", 786); }
|
|
LA204_: ;
|
|
}
|
|
LA187_: ;
|
|
}
|
|
break;
|
|
case ((tyEnum_CmdLineKind__Mnl0OYRuY5Sjmnjr6sTzBA) 1):
|
|
{
|
|
#line 952 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T215_; tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* T216_; NimStringDesc* keyX60gensym37855009_;
|
|
#line 952 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 952 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 952 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 952 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T215_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T215_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0), ((NI) 1));
|
|
#line 178 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T216_ = (tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*)0; T216_ = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA((*T215_)); if (!!((T216_ == NIM_NIL))) goto LA217_;
|
|
|
|
#line 919 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
keyX60gensym37855009_ = key_2;
|
|
#line 953 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NI T221_; tyProc__cs9caE9aIQ9cAYzTFq4zqeG1g T224_; tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw* T225_;
|
|
#line 920 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 920 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 920 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T221_ = (NI)0; T221_ = nsuCmpIgnoreStyle(keyX60gensym37855009_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_58)); if (!(T221_ == ((NI) 0))) goto LA222_;
|
|
|
|
#line 921 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 921 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T224_), sizeof(tyProc__cs9caE9aIQ9cAYzTFq4zqeG1g)); T224_.ClP_0 = lazyHelpAppInfo__LQeQV1hZ5ot9a9btNTBBCt2Q; T224_.ClE_0 = colonenv_; T225_ = (tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*)0; T225_ = T224_.ClE_0? T224_.ClP_0(T224_.ClE_0):((TM__9bPZS8ds69cDDm8QtLGuVTHw_120)(T224_.ClP_0))();
|
|
#line 921 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
showHelp__FhEhQ2fXISR3PysDDadMqA((&help), T225_, activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0));
|
|
}
|
|
goto LA219_;
|
|
LA222_: ;
|
|
{ NIM_BOOL T227_; NI T229_;
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T227_ = (NIM_BOOL)0;
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T227_ = (((NI) 0) < (version_0 ? version_0->Sup.len : 0)); if (!(T227_)) goto LA228_;
|
|
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 922 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T229_ = (NI)0; T229_ = nsuCmpIgnoreStyle(keyX60gensym37855009_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_109)); T227_ = (T229_ == ((NI) 0)); LA228_: ;
|
|
if (!T227_) goto LA230_;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, help);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, version_0);
|
|
|
|
#line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stdout, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 923 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stdout);
|
|
|
|
#line 924 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 924 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
exit(((NI) 0));
|
|
}
|
|
goto LA219_;
|
|
LA230_: ;
|
|
LA219_: ;
|
|
}
|
|
LA217_: ;
|
|
{ tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ* subCmdDiscriminator_3; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T233_; TSafePoint TM__9bPZS8ds69cDDm8QtLGuVTHw_127;
|
|
#line 956 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 956 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 956 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T233_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T233_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0), ((NI) 1));
|
|
#line 956 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmdDiscriminator_3 = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA((*T233_));
|
|
#line 957 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* subCmd_3;
|
|
#line 957 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 957 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((subCmdDiscriminator_3 == NIM_NIL))) goto LA236_;
|
|
|
|
#line 958 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator_3).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); }
|
|
#line 958 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmd_3 = findCmd__0C9bD9c7Xo9bK4Yg7dbqbpNag((*subCmdDiscriminator_3)._kind_1.subCmds->data, ((*subCmdDiscriminator_3)._kind_1.subCmds ? (*subCmdDiscriminator_3)._kind_1.subCmds->Sup.len : 0), key_2);
|
|
#line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmdX60gensym37900031_; TSafePoint TM__9bPZS8ds69cDDm8QtLGuVTHw_121; NI T260_;
|
|
#line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 959 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!!((subCmd_3 == NIM_NIL))) goto LA240_;
|
|
|
|
#line 818 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmdX60gensym37900031_ = subCmd_3;
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
pushSafePoint(&TM__9bPZS8ds69cDDm8QtLGuVTHw_121); TM__9bPZS8ds69cDDm8QtLGuVTHw_121.status = setjmp(TM__9bPZS8ds69cDDm8QtLGuVTHw_121.context); if (TM__9bPZS8ds69cDDm8QtLGuVTHw_121.status == 0) { NimStringDesc* T243_; tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A T249_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_122;
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*subCmdDiscriminator_3).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_3).idx, 2); }
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T243_ = (NimStringDesc*)0;
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*cmdX60gensym37900031_).desc ? (*cmdX60gensym37900031_).desc->Sup.len : 0))) goto LA246_;
|
|
T243_ = copyString((*cmdX60gensym37900031_).desc); }
|
|
goto LA244_;
|
|
LA246_: ;
|
|
{ T243_ = copyString((*cmdX60gensym37900031_).name); }
|
|
LA244_: ;
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T249_), sizeof(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A)); some__sgddJT1RdlkGeWdlq9cgU0Aoptions(T243_, (&T249_));
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*colonenv_).fieldSetters3[((*subCmdDiscriminator_3).idx)- 0].Field1(confAddr, T249_);
|
|
|
|
#line 791 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*subCmdDiscriminator_3).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_3).idx, 2); } if (nimAddInt((*colonenv_).fieldCounters2[((*subCmdDiscriminator_3).idx)- 0], ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_122)) { raiseOverflow(); }; (*colonenv_).fieldCounters2[((*subCmdDiscriminator_3).idx)- 0] = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_122); popSafePoint(); }
|
|
else { popSafePoint(); { TM__9bPZS8ds69cDDm8QtLGuVTHw_121.status = 0;
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* T256_; NimStringDesc* T257_; if (!(*colonenv_).quitOnFailure4) goto LA254_;
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_112));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stderr, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
if ((NU)((*subCmdDiscriminator_3).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_3).idx, 2); }
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, (*colonenv_).fieldSetters3[((*subCmdDiscriminator_3).idx)- 0].Field0);
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 795 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T256_ = (NimStringDesc*)0;
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T257_ = (NimStringDesc*)0; T257_ = getCurrentExceptionMsg__jLt3ACHcgYt9bbV4Vf9a5mgwsystem(); T256_ = rawNewString((T257_ ? T257_->Sup.len : 0) + 13);appendString(T256_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_113));appendString(T256_, T257_);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T256_);
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg();
|
|
}
|
|
goto LA252_;
|
|
LA254_: ;
|
|
{ tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg* T259_; T259_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*)0; T259_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*) newObj((&NTI__QPnWKpN30j0Noc1fJU42oQ_), sizeof(tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg)); (*T259_).Sup.Sup.Sup.m_type = (&NTI__2OTe7rmocWIIjZ8nziTAfg_); (*T259_).Sup.Sup.name = "ConfigurationError"; asgnRef((void**) (&(*T259_).Sup.Sup.message), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T259_).Sup.Sup.parent), NIM_NIL);
|
|
#line 786 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
raiseExceptionEx((Exception*)T259_, "ConfigurationError", "load", "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confut"
|
|
"ils.nim", 786); }
|
|
LA252_: ;
|
|
popCurrentException(); }
|
|
}
|
|
if (TM__9bPZS8ds69cDDm8QtLGuVTHw_121.status != 0) reraiseException();
|
|
#line 821 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
activeCmds = (tySequence__ko9cxbrFH52ahk32IABzgRg*) incrSeqV3((TGenericSeq*)(activeCmds), (&NTI__ko9cxbrFH52ahk32IABzgRg_)); T260_ = activeCmds->Sup.len++; asgnRef((void**) (&activeCmds->data[T260_]), cmdX60gensym37900031_);
|
|
#line 822 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 822 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nextArgIdx = getNextArgIdx__SvGxRxElX54hx27hqM0kXQ(cmdX60gensym37900031_, ((NI) -1));
|
|
#line 961 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
goto LA232;
|
|
}
|
|
LA240_: ;
|
|
}
|
|
LA236_: ;
|
|
|
|
#line 963 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 963 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(nextArgIdx == ((NI) -1))) goto LA263_;
|
|
|
|
#line 964 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T269_; NimStringDesc* T270_; if (!(*colonenv_).quitOnFailure4) goto LA267_;
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 964 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 964 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 964 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T269_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T269_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0), ((NI) 1));
|
|
#line 964 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T270_ = (NimStringDesc*)0; T270_ = noMoreArgsError__9bQXNBN49b7LVtjI9bNM17nZw((*T269_));
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T270_);
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg();
|
|
}
|
|
goto LA265_;
|
|
LA267_: ;
|
|
{ tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg* T272_; T272_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*)0; T272_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*) newObj((&NTI__QPnWKpN30j0Noc1fJU42oQ_), sizeof(tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg)); (*T272_).Sup.Sup.Sup.m_type = (&NTI__2OTe7rmocWIIjZ8nziTAfg_); (*T272_).Sup.Sup.name = "ConfigurationError"; asgnRef((void**) (&(*T272_).Sup.Sup.message), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T272_).Sup.Sup.parent), NIM_NIL);
|
|
#line 786 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
raiseExceptionEx((Exception*)T272_, "ConfigurationError", "load", "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confut"
|
|
"ils.nim", 786); }
|
|
LA265_: ;
|
|
}
|
|
LA263_: ;
|
|
|
|
#line 966 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
pushSafePoint(&TM__9bPZS8ds69cDDm8QtLGuVTHw_127); TM__9bPZS8ds69cDDm8QtLGuVTHw_127.status = setjmp(TM__9bPZS8ds69cDDm8QtLGuVTHw_127.context); if (TM__9bPZS8ds69cDDm8QtLGuVTHw_127.status == 0) { tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A T274_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_128;
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(nextArgIdx) > (NU)(2)){ raiseIndexError2(nextArgIdx, 2); }
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T274_), sizeof(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A)); some__sgddJT1RdlkGeWdlq9cgU0Aoptions(key_2, (&T274_));
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*colonenv_).fieldSetters3[(nextArgIdx)- 0].Field1(confAddr, T274_);
|
|
|
|
#line 791 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(nextArgIdx) > (NU)(2)){ raiseIndexError2(nextArgIdx, 2); } if (nimAddInt((*colonenv_).fieldCounters2[(nextArgIdx)- 0], ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_128)) { raiseOverflow(); }; (*colonenv_).fieldCounters2[(nextArgIdx)- 0] = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_128); popSafePoint(); }
|
|
else { popSafePoint(); { TM__9bPZS8ds69cDDm8QtLGuVTHw_127.status = 0;
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* T281_; NimStringDesc* T282_; if (!(*colonenv_).quitOnFailure4) goto LA279_;
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_112));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stderr, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
if ((NU)(nextArgIdx) > (NU)(2)){ raiseIndexError2(nextArgIdx, 2); }
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, (*colonenv_).fieldSetters3[(nextArgIdx)- 0].Field0);
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 795 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T281_ = (NimStringDesc*)0;
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T282_ = (NimStringDesc*)0; T282_ = getCurrentExceptionMsg__jLt3ACHcgYt9bbV4Vf9a5mgwsystem(); T281_ = rawNewString((T282_ ? T282_->Sup.len : 0) + 13);appendString(T281_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_113));appendString(T281_, T282_);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T281_);
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg();
|
|
}
|
|
goto LA277_;
|
|
LA279_: ;
|
|
{ tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg* T284_; T284_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*)0; T284_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*) newObj((&NTI__QPnWKpN30j0Noc1fJU42oQ_), sizeof(tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg)); (*T284_).Sup.Sup.Sup.m_type = (&NTI__2OTe7rmocWIIjZ8nziTAfg_); (*T284_).Sup.Sup.name = "ConfigurationError"; asgnRef((void**) (&(*T284_).Sup.Sup.message), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T284_).Sup.Sup.parent), NIM_NIL);
|
|
#line 786 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
raiseExceptionEx((Exception*)T284_, "ConfigurationError", "load", "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confut"
|
|
"ils.nim", 786); }
|
|
LA277_: ;
|
|
popCurrentException(); }
|
|
}
|
|
if (TM__9bPZS8ds69cDDm8QtLGuVTHw_127.status != 0) reraiseException();
|
|
#line 968 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg** T289_;
|
|
#line 968 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(nextArgIdx) > (NU)(2)){ raiseIndexError2(nextArgIdx, 2); } if (!!((*colonenv_).fieldSetters3[(nextArgIdx)- 0].Field4)) goto LA287_;
|
|
|
|
#line 969 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 969 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 969 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T289_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T289_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0), ((NI) 1));
|
|
#line 969 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nextArgIdx = getNextArgIdx__SvGxRxElX54hx27hqM0kXQ((*T289_), nextArgIdx); }
|
|
LA287_: ;
|
|
} LA232: ;
|
|
}
|
|
break;
|
|
default:
|
|
{ }
|
|
break;
|
|
}
|
|
}
|
|
} LA130: ;
|
|
}
|
|
|
|
#line 974 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 974 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 974 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T291_ = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg**)0; T291_ = X5BX5D___jR4FZzTVpRRtUkhzEZOqeQsystem(activeCmds->data, (activeCmds ? activeCmds->Sup.len : 0), ((NI) 1));
|
|
#line 974 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
subCmdDiscriminator_4 = getSubCmdDiscriminator__zF8Ovk49bI9aEWh1jD6z7aWA((*T291_));
|
|
#line 975 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NIM_BOOL T294_; NIM_BOOL T295_; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* defaultCmd_2; tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmdX60gensym38080033_; TSafePoint TM__9bPZS8ds69cDDm8QtLGuVTHw_129; NI T318_;
|
|
#line 976 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T294_ = (NIM_BOOL)0;
|
|
#line 975 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T295_ = (NIM_BOOL)0;
|
|
#line 975 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 975 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T295_ = !((subCmdDiscriminator_4 == NIM_NIL)); if (!(T295_)) goto LA296_;
|
|
|
|
#line 976 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 976 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator_4).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_100)); } T295_ = !(((*subCmdDiscriminator_4)._kind_1.defaultSubCmd == ((NI) -1))); LA296_: ;
|
|
T294_ = T295_; if (!(T294_)) goto LA297_;
|
|
|
|
#line 977 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*subCmdDiscriminator_4).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_4).idx, 2); } T294_ = ((*colonenv_).fieldCounters2[((*subCmdDiscriminator_4).idx)- 0] == ((NI) 0)); LA297_: ;
|
|
if (!T294_) goto LA298_;
|
|
|
|
#line 978 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((1 &(1U<<((NU)((*subCmdDiscriminator_4).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_36)); } if (!(((1 &(1U<<((NU)((*subCmdDiscriminator_4).kind)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_100)); } if ((NU)((*subCmdDiscriminator_4)._kind_1.defaultSubCmd) >= (NU)((*subCmdDiscriminator_4)._kind_1.subCmds ? (*subCmdDiscriminator_4)._kind_1.subCmds->Sup.len : 0)){ raiseIndexError2((*subCmdDiscriminator_4)._kind_1.defaultSubCmd,((*subCmdDiscriminator_4)._kind_1.subCmds ? (*subCmdDiscriminator_4)._kind_1.subCmds->Sup.len : 0)-1); } defaultCmd_2 = (*subCmdDiscriminator_4)._kind_1.subCmds->data[(*subCmdDiscriminator_4)._kind_1.defaultSubCmd];
|
|
#line 818 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
cmdX60gensym38080033_ = defaultCmd_2;
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
pushSafePoint(&TM__9bPZS8ds69cDDm8QtLGuVTHw_129); TM__9bPZS8ds69cDDm8QtLGuVTHw_129.status = setjmp(TM__9bPZS8ds69cDDm8QtLGuVTHw_129.context); if (TM__9bPZS8ds69cDDm8QtLGuVTHw_129.status == 0) { NimStringDesc* T301_; tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A T307_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_130;
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*subCmdDiscriminator_4).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_4).idx, 2); }
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T301_ = (NimStringDesc*)0;
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 819 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if (!(((NI) 0) < ((*cmdX60gensym38080033_).desc ? (*cmdX60gensym38080033_).desc->Sup.len : 0))) goto LA304_;
|
|
T301_ = copyString((*cmdX60gensym38080033_).desc); }
|
|
goto LA302_;
|
|
LA304_: ;
|
|
{ T301_ = copyString((*cmdX60gensym38080033_).name); }
|
|
LA302_: ;
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T307_), sizeof(tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A)); some__sgddJT1RdlkGeWdlq9cgU0Aoptions(T301_, (&T307_));
|
|
|
|
#line 790 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
(*colonenv_).fieldSetters3[((*subCmdDiscriminator_4).idx)- 0].Field1(confAddr, T307_);
|
|
|
|
#line 791 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)((*subCmdDiscriminator_4).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_4).idx, 2); } if (nimAddInt((*colonenv_).fieldCounters2[((*subCmdDiscriminator_4).idx)- 0], ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_130)) { raiseOverflow(); }; (*colonenv_).fieldCounters2[((*subCmdDiscriminator_4).idx)- 0] = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_130); popSafePoint(); }
|
|
else { popSafePoint(); { TM__9bPZS8ds69cDDm8QtLGuVTHw_129.status = 0;
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
{ NimStringDesc* T314_; NimStringDesc* T315_; if (!(*colonenv_).quitOnFailure4) goto LA312_;
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 793 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_112));
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
setForegroundColor__vJutklhcnQq9akCXxcuSHAg(stderr, ((tyEnum_ForegroundColor__ez9ah4IgQc0AbdW68acioDg) 34), NIM_FALSE);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
if ((NU)((*subCmdDiscriminator_4).idx) > (NU)(2)){ raiseIndexError2((*subCmdDiscriminator_4).idx, 2); }
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, (*colonenv_).fieldSetters3[((*subCmdDiscriminator_4).idx)- 0].Field0);
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 691 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
|
|
#line 795 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T314_ = (NimStringDesc*)0;
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 796 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
T315_ = (NimStringDesc*)0; T315_ = getCurrentExceptionMsg__jLt3ACHcgYt9bbV4Vf9a5mgwsystem(); T314_ = rawNewString((T315_ ? T315_->Sup.len : 0) + 13);appendString(T314_, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_113));appendString(T314_, T315_);
|
|
#line 726 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/terminal.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, T314_);
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 781 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
resetAttributes__6J8xlU57R8cS9bLzTS89aM5g(stderr);
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 782 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
write__PArlm09bKklm2BLsCg6YtaA(stderr, ((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_46));
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 783 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
suggestCallingHelp__H9cPGYrpNtvGVQn5yAfGBMg();
|
|
}
|
|
goto LA310_;
|
|
LA312_: ;
|
|
{ tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg* T317_; T317_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*)0; T317_ = (tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg*) newObj((&NTI__QPnWKpN30j0Noc1fJU42oQ_), sizeof(tyObject_ConfigurationError__2OTe7rmocWIIjZ8nziTAfg)); (*T317_).Sup.Sup.Sup.m_type = (&NTI__2OTe7rmocWIIjZ8nziTAfg_); (*T317_).Sup.Sup.name = "ConfigurationError"; asgnRef((void**) (&(*T317_).Sup.Sup.message), ((NimStringDesc*) NIM_NIL)); asgnRef((void**) (&(*T317_).Sup.Sup.parent), NIM_NIL);
|
|
#line 786 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
raiseExceptionEx((Exception*)T317_, "ConfigurationError", "load", "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confut"
|
|
"ils.nim", 786); }
|
|
LA310_: ;
|
|
popCurrentException(); }
|
|
}
|
|
if (TM__9bPZS8ds69cDDm8QtLGuVTHw_129.status != 0) reraiseException();
|
|
#line 821 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
activeCmds = (tySequence__ko9cxbrFH52ahk32IABzgRg*) incrSeqV3((TGenericSeq*)(activeCmds), (&NTI__ko9cxbrFH52ahk32IABzgRg_)); T318_ = activeCmds->Sup.len++; asgnRef((void**) (&activeCmds->data[T318_]), cmdX60gensym38080033_);
|
|
#line 822 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
|
|
#line 822 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nextArgIdx = getNextArgIdx__SvGxRxElX54hx27hqM0kXQ(cmdX60gensym38080033_, ((NI) -1)); }
|
|
LA298_: ;
|
|
{ tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg* cmd_2; NI i_6; NI L_4; NI T320_; cmd_2 = (tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*)0;
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
i_6 = ((NI) 0);
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T320_ = (activeCmds ? activeCmds->Sup.len : 0); L_4 = T320_; {
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
while (1) { tyProc__n9c8p5o7egoeO5V6iAEG9cPw T323_; NI TM__9bPZS8ds69cDDm8QtLGuVTHw_134;
|
|
#line 186 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (!(i_6 < L_4)) goto LA322;
|
|
|
|
#line 981 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
if ((NU)(i_6) >= (NU)(activeCmds ? activeCmds->Sup.len : 0)){ raiseIndexError2(i_6,(activeCmds ? activeCmds->Sup.len : 0)-1); } cmd_2 = activeCmds->data[i_6];
|
|
#line 982 "/home/runner/work/nim-waku/nim-waku/vendor/nim-confutils/confutils.nim"
|
|
nimZeroMem((void*)(&T323_), sizeof(tyProc__n9c8p5o7egoeO5V6iAEG9cPw)); T323_.ClP_0 = processMissingOpts__9aIZLFGqaA6gzmcHSXeUWlw; T323_.ClE_0 = colonenv_; T323_.ClE_0? T323_.ClP_0((&result), cmd_2, T323_.ClE_0):((TM__9bPZS8ds69cDDm8QtLGuVTHw_133)(T323_.ClP_0))((&result), cmd_2);
|
|
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
if (nimAddInt(i_6, ((NI) 1), &TM__9bPZS8ds69cDDm8QtLGuVTHw_134)) { raiseOverflow(); }; i_6 = (NI)(TM__9bPZS8ds69cDDm8QtLGuVTHw_134);
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
{ NI T326_;
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
T326_ = (activeCmds ? activeCmds->Sup.len : 0); if (!!((T326_ == L_4))) goto LA327_;
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
|
|
#line 189 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/iterators.nim"
|
|
failedAssertImpl__W9cjVocn1tjhW7p7xohJj6A(((NimStringDesc*) &TM__9bPZS8ds69cDDm8QtLGuVTHw_38));
|
|
}
|
|
LA327_: ;
|
|
} LA322: ;
|
|
}
|
|
}
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
N_LIB_PRIVATE N_NIMCALL(void, confutils_confutilsDatInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_2_6[6];
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_3_5[5];
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_4_2[2];
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_5_3[3];
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_6_4[4];
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[8];
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_8_3[3];
|
|
NI TM__9bPZS8ds69cDDm8QtLGuVTHw_10;
|
|
static char* NIM_CONST TM__9bPZS8ds69cDDm8QtLGuVTHw_9[3] = {
|
|
"Discriminator",
|
|
"CliSwitch",
|
|
"Arg"};
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_11_4[4];
|
|
static TNimNode* TM__9bPZS8ds69cDDm8QtLGuVTHw_107_6[6];
|
|
static TNimNode TM__9bPZS8ds69cDDm8QtLGuVTHw_0[51];NTI__bu2hgFsJD7ZDOn63GIXo2A_.size = sizeof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A);
|
|
NTI__bu2hgFsJD7ZDOn63GIXo2A_.kind = 17;
|
|
NTI__bu2hgFsJD7ZDOn63GIXo2A_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
|
|
NTI__bu2hgFsJD7ZDOn63GIXo2A_.name = "object";
|
|
NTI__bu2hgFsJD7ZDOn63GIXo2A_.nextType = nimTypeRoot; nimTypeRoot=&NTI__bu2hgFsJD7ZDOn63GIXo2A_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_2_6[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[1];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[1].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[1].offset = offsetof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A, colonstate_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[1].typ = (&NTI__xHTZrq9aYs6boc9bCba0JbpQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[1].name = ":state";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_2_6[1] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[2];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[2].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[2].offset = offsetof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A, copyrightBanner1);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[2].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[2].name = "copyrightBanner1";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_2_6[2] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[3];
|
|
NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_.size = sizeof(tyArray__Bd4h7Ocx9bGTvrKzPIWNlHw);
|
|
NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_.kind = 16;
|
|
NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_.base = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
|
|
NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_.flags = 3;
|
|
NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_.name = "array[0..2, int]";
|
|
NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[3].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[3].offset = offsetof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A, fieldCounters2);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[3].typ = (&NTI__Bd4h7Ocx9bGTvrKzPIWNlHw_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[3].name = "fieldCounters2";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_2_6[3] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[4];
|
|
NTI__cLWPuWN9cMLmPdNMr1Mn9byg_.size = sizeof(tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg);
|
|
NTI__cLWPuWN9cMLmPdNMr1Mn9byg_.kind = 18;
|
|
NTI__cLWPuWN9cMLmPdNMr1Mn9byg_.base = 0;
|
|
NTI__cLWPuWN9cMLmPdNMr1Mn9byg_.flags = 2;
|
|
NTI__cLWPuWN9cMLmPdNMr1Mn9byg_.name = "tuple of (string, proc (config: var WakuNetworkConf, val`gensym"
|
|
"37450272: Option[system.TaintedString]){.gcsafe, locks: 0.}, pro"
|
|
"c (val`gensym37450271: TaintedString): seq[string]{.gcsafe, lock"
|
|
"s: 0.}, bool, bool)";
|
|
NTI__cLWPuWN9cMLmPdNMr1Mn9byg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__cLWPuWN9cMLmPdNMr1Mn9byg_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_3_5[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[6];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[6].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[6].offset = offsetof(tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg, Field0);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[6].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[6].name = "Field0";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_3_5[1] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[7];
|
|
NTI__jWqh43YZLw4m72c2hic30g_.size = sizeof(tyProc__jWqh43YZLw4m72c2hic30g);
|
|
NTI__jWqh43YZLw4m72c2hic30g_.kind = 25;
|
|
NTI__jWqh43YZLw4m72c2hic30g_.base = 0;
|
|
NTI__jWqh43YZLw4m72c2hic30g_.flags = 3;
|
|
NTI__jWqh43YZLw4m72c2hic30g_.name = "proc (config: var WakuNetworkConf, val`gensym37450272: Option[s"
|
|
"ystem.TaintedString]){.gcsafe, locks: 0.}";
|
|
NTI__jWqh43YZLw4m72c2hic30g_.nextType = nimTypeRoot; nimTypeRoot=&NTI__jWqh43YZLw4m72c2hic30g_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[7].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[7].offset = offsetof(tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg, Field1);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[7].typ = (&NTI__jWqh43YZLw4m72c2hic30g_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[7].name = "Field1";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_3_5[2] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[8];
|
|
NTI__qtUkKthj1Q7URYIH6fWLsQ_.size = sizeof(tyProc__qtUkKthj1Q7URYIH6fWLsQ);
|
|
NTI__qtUkKthj1Q7URYIH6fWLsQ_.kind = 25;
|
|
NTI__qtUkKthj1Q7URYIH6fWLsQ_.base = 0;
|
|
NTI__qtUkKthj1Q7URYIH6fWLsQ_.flags = 3;
|
|
NTI__qtUkKthj1Q7URYIH6fWLsQ_.name = "proc (val`gensym37450271: TaintedString): seq[string]{.gcsafe, "
|
|
"locks: 0.}";
|
|
NTI__qtUkKthj1Q7URYIH6fWLsQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__qtUkKthj1Q7URYIH6fWLsQ_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[8].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[8].offset = offsetof(tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg, Field2);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[8].typ = (&NTI__qtUkKthj1Q7URYIH6fWLsQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[8].name = "Field2";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_3_5[3] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[9];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[9].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[9].offset = offsetof(tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg, Field3);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[9].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[9].name = "Field3";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_3_5[4] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[10];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[10].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[10].offset = offsetof(tyTuple__cLWPuWN9cMLmPdNMr1Mn9byg, Field4);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[10].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[10].name = "Field4";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[5].len = 5; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[5].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[5].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_3_5[0];
|
|
NTI__cLWPuWN9cMLmPdNMr1Mn9byg_.node = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[5];
|
|
NTI__29bZ8dG03OxJ5SCZkXEfkHA_.size = sizeof(tyArray__29bZ8dG03OxJ5SCZkXEfkHA);
|
|
NTI__29bZ8dG03OxJ5SCZkXEfkHA_.kind = 16;
|
|
NTI__29bZ8dG03OxJ5SCZkXEfkHA_.base = (&NTI__cLWPuWN9cMLmPdNMr1Mn9byg_);
|
|
NTI__29bZ8dG03OxJ5SCZkXEfkHA_.flags = 2;
|
|
NTI__29bZ8dG03OxJ5SCZkXEfkHA_.name = "array[0..2, tuple of (string, proc (config: var WakuNetworkConf"
|
|
", val`gensym37450272: Option[system.TaintedString]){.gcsafe, loc"
|
|
"ks: 0.}, proc (val`gensym37450271: TaintedString): seq[string]{."
|
|
"gcsafe, locks: 0.}, bool, bool)]";
|
|
NTI__29bZ8dG03OxJ5SCZkXEfkHA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__29bZ8dG03OxJ5SCZkXEfkHA_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[4].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[4].offset = offsetof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A, fieldSetters3);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[4].typ = (&NTI__29bZ8dG03OxJ5SCZkXEfkHA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[4].name = "fieldSetters3";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_2_6[4] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[11];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[11].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[11].offset = offsetof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A, quitOnFailure4);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[11].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[11].name = "quitOnFailure4";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_2_6[5] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[12];
|
|
NTI__8pwOc3iOBiSKNylcvtV9bVA_.size = sizeof(tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA);
|
|
NTI__8pwOc3iOBiSKNylcvtV9bVA_.kind = 18;
|
|
NTI__8pwOc3iOBiSKNylcvtV9bVA_.base = 0;
|
|
NTI__8pwOc3iOBiSKNylcvtV9bVA_.flags = 3;
|
|
NTI__8pwOc3iOBiSKNylcvtV9bVA_.name = "ConfigFile";
|
|
NTI__8pwOc3iOBiSKNylcvtV9bVA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__8pwOc3iOBiSKNylcvtV9bVA_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_4_2[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[14];
|
|
NTI__7FJk9bgKwkXl7CNFBhU3Bxw_.size = sizeof(tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw);
|
|
NTI__7FJk9bgKwkXl7CNFBhU3Bxw_.kind = 18;
|
|
NTI__7FJk9bgKwkXl7CNFBhU3Bxw_.base = 0;
|
|
NTI__7FJk9bgKwkXl7CNFBhU3Bxw_.flags = 3;
|
|
NTI__7FJk9bgKwkXl7CNFBhU3Bxw_.name = "OptionalFields";
|
|
NTI__7FJk9bgKwkXl7CNFBhU3Bxw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__7FJk9bgKwkXl7CNFBhU3Bxw_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_5_3[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[16];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[16].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[16].offset = offsetof(tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw, topology);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[16].typ = (&NTI__sAFfMsGk5NM3HtKDuuYPHA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[16].name = "topology";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_5_3[1] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[17];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[17].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[17].offset = offsetof(tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw, amount);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[17].typ = (&NTI__Ryv9bNNePiiahF9b3Btk2KGA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[17].name = "amount";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_5_3[2] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[18];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[18].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[18].offset = offsetof(tyObject_OptionalFields__7FJk9bgKwkXl7CNFBhU3Bxw, testNodePeers);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[18].typ = (&NTI__Ryv9bNNePiiahF9b3Btk2KGA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[18].name = "testNodePeers";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[15].len = 3; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[15].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[15].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_5_3[0];
|
|
NTI__7FJk9bgKwkXl7CNFBhU3Bxw_.node = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[15];
|
|
NTI__EKDTNLfabjNcFFv5yO7Btw_.size = sizeof(tyArray__EKDTNLfabjNcFFv5yO7Btw);
|
|
NTI__EKDTNLfabjNcFFv5yO7Btw_.kind = 16;
|
|
NTI__EKDTNLfabjNcFFv5yO7Btw_.base = (&NTI__7FJk9bgKwkXl7CNFBhU3Bxw_);
|
|
NTI__EKDTNLfabjNcFFv5yO7Btw_.flags = 3;
|
|
NTI__EKDTNLfabjNcFFv5yO7Btw_.name = "array[0..-1, OptionalFields]";
|
|
NTI__EKDTNLfabjNcFFv5yO7Btw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__EKDTNLfabjNcFFv5yO7Btw_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[14].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[14].offset = offsetof(tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA, data);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[14].typ = (&NTI__EKDTNLfabjNcFFv5yO7Btw_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[14].name = "data";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_4_2[1] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[19];
|
|
NTI__IFZN9aAHMDInQPGutw6i79cA_.size = sizeof(tyProc__IFZN9aAHMDInQPGutw6i79cA);
|
|
NTI__IFZN9aAHMDInQPGutw6i79cA_.kind = 25;
|
|
NTI__IFZN9aAHMDInQPGutw6i79cA_.base = 0;
|
|
NTI__IFZN9aAHMDInQPGutw6i79cA_.flags = 3;
|
|
NTI__IFZN9aAHMDInQPGutw6i79cA_.name = "SettersType";
|
|
NTI__IFZN9aAHMDInQPGutw6i79cA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__IFZN9aAHMDInQPGutw6i79cA_;
|
|
NTI__OKy9aY8PXVmgN5uiYZlO7Kw_.size = sizeof(tyArray__OKy9aY8PXVmgN5uiYZlO7Kw);
|
|
NTI__OKy9aY8PXVmgN5uiYZlO7Kw_.kind = 16;
|
|
NTI__OKy9aY8PXVmgN5uiYZlO7Kw_.base = (&NTI__IFZN9aAHMDInQPGutw6i79cA_);
|
|
NTI__OKy9aY8PXVmgN5uiYZlO7Kw_.flags = 3;
|
|
NTI__OKy9aY8PXVmgN5uiYZlO7Kw_.name = "array[0..2, SettersType]";
|
|
NTI__OKy9aY8PXVmgN5uiYZlO7Kw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__OKy9aY8PXVmgN5uiYZlO7Kw_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[19].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[19].offset = offsetof(tyObject_ConfigFile__8pwOc3iOBiSKNylcvtV9bVA, setters);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[19].typ = (&NTI__OKy9aY8PXVmgN5uiYZlO7Kw_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[19].name = "setters";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[13].len = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[13].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[13].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_4_2[0];
|
|
NTI__8pwOc3iOBiSKNylcvtV9bVA_.node = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[13];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[12].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[12].offset = offsetof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A, configFile5);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[12].typ = (&NTI__8pwOc3iOBiSKNylcvtV9bVA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[12].name = "configFile5";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[0].len = 6; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[0].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[0].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_2_6[0];
|
|
NTI__bu2hgFsJD7ZDOn63GIXo2A_.node = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[0];
|
|
NTI__cdxOIR9bDQ70vEw9az6WJodQ_.size = sizeof(tyObject_Env_confutilsdotnim___bu2hgFsJD7ZDOn63GIXo2A*);
|
|
NTI__cdxOIR9bDQ70vEw9az6WJodQ_.kind = 22;
|
|
NTI__cdxOIR9bDQ70vEw9az6WJodQ_.base = (&NTI__bu2hgFsJD7ZDOn63GIXo2A_);
|
|
NTI__cdxOIR9bDQ70vEw9az6WJodQ_.name = "anon ref object from /home/runner/work/nim-waku/nim-waku/vendor"
|
|
"/nim-confutils/confutils.nim(921, 21)";
|
|
NTI__cdxOIR9bDQ70vEw9az6WJodQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__cdxOIR9bDQ70vEw9az6WJodQ_;
|
|
NTI__cdxOIR9bDQ70vEw9az6WJodQ_.marker = Marker_tyRef__cdxOIR9bDQ70vEw9az6WJodQ;
|
|
NTI__juon7p0QxLd386KmW9cv0yg_.size = sizeof(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg);
|
|
NTI__juon7p0QxLd386KmW9cv0yg_.kind = 18;
|
|
NTI__juon7p0QxLd386KmW9cv0yg_.base = 0;
|
|
NTI__juon7p0QxLd386KmW9cv0yg_.name = "CmdInfo:ObjectType";
|
|
NTI__juon7p0QxLd386KmW9cv0yg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__juon7p0QxLd386KmW9cv0yg_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_6_4[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[21];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[21].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[21].offset = offsetof(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg, name);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[21].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[21].name = "name";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_6_4[1] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[22];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[22].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[22].offset = offsetof(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg, desc);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[22].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[22].name = "desc";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_6_4[2] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[23];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[23].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[23].offset = offsetof(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg, isHidden);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[23].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[23].name = "isHidden";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_6_4[3] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[24];
|
|
NTI__xxMz4AWJthCz6HckagPQwQ_.size = sizeof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ);
|
|
NTI__xxMz4AWJthCz6HckagPQwQ_.kind = 18;
|
|
NTI__xxMz4AWJthCz6HckagPQwQ_.base = 0;
|
|
NTI__xxMz4AWJthCz6HckagPQwQ_.name = "OptInfo:ObjectType";
|
|
NTI__xxMz4AWJthCz6HckagPQwQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__xxMz4AWJthCz6HckagPQwQ_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[26];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[26].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[26].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, name);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[26].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[26].name = "name";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[1] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[27];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[27].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[27].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, abbr);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[27].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[27].name = "abbr";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[2] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[28];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[28].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[28].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, desc);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[28].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[28].name = "desc";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[3] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[29];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[29].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[29].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, typename_0);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[29].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[29].name = "typename";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[4] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[30];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[30].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[30].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, idx);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[30].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[30].name = "idx";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[5] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[31];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[31].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[31].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, hasDefault);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[31].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[31].name = "hasDefault";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[6] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[32];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[32].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[32].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, isHidden);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[32].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[32].name = "isHidden";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[7] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[33];
|
|
NTI__JhwU2aE0UGJ4ZHhwsTNDwg_.size = sizeof(tyEnum_OptKind__JhwU2aE0UGJ4ZHhwsTNDwg);
|
|
NTI__JhwU2aE0UGJ4ZHhwsTNDwg_.kind = 14;
|
|
NTI__JhwU2aE0UGJ4ZHhwsTNDwg_.base = 0;
|
|
NTI__JhwU2aE0UGJ4ZHhwsTNDwg_.flags = 3;
|
|
NTI__JhwU2aE0UGJ4ZHhwsTNDwg_.name = "OptKind";
|
|
NTI__JhwU2aE0UGJ4ZHhwsTNDwg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__JhwU2aE0UGJ4ZHhwsTNDwg_;
|
|
for (TM__9bPZS8ds69cDDm8QtLGuVTHw_10 = 0; TM__9bPZS8ds69cDDm8QtLGuVTHw_10 < 3; TM__9bPZS8ds69cDDm8QtLGuVTHw_10++) {
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[TM__9bPZS8ds69cDDm8QtLGuVTHw_10+34].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[TM__9bPZS8ds69cDDm8QtLGuVTHw_10+34].offset = TM__9bPZS8ds69cDDm8QtLGuVTHw_10;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[TM__9bPZS8ds69cDDm8QtLGuVTHw_10+34].name = TM__9bPZS8ds69cDDm8QtLGuVTHw_9[TM__9bPZS8ds69cDDm8QtLGuVTHw_10];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_8_3[TM__9bPZS8ds69cDDm8QtLGuVTHw_10] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[TM__9bPZS8ds69cDDm8QtLGuVTHw_10+34];
|
|
}
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[37].len = 3; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[37].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[37].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_8_3[0];
|
|
NTI__JhwU2aE0UGJ4ZHhwsTNDwg_.node = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[37];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[33].kind = 3;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[33].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, kind);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[33].typ = (&NTI__JhwU2aE0UGJ4ZHhwsTNDwg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[33].name = "kind";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[33].sons = &NimDT___xxMz4AWJthCz6HckagPQwQ_kind[0];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[33].len = 3;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_11_4[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[39];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[39].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[39].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, _kind_1.isCommand);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[39].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[39].name = "isCommand";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_11_4[1] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[40];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[40].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[40].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, _kind_1.isImplicitlySelectable);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[40].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[40].name = "isImplicitlySelectable";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_11_4[2] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[41];
|
|
NTI__ko9cxbrFH52ahk32IABzgRg_.size = sizeof(tySequence__ko9cxbrFH52ahk32IABzgRg*);
|
|
NTI__ko9cxbrFH52ahk32IABzgRg_.kind = 24;
|
|
NTI__ko9cxbrFH52ahk32IABzgRg_.base = (&NTI__6TS6DQKShZRw32kbyabYRw_);
|
|
NTI__ko9cxbrFH52ahk32IABzgRg_.name = "seq[CmdInfo]";
|
|
NTI__ko9cxbrFH52ahk32IABzgRg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__ko9cxbrFH52ahk32IABzgRg_;
|
|
NTI__ko9cxbrFH52ahk32IABzgRg_.marker = Marker_tySequence__ko9cxbrFH52ahk32IABzgRg;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[41].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[41].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, _kind_1.subCmds);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[41].typ = (&NTI__ko9cxbrFH52ahk32IABzgRg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[41].name = "subCmds";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_11_4[3] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[42];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[42].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[42].offset = offsetof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ, _kind_1.defaultSubCmd);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[42].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[42].name = "defaultSubCmd";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[38].len = 4; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[38].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[38].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_11_4[0];
|
|
NimDT___xxMz4AWJthCz6HckagPQwQ_kind[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[38];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[43].len = 0; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[43].kind = 2;
|
|
NimDT___xxMz4AWJthCz6HckagPQwQ_kind[3] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[43];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[25].len = 8; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[25].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[25].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_7_8[0];
|
|
NTI__xxMz4AWJthCz6HckagPQwQ_.node = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[25];
|
|
NTI__fFbH9acUqQ9cpmgG4EsVlJow_.size = sizeof(tyObject_OptInfocolonObjectType___xxMz4AWJthCz6HckagPQwQ*);
|
|
NTI__fFbH9acUqQ9cpmgG4EsVlJow_.kind = 22;
|
|
NTI__fFbH9acUqQ9cpmgG4EsVlJow_.base = (&NTI__xxMz4AWJthCz6HckagPQwQ_);
|
|
NTI__fFbH9acUqQ9cpmgG4EsVlJow_.name = "OptInfo";
|
|
NTI__fFbH9acUqQ9cpmgG4EsVlJow_.nextType = nimTypeRoot; nimTypeRoot=&NTI__fFbH9acUqQ9cpmgG4EsVlJow_;
|
|
NTI__fFbH9acUqQ9cpmgG4EsVlJow_.marker = Marker_tyRef__fFbH9acUqQ9cpmgG4EsVlJow;
|
|
NTI__iU42g6hoJmYMsd12KeuYtQ_.size = sizeof(tySequence__iU42g6hoJmYMsd12KeuYtQ*);
|
|
NTI__iU42g6hoJmYMsd12KeuYtQ_.kind = 24;
|
|
NTI__iU42g6hoJmYMsd12KeuYtQ_.base = (&NTI__fFbH9acUqQ9cpmgG4EsVlJow_);
|
|
NTI__iU42g6hoJmYMsd12KeuYtQ_.name = "seq[OptInfo]";
|
|
NTI__iU42g6hoJmYMsd12KeuYtQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__iU42g6hoJmYMsd12KeuYtQ_;
|
|
NTI__iU42g6hoJmYMsd12KeuYtQ_.marker = Marker_tySequence__iU42g6hoJmYMsd12KeuYtQ;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[24].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[24].offset = offsetof(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg, opts);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[24].typ = (&NTI__iU42g6hoJmYMsd12KeuYtQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[24].name = "opts";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[20].len = 4; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[20].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[20].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_6_4[0];
|
|
NTI__juon7p0QxLd386KmW9cv0yg_.node = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[20];
|
|
NTI__6TS6DQKShZRw32kbyabYRw_.size = sizeof(tyObject_CmdInfocolonObjectType___juon7p0QxLd386KmW9cv0yg*);
|
|
NTI__6TS6DQKShZRw32kbyabYRw_.kind = 22;
|
|
NTI__6TS6DQKShZRw32kbyabYRw_.base = (&NTI__juon7p0QxLd386KmW9cv0yg_);
|
|
NTI__6TS6DQKShZRw32kbyabYRw_.flags = 2;
|
|
NTI__6TS6DQKShZRw32kbyabYRw_.name = "ref CmdInfo:ObjectType";
|
|
NTI__6TS6DQKShZRw32kbyabYRw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__6TS6DQKShZRw32kbyabYRw_;
|
|
NTI__6TS6DQKShZRw32kbyabYRw_.marker = Marker_tyRef__6TS6DQKShZRw32kbyabYRw;
|
|
NTI__sIuz4whJ6rccaHGq2SQRtw_.size = sizeof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw);
|
|
NTI__sIuz4whJ6rccaHGq2SQRtw_.kind = 18;
|
|
NTI__sIuz4whJ6rccaHGq2SQRtw_.base = 0;
|
|
NTI__sIuz4whJ6rccaHGq2SQRtw_.flags = 2;
|
|
NTI__sIuz4whJ6rccaHGq2SQRtw_.name = "HelpAppInfo:ObjectType";
|
|
NTI__sIuz4whJ6rccaHGq2SQRtw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__sIuz4whJ6rccaHGq2SQRtw_;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_107_6[0] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[45];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[45].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[45].offset = offsetof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw, appInvocation);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[45].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[45].name = "appInvocation";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_107_6[1] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[46];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[46].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[46].offset = offsetof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw, copyrightBanner);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[46].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[46].name = "copyrightBanner";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_107_6[2] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[47];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[47].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[47].offset = offsetof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw, hasAbbrs);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[47].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[47].name = "hasAbbrs";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_107_6[3] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[48];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[48].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[48].offset = offsetof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw, maxNameLen);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[48].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[48].name = "maxNameLen";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_107_6[4] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[49];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[49].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[49].offset = offsetof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw, terminalWidth);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[49].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[49].name = "terminalWidth";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_107_6[5] = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[50];
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[50].kind = 1;
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[50].offset = offsetof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw, namesWidth);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[50].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[50].name = "namesWidth";
|
|
TM__9bPZS8ds69cDDm8QtLGuVTHw_0[44].len = 6; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[44].kind = 2; TM__9bPZS8ds69cDDm8QtLGuVTHw_0[44].sons = &TM__9bPZS8ds69cDDm8QtLGuVTHw_107_6[0];
|
|
NTI__sIuz4whJ6rccaHGq2SQRtw_.node = &TM__9bPZS8ds69cDDm8QtLGuVTHw_0[44];
|
|
NTI__QtCxK3OkpAyy8Hko1P0lMw_.size = sizeof(tyObject_HelpAppInfocolonObjectType___sIuz4whJ6rccaHGq2SQRtw*);
|
|
NTI__QtCxK3OkpAyy8Hko1P0lMw_.kind = 22;
|
|
NTI__QtCxK3OkpAyy8Hko1P0lMw_.base = (&NTI__sIuz4whJ6rccaHGq2SQRtw_);
|
|
NTI__QtCxK3OkpAyy8Hko1P0lMw_.flags = 2;
|
|
NTI__QtCxK3OkpAyy8Hko1P0lMw_.name = "HelpAppInfo";
|
|
NTI__QtCxK3OkpAyy8Hko1P0lMw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__QtCxK3OkpAyy8Hko1P0lMw_;
|
|
NTI__QtCxK3OkpAyy8Hko1P0lMw_.marker = Marker_tyRef__QtCxK3OkpAyy8Hko1P0lMw;
|
|
}
|
|
|