>>> minipeg: Building community/minipeg 0.1.18_git20221008-r0 (using abuild 3.13.0-r3) started Sun, 21 Apr 2024 20:39:24 +0000 >>> minipeg: Checking sanity of /home/buildozer/aports/community/minipeg/APKBUILD... >>> minipeg: Analyzing dependencies... >>> minipeg: Installing for build: build-base (1/1) Installing .makedepends-minipeg (20240421.203925) OK: 379 MiB in 114 packages >>> minipeg: Cleaning up srcdir >>> minipeg: Cleaning up pkgdir >>> minipeg: Cleaning up tmpdir >>> minipeg: Fetching https://distfiles.alpinelinux.org/distfiles/edge/minipeg-e6e26c2612cae839cee1323395bc62f2e11377d1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44875 100 44875 0 0 263k 0 --:--:-- --:--:-- --:--:-- 265k >>> minipeg: Fetching https://distfiles.alpinelinux.org/distfiles/edge/minipeg-e6e26c2612cae839cee1323395bc62f2e11377d1.tar.gz >>> minipeg: Checking sha512sums... minipeg-e6e26c2612cae839cee1323395bc62f2e11377d1.tar.gz: OK >>> minipeg: Unpacking /var/cache/distfiles/edge/minipeg-e6e26c2612cae839cee1323395bc62f2e11377d1.tar.gz... fatal: not a git repository (or any of the parent directories): .git echo "#define MINIPEG_VERSION"\ "\"2024.04.21\"" > version.h gcc -g -O2 -Wall -o bootstrap-minipeg minipeg.c gcc -g -O2 -Wall -c -o compile.o compile.c gcc -g -O2 -Wall -c -o tree.o tree.c In function '_newNode', inlined from 'makeVariable' at tree.c:83:9: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 20 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeVariable': tree.c:84:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 84 | node->variable.name= strdup(name); | ^~ In function '_newNode', inlined from 'makeVariable' at tree.c:83:9: tree.c:26:15: note: object of size 20 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeVariable': tree.c:85:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 85 | node->variable.next= thisRule->rule.variables; | ^~ In function '_newNode', inlined from 'makeVariable' at tree.c:83:9: tree.c:26:15: note: object of size 20 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeName' at tree.c:92:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeName': tree.c:93:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 93 | node->name.rule= rule; | ^~ In function '_newNode', inlined from 'makeName' at tree.c:92:15: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeName': tree.c:94:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 94 | node->name.variable= 0; | ^~ In function '_newNode', inlined from 'makeName' at tree.c:92:15: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeDot' at tree.c:101:10: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 8 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeCharacter' at tree.c:106:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeCharacter': tree.c:107:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 107 | node->character.value= strdup(text); | ^~ In function '_newNode', inlined from 'makeCharacter' at tree.c:106:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeString' at tree.c:113:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeString': tree.c:114:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 114 | node->string.value= strdup(text); | ^~ In function '_newNode', inlined from 'makeString' at tree.c:113:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeClass' at tree.c:120:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeClass': tree.c:121:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 121 | node->cclass.value= (unsigned char *)strdup(text); | ^~ In function '_newNode', inlined from 'makeClass' at tree.c:120:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeInline' at tree.c:148:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeInline': tree.c:149:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 149 | node->inLine.text= strdup(text); | ^~ In function '_newNode', inlined from 'makeInline' at tree.c:148:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makePredicate' at tree.c:155:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makePredicate': tree.c:156:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 156 | node->predicate.text= strdup(text); | ^~ In function '_newNode', inlined from 'makePredicate' at tree.c:155:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeError' at tree.c:162:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeError': tree.c:163:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 163 | node->error.element= e; | ^~ In function '_newNode', inlined from 'makeError' at tree.c:162:15: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeError': tree.c:164:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 164 | node->error.text= strdup(text); | ^~ In function '_newNode', inlined from 'makeError' at tree.c:162:15: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:172:19, inlined from 'makeAlternate' at tree.c:168:7: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:168:7: tree.c:174:29: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 174 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:172:19, inlined from 'makeAlternate' at tree.c:168:7: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:168:7: tree.c:173:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 173 | node->alternate.first= | ~~~~~~~~~~~~~~~~~~~~~^ 174 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:172:19, inlined from 'makeAlternate' at tree.c:168:7: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:172:19, inlined from 'makeAlternate' at tree.c:168:7, inlined from 'Alternate_append' at tree.c:182:6: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:168:7, inlined from 'Alternate_append' at tree.c:182:6: tree.c:174:29: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 174 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:172:19, inlined from 'makeAlternate' at tree.c:168:7, inlined from 'Alternate_append' at tree.c:182:6: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:168:7, inlined from 'Alternate_append' at tree.c:182:6: tree.c:173:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 173 | node->alternate.first= | ~~~~~~~~~~~~~~~~~~~~~^ 174 | node->alternate.last= e; | ~~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:172:19, inlined from 'makeAlternate' at tree.c:168:7, inlined from 'Alternate_append' at tree.c:182:6: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at tree.c:192:19, inlined from 'makeSequence' at tree.c:188:7: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:188:7: tree.c:194:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 194 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeSequence' at tree.c:192:19, inlined from 'makeSequence' at tree.c:188:7: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:188:7: tree.c:193:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 193 | node->sequence.first= | ~~~~~~~~~~~~~~~~~~~~^ 194 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at tree.c:192:19, inlined from 'makeSequence' at tree.c:188:7: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at tree.c:192:19, inlined from 'makeSequence' at tree.c:188:7, inlined from 'Sequence_append' at tree.c:202:6: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:188:7, inlined from 'Sequence_append' at tree.c:202:6: tree.c:194:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 194 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~^~~ In function '_newNode', inlined from 'makeSequence' at tree.c:192:19, inlined from 'makeSequence' at tree.c:188:7, inlined from 'Sequence_append' at tree.c:202:6: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:188:7, inlined from 'Sequence_append' at tree.c:202:6: tree.c:193:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 193 | node->sequence.first= | ~~~~~~~~~~~~~~~~~~~~^ 194 | node->sequence.last= e; | ~~~~~~~~~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeSequence' at tree.c:192:19, inlined from 'makeSequence' at tree.c:188:7, inlined from 'Sequence_append' at tree.c:202:6: tree.c:26:15: note: object of size 16 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makePeekFor' at tree.c:210:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makePeekFor': tree.c:211:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 211 | node->peekFor.element= e; | ^~ In function '_newNode', inlined from 'makePeekFor' at tree.c:210:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makePeekNot' at tree.c:217:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makePeekNot': tree.c:218:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 218 | node->peekNot.element= e; | ^~ In function '_newNode', inlined from 'makePeekNot' at tree.c:217:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeQuery' at tree.c:224:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeQuery': tree.c:225:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 225 | node->query.element= e; | ^~ In function '_newNode', inlined from 'makeQuery' at tree.c:224:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeStar' at tree.c:231:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makeStar': tree.c:232:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 232 | node->star.element= e; | ^~ In function '_newNode', inlined from 'makeStar' at tree.c:231:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makePlus' at tree.c:238:15: tree.c:27:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 27 | node->type= type; | ~~~~~~~~~~^~~~~~ tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ tree.c: In function 'makePlus': tree.c:239:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 239 | node->plus.element= e; | ^~ In function '_newNode', inlined from 'makePlus' at tree.c:238:15: tree.c:26:15: note: object of size 12 allocated by 'calloc' 26 | Node *node= calloc(1, size); | ^~~~~~~~~~~~~~~ In function '_newNode', inlined from 'makeDot' at tree.c:96:10, inlined from 'yy_6_primary' at peg.peg:88:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 8 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeVariable' at tree.c:78:9: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 20 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeVariable': tree.c:79:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 79 | assert(thisRule); | ^~ In function '_newNode', inlined from 'makeVariable' at tree.c:78:9: tree.c:21:15: note: object of size 20 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeVariable': tree.c:80:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[20]' [-Warray-bounds=] 80 | for (node= thisRule->rule.variables; node; node= node->variable.next) | ^~ In function '_newNode', inlined from 'makeVariable' at tree.c:78:9: tree.c:21:15: note: object of size 20 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeName' at tree.c:87:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeName': tree.c:88:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 88 | } | ^ In function '_newNode', inlined from 'makeName' at tree.c:87:15: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeName': tree.c:89:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 89 | | ^ In function '_newNode', inlined from 'makeName' at tree.c:87:15: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeDot' at tree.c:96:10: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[8]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 8 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeCharacter' at tree.c:101:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeCharacter': tree.c:102:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 102 | } | ^ In function '_newNode', inlined from 'makeCharacter' at tree.c:101:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeString' at tree.c:108:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeString': tree.c:109:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 109 | } | ^ In function '_newNode', inlined from 'makeString' at tree.c:108:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeClass' at tree.c:115:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeClass': tree.c:116:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 116 | } | ^ In function '_newNode', inlined from 'makeClass' at tree.c:115:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeInline' at tree.c:143:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeInline': tree.c:144:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 144 | } | ^ In function '_newNode', inlined from 'makeInline' at tree.c:143:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePredicate' at tree.c:150:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makePredicate': tree.c:151:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 151 | } | ^ In function '_newNode', inlined from 'makePredicate' at tree.c:150:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeError' at tree.c:157:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeError': tree.c:158:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 158 | } | ^ In function '_newNode', inlined from 'makeError' at tree.c:157:15: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeError': tree.c:159:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 159 | | ^ In function '_newNode', inlined from 'makeError' at tree.c:157:15: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:163:7: tree.c:169:22: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 169 | { | ^ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:163:7: tree.c:168:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 168 | Node *makeAlternate(Node *e) | ~~~~~~~~~~~~~~~~~~~~~^ 169 | { | ~ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6: tree.c:169:22: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 169 | { | ^ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6: tree.c:168:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 168 | Node *makeAlternate(Node *e) | ~~~~~~~~~~~~~~~~~~~~~^ 169 | { | ~ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:183:7: tree.c:189:21: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 189 | { | ^ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:183:7: tree.c:188:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 188 | Node *makeSequence(Node *e) | ~~~~~~~~~~~~~~~~~~~~^ 189 | { | ~ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6: tree.c:189:21: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 189 | { | ^ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6: tree.c:188:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 188 | Node *makeSequence(Node *e) | ~~~~~~~~~~~~~~~~~~~~^ 189 | { | ~ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePeekFor' at tree.c:205:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makePeekFor': tree.c:206:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 206 | } | ^ In function '_newNode', inlined from 'makePeekFor' at tree.c:205:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePeekNot' at tree.c:212:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makePeekNot': tree.c:213:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 213 | } | ^ In function '_newNode', inlined from 'makePeekNot' at tree.c:212:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeQuery' at tree.c:219:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeQuery': tree.c:220:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 220 | } | ^ In function '_newNode', inlined from 'makeQuery' at tree.c:219:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeStar' at tree.c:226:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makeStar': tree.c:227:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 227 | } | ^ In function '_newNode', inlined from 'makeStar' at tree.c:226:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePlus' at tree.c:233:15: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ tree.c: In function 'makePlus': tree.c:234:7: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 234 | } | ^ In function '_newNode', inlined from 'makePlus' at tree.c:233:15: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePredicate' at tree.c:150:15, inlined from 'yy_2_prefix' at peg.peg:72:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makePredicate', inlined from 'yy_2_prefix' at peg.peg:72:4: tree.c:151:23: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 151 | } | ^ In function '_newNode', inlined from 'makePredicate' at tree.c:150:15, inlined from 'yy_2_prefix' at peg.peg:72:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeInline' at tree.c:143:15, inlined from 'yy_1_prefix' at peg.peg:71:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeInline', inlined from 'yy_1_prefix' at peg.peg:71:4: tree.c:144:20: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 144 | } | ^ In function '_newNode', inlined from 'makeInline' at tree.c:143:15, inlined from 'yy_1_prefix' at peg.peg:71:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePredicate' at tree.c:150:15, inlined from 'yy_9_primary' at peg.peg:91:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makePredicate', inlined from 'yy_9_primary' at peg.peg:91:4: tree.c:151:23: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 151 | } | ^ In function '_newNode', inlined from 'makePredicate' at tree.c:150:15, inlined from 'yy_9_primary' at peg.peg:91:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePredicate' at tree.c:150:15, inlined from 'yy_8_primary' at peg.peg:90:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makePredicate', inlined from 'yy_8_primary' at peg.peg:90:4: tree.c:151:23: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 151 | } | ^ In function '_newNode', inlined from 'makePredicate' at tree.c:150:15, inlined from 'yy_8_primary' at peg.peg:90:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeClass' at tree.c:115:15, inlined from 'yy_5_primary' at peg.peg:87:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeClass', inlined from 'yy_5_primary' at peg.peg:87:4: tree.c:116:21: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 116 | } | ^ In function '_newNode', inlined from 'makeClass' at tree.c:115:15, inlined from 'yy_5_primary' at peg.peg:87:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeString' at tree.c:108:15, inlined from 'yy_4_primary' at peg.peg:86:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeString', inlined from 'yy_4_primary' at peg.peg:86:4: tree.c:109:21: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 109 | } | ^ In function '_newNode', inlined from 'makeString' at tree.c:108:15, inlined from 'yy_4_primary' at peg.peg:86:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeName' at tree.c:87:15, inlined from 'yy_3_primary' at peg.peg:84:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeName', inlined from 'yy_3_primary' at peg.peg:84:4: tree.c:88:18: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 88 | } | ^ In function '_newNode', inlined from 'makeName' at tree.c:87:15, inlined from 'yy_3_primary' at peg.peg:84:4: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeName', inlined from 'yy_3_primary' at peg.peg:84:4: tree.c:89:22: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 89 | | ^ In function '_newNode', inlined from 'makeName' at tree.c:87:15, inlined from 'yy_3_primary' at peg.peg:84:4: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6, inlined from 'yy_1_expression' at peg.peg:62:21: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6, inlined from 'yy_1_expression' at peg.peg:62:21: tree.c:169:22: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 169 | { | ^ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6, inlined from 'yy_1_expression' at peg.peg:62:21: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeAlternate', inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6, inlined from 'yy_1_expression' at peg.peg:62:21: tree.c:168:28: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 168 | Node *makeAlternate(Node *e) | ~~~~~~~~~~~~~~~~~~~~~^ 169 | { | ~ In function '_newNode', inlined from 'makeAlternate' at tree.c:167:19, inlined from 'makeAlternate' at tree.c:163:7, inlined from 'Alternate_append' at tree.c:177:6, inlined from 'yy_1_expression' at peg.peg:62:21: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6, inlined from 'yy_1_sequence' at peg.peg:65:21: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6, inlined from 'yy_1_sequence' at peg.peg:65:21: tree.c:189:21: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 189 | { | ^ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6, inlined from 'yy_1_sequence' at peg.peg:65:21: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeSequence', inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6, inlined from 'yy_1_sequence' at peg.peg:65:21: tree.c:188:27: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 188 | Node *makeSequence(Node *e) | ~~~~~~~~~~~~~~~~~~~~^ 189 | { | ~ In function '_newNode', inlined from 'makeSequence' at tree.c:187:19, inlined from 'makeSequence' at tree.c:183:7, inlined from 'Sequence_append' at tree.c:197:6, inlined from 'yy_1_sequence' at peg.peg:65:21: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeError' at tree.c:157:15, inlined from 'yy_1_error' at peg.peg:68:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeError', inlined from 'yy_1_error' at peg.peg:68:4: tree.c:158:22: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 158 | } | ^ In function '_newNode', inlined from 'makeError' at tree.c:157:15, inlined from 'yy_1_error' at peg.peg:68:4: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeError', inlined from 'yy_1_error' at peg.peg:68:4: tree.c:159:19: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 159 | | ^ In function '_newNode', inlined from 'makeError' at tree.c:157:15, inlined from 'yy_1_error' at peg.peg:68:4: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePeekNot' at tree.c:212:15, inlined from 'yy_4_prefix' at peg.peg:74:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makePeekNot', inlined from 'yy_4_prefix' at peg.peg:74:4: tree.c:213:24: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 213 | } | ^ In function '_newNode', inlined from 'makePeekNot' at tree.c:212:15, inlined from 'yy_4_prefix' at peg.peg:74:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePeekFor' at tree.c:205:15, inlined from 'yy_3_prefix' at peg.peg:73:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makePeekFor', inlined from 'yy_3_prefix' at peg.peg:73:4: tree.c:206:24: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 206 | } | ^ In function '_newNode', inlined from 'makePeekFor' at tree.c:205:15, inlined from 'yy_3_prefix' at peg.peg:73:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makePlus' at tree.c:233:15, inlined from 'yy_3_suffix' at peg.peg:79:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makePlus', inlined from 'yy_3_suffix' at peg.peg:79:4: tree.c:234:21: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 234 | } | ^ In function '_newNode', inlined from 'makePlus' at tree.c:233:15, inlined from 'yy_3_suffix' at peg.peg:79:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeStar' at tree.c:226:15, inlined from 'yy_2_suffix' at peg.peg:78:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeStar', inlined from 'yy_2_suffix' at peg.peg:78:4: tree.c:227:21: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 227 | } | ^ In function '_newNode', inlined from 'makeStar' at tree.c:226:15, inlined from 'yy_2_suffix' at peg.peg:78:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeQuery' at tree.c:219:15, inlined from 'yy_1_suffix' at peg.peg:77:4: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeQuery', inlined from 'yy_1_suffix' at peg.peg:77:4: tree.c:220:22: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[12]' [-Warray-bounds=] 220 | } | ^ In function '_newNode', inlined from 'makeQuery' at tree.c:219:15, inlined from 'yy_1_suffix' at peg.peg:77:4: tree.c:21:15: note: object of size 12 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function '_newNode', inlined from 'makeName' at tree.c:87:15, inlined from 'yy_2_primary' at peg.peg:83:16: tree.c:22:13: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 22 | int lastToken= -1; | ~~~~~~~~~~^~~~~~ tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeName', inlined from 'yy_2_primary' at peg.peg:83:16: tree.c:88:18: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 88 | } | ^ In function '_newNode', inlined from 'makeName' at tree.c:87:15, inlined from 'yy_2_primary' at peg.peg:83:16: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ In function 'makeName', inlined from 'yy_2_primary' at peg.peg:83:16: tree.c:89:22: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 89 | | ^ In function '_newNode', inlined from 'makeName' at tree.c:87:15, inlined from 'yy_2_primary' at peg.peg:83:16: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ peg.peg: In function 'yy_2_primary': peg.peg:83:77: warning: array subscript 'Node[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=] 83 | COLON identifier !EQUAL { Node *name= makeName(findRule(yytext)); name->name.variable= pop(); push(name); } | ^~ In function '_newNode', inlined from 'makeName' at tree.c:87:15, inlined from 'yy_2_primary' at peg.peg:83:16: tree.c:21:15: note: object of size 16 allocated by 'calloc' 21 | int ruleCount= 0; | ^~~ ./bootstrap-minipeg -o peg.c peg.peg gcc -g -O2 -Wall -c -o peg.o peg.c gcc -g -O2 -Wall -o minipeg compile.o tree.o peg.o grep -v -e "^/\* Parser generated by minipeg " -e '#define MINIPEG_VERSION' minipeg.c > minipeg.c.noversion sh amalg.sh version.h tree.h compile.c tree.c peg.c > minipeg-new.c grep -v -e "^/\* Parser generated by minipeg " -e '#define MINIPEG_VERSION' minipeg-new.c > minipeg-new.c.noversion diff -u minipeg.c.noversion minipeg-new.c.noversion /bin/sh -ec '(cd examples; make)' make[1]: Entering directory '/home/buildozer/aports/community/minipeg/src/minipeg-e6e26c2612cae839cee1323395bc62f2e11377d1/examples' ../minipeg -o test.peg.c test.peg ../minipeg -o rule.peg.c rule.peg ../minipeg -o accept.peg.c accept.peg gcc -g -Wall -O3 -o test test.c gcc -g -Wall -O3 -o rule rule.c gcc -g -Wall -O3 -o accept accept.c ../minipeg -o wc.peg.c wc.peg ../minipeg -o dc.peg.c dc.peg ../minipeg -o dcv.peg.c dcv.peg gcc -g -Wall -O3 -o wc wc.peg.c ../minipeg -o calc.peg.c calc.peg gcc -g -Wall -O3 -o dc dc.c gcc -g -Wall -O3 -o dcv dcv.c ../minipeg -o basic.peg.c basic.peg gcc -g -Wall -O3 -o calc calc.peg.c ../minipeg -o local.peg.c local.peg ../minipeg -o erract.peg.c erract.peg gcc -g -Wall -O3 -o local local.peg.c gcc -g -Wall -O3 -o erract erract.peg.c gcc -g -Wall -O3 -o basic basic.peg.c ./local < local.peg | cat > local.out diff local.ref local.out rm -f local.out cat wc.peg | ./wc | cat > wc.out diff wc.ref wc.out rm -f wc.out echo 'abcbcdabcbcdabcbcdabcbcd' | ./accept | cat > accept.out diff accept.ref accept.out rm -f accept.out echo '6*9' | ./erract | cat > erract.out diff erract.ref erract.out rm -f erract.out echo 'ab.ac.ad.ae.afg.afh.afg.afh.afi.afj.' | ./test | cat > test.out diff test.ref test.out rm -f test.out echo 'abcbcdabcbcdabcbcdabcbcd' | ./rule | cat > rule.out diff rule.ref rule.out rm -f rule.out echo ' 2 *3 *(3+ 4) ' | ./dc | cat > dc.out diff dc.ref dc.out rm -f dc.out echo 'a = 6; b = 7; a * b' | ./dcv | cat > dcv.out diff dcv.ref dcv.out rm -f dcv.out echo 'a = 6; b = 7; a * b' | ./calc | cat > calc.out diff calc.ref calc.out rm -f calc.out ( echo 'load "test"'; echo "run" ) | ./basic | cat > basic.out diff basic.ref basic.out rm -f basic.out make[1]: Leaving directory '/home/buildozer/aports/community/minipeg/src/minipeg-e6e26c2612cae839cee1323395bc62f2e11377d1/examples' >>> minipeg: Entering fakeroot... >>> minipeg-doc*: Running split function doc... >>> minipeg-doc*: Preparing subpackage minipeg-doc... >>> minipeg-doc*: Running postcheck for minipeg-doc >>> minipeg*: Running postcheck for minipeg >>> minipeg*: Preparing package minipeg... >>> minipeg*: Stripping binaries >>> minipeg-doc*: Scanning shared objects >>> minipeg*: Scanning shared objects >>> minipeg-doc*: Tracing dependencies... >>> minipeg-doc*: Package size: 44.0 KB >>> minipeg-doc*: Compressing data... >>> minipeg-doc*: Create checksum... >>> minipeg-doc*: Create minipeg-doc-0.1.18_git20221008-r0.apk >>> minipeg*: Tracing dependencies... so:libc.musl-x86.so.1 >>> minipeg*: Package size: 64.0 KB >>> minipeg*: Compressing data... >>> minipeg*: Create checksum... >>> minipeg*: Create minipeg-0.1.18_git20221008-r0.apk >>> minipeg: Build complete at Sun, 21 Apr 2024 20:39:31 +0000 elapsed time 0h 0m 7s >>> minipeg: Cleaning up srcdir >>> minipeg: Cleaning up pkgdir >>> minipeg: Uninstalling dependencies... (1/1) Purging .makedepends-minipeg (20240421.203925) OK: 379 MiB in 113 packages >>> minipeg: Updating the community/x86 repository index... >>> minipeg: Signing the index...