ngs-lang / ngs

Next Generation Shell (NGS)
https://ngs-lang.org/
GNU General Public License v3.0
1.4k stars 43 forks source link

Build failure: `syntax.leg: error: too few arguments to function 'yyPush'` #662

Closed barracuda156 closed 1 week ago

barracuda156 commented 2 weeks ago

Could someone say why this fails?

[ 92%] Building C object CMakeFiles/ngs.dir/decompile.c.o
/opt/local/bin/gcc-mp-13 -DHAVE_EXECINFO_H -DHAVE_POLL_H -DNGS_STUPID_MALLOC_AFTER_FORK -D_BSD_SOURCE -D_DARWIN_C_SOURCE=1 -D_DEFAULT_SOURCE=1 -D_XOPEN_SOURCE=700 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/build -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16 -I/opt/local/include -I/opt/homebrew/include -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -arch ppc -mmacosx-version-min=10.6 -MD -MT CMakeFiles/ngs.dir/decompile.c.o -MF CMakeFiles/ngs.dir/decompile.c.o.d -o CMakeFiles/ngs.dir/decompile.c.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/decompile.c
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_shells_ngs/ngs/work/ngs-0.2.16/ngs.c:12:
syntax.leg: In function 'yy_unquoted_basic_command_word':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:360:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:361:120: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:379:100: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:380:113: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:402:100: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:403:113: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:409:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:414:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_command_word':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:428:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:430:137: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:431:141: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:432:135: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:437:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:442:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_command_redirect':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:446:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:447:85: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:447:188: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:451:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:453:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:458:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_command_option':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:462:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:463:85: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:464:96: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:469:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:474:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_command_words':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:478:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:479:92: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:481:100: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:509:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:514:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_commands_pipeline_option':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:540:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:541:95: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:542:96: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:547:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:552:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_collector_init':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:590:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:592:134: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:597:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:602:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_string_dq_dollar_expansion':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:694:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:696:94: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:697:135: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:698:141: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:699:138: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:700:144: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:704:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:709:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_string_dq':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:798:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:799:125: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:810:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:815:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_string_sq':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:819:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:820:125: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:830:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:835:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_var_scope_declaration_item_optional_value':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:839:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:849:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:854:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:859:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_var_scope_declaration_item':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:863:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:864:98: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:864:231: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:866:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:871:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_if_optional_else_block':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:980:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:998:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1003:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1008:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_for_in':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1038:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1043:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1043:254: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1047:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1049:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1054:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_for_start_cond_incr':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1058:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1063:87: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1067:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1075:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1083:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1085:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1090:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_for_i_n':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1094:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1103:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1111:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1119:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1121:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1126:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_hash_command_word':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1140:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1146:144: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1150:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1155:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_imm_hash_words':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1159:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1160:94: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1174:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1179:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_hash_item':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1183:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1189:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1190:101: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1198:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1202:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1207:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_hash_items':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1221:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1222:89: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1228:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1233:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_imm_array_words':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1263:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1264:95: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1278:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1283:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_array_item':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1287:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1293:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1298:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1303:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_array_items':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1317:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1318:91: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1324:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1329:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_call_argument':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1343:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1345:99: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1353:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1358:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1363:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1364:101: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1368:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1373:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_call_external_argument':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1377:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1383:91: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1384:101: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1392:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1396:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1401:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_call_arguments_without_parens':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1405:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1406:109: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1408:111: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1410:152: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1416:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1421:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_doc_lines':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1435:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1436:79: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1436:179: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1438:97: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1442:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1447:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_doc_line':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1451:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1457:100: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1466:100: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1466:248: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1471:95: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1484:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1489:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_namespace_optional_parameters':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1549:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1559:68: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1568:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1573:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_definition_default_value':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1577:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1587:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1592:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1597:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_definition_parameter_type':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1601:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1611:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1616:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1621:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_definition_parameter':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1625:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1631:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1636:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1637:101: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1637:227: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1637:352: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1641:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1646:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_definition_parameters':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1660:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1661:103: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1663:118: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1665:159: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1671:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1676:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_definition_name':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1680:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1687:99: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1741:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1746:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_optional_doc':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1750:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1752:98: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1757:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1762:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_tree_literal':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1766:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1767:132: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1767:233: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1773:56: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1781:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1788:51: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1793:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1798:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_PRINT_AST':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1802:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1803:161: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1805:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1810:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_throw':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1824:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1825:153: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1827:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1832:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_try_catch':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1836:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1837:159: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1837:261: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1851:68: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1859:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1863:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1868:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_guard':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1872:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1873:153: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1875:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1880:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_collector':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1884:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1885:134: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1885:267: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1887:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1892:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_return':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1916:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1917:125: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1918:137: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1923:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1928:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_var_scope_declaration':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1932:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1933:112: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1947:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1952:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_regexp':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1956:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1957:121: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1965:83: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1967:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:1972:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_cond':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:1976:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:1977:74: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1985:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1989:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1995:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:1999:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2007:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2012:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_call_arguments':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2016:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2021:76: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2027:151: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2031:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2036:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_subshell':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2090:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2092:148: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2093:150: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2094:150: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2095:147: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2099:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2104:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_abc_function_literal':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2108:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2109:98: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2111:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2116:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_imm_hash_literal':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2120:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2127:147: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2135:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2140:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_hash_literal':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2144:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2155:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2171:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2176:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_parenthesized_expr':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2180:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2185:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2191:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2196:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_imm_array_literal':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2314:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2321:148: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2329:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2334:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_array_literal':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2338:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2349:49: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2365:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2370:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_chain_item':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2374:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2376:99: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2377:104: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2378:108: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2379:97: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2380:97: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2381:109: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2382:103: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2383:107: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2384:111: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2385:99: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2389:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2394:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_binop2':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2536:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2537:114: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2539:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2544:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_chain_expression':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2894:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2895:94: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2902:61: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2907:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2916:59: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2920:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2929:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2938:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2939:140: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2940:143: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2946:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2951:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_binop_expression_inner':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2955:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2956:100: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2959:94: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2959:202: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2961:137: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:2967:209: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2973:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2978:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_binop_expression':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:2982:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:2983:100: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2985:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:2990:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_expressions':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3048:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3050:99: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3050:248: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3051:101: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3055:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3060:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_commands_pipeline':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3064:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3069:60: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3071:113: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3078:102: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3085:51: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3087:102: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3091:51: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3098:102: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3115:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3120:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_expression':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3124:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3127:107: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3135:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3140:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_switch':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3242:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3243:78: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3250:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3258:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3262:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3268:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3272:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3280:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3285:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_while':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3289:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3297:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3301:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3303:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3308:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_if':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3312:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3320:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3328:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3328:162: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3330:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3335:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_section':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3339:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3340:153: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3340:286: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3342:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3347:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_block':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3351:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3352:153: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3352:286: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3354:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3359:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_namespace':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3363:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3364:142: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3365:105: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3366:113: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3370:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3375:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_type':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3379:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3380:78: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3384:123: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3388:70: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3390:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3395:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_call':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3399:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3400:91: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3404:61: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3406:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3411:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_function_definition':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3415:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3416:93: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3420:101: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3428:68: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3436:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3438:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3443:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_inplace_assignment':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3447:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3448:90: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3452:59: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3456:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3458:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3463:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_assignment':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3467:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3468:82: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3476:48: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3478:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3483:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_curly_code_block':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3487:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3496:49: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3510:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3515:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_command':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3585:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3608:108: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3612:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3617:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg: In function 'yy_commands':
syntax.leg:535:24: error: too few arguments to function 'yyPush'
syntax.leg:3700:57: note: in expansion of macro 'yyEnter'
syntax.leg:517:16: note: declared here
syntax.leg:3706:45: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3706:189: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:3707:98: error: too few arguments to function 'yySet'
syntax.leg:529:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3720:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
syntax.leg:536:24: error: too few arguments to function 'yyPop'
syntax.leg:3725:3: note: in expansion of macro 'yyLeave'
syntax.leg:528:16: note: declared here
make[2]: *** [CMakeFiles/ngs.dir/ngs.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....

P. S. There are two minor issues too, missing MAP_ANONYMOUS on Darwin < 15 (trivial fix, define to MAP_ANON) and Pandoc (which is broken on powerpc) being pulled by documentation building, which unfortunately does not have a configure argument (but can be just removed).

ryandesign commented 2 weeks ago

It is better to discuss one problem per issue. File additional issues for additional problems. That way each issue can be investigated and marked as solved after it has been dealt with.

Could someone say why this fails?

I see the problem with llvm.org clang (version 10 or 18) on macOS 12 as well. It probably occurs for exactly the reason stated: a function is being called with a different number of arguments than it expects.

ryandesign commented 2 weeks ago

A bit more context on those errors:

In file included from /opt/local/var/macports/build/_Volumes_Shared_macports-ports_shells_ngs/ngs/work/ngs-0.2.16/ngs.c:11:
syntax.leg:360:57: error: too few arguments to function call, expected 4, have 3
{  int yypos0= yy->__pos, yythunkpos0= yy->__thunkpos;  yyEnter(yy, 3);  yyDo(yy, yyPush, 3, 0, (int []){0, 0, 0 ,0});
                                                        ^~~~~~~~~~~~~~
syntax.leg:535:39: note: expanded from macro 'yyEnter'
#define yyEnter(YY, N) yyPush(YY, 0, N)
                       ~~~~~~         ^
syntax.leg:517:16: note: 'yyPush' declared here
YY_LOCAL(void) yyPush(yycontext *yy, char *text, int count, int location[4])
               ^
syntax.leg:361:135: error: too few arguments to function call, expected 4, have 3
  yyprintf((stderr, "%s\n", "unquoted_basic_command_word"));  if (!yy_unquoted_basic_command_word_node(yy)) goto l14;  yySet(yy, 0, -3);  yyDo(yy, yySet, -3, 0, (int []){0, 0, 0 ,0});
                                                                                                                       ~~~~~          ^
syntax.leg:529:16: note: 'yySet' declared here
YY_LOCAL(void) yySet(yycontext *yy, char *text, int count, int location[4])   { yy->__val[count]= yy->__; }
               ^
ilyash-b commented 2 weeks ago

Looking into this

ilyash-b commented 2 weeks ago

Here is my theory. The error is in the syntax.include file, generated during the build. It's a leg output patched by NGS. Since I can't see yyEnter in my file, I assume it's an older version of leg. @barracuda156, Please test in one of the following ways:

Edit: yyEnter, not yyPush

ilyash-b commented 2 weeks ago

Not so sure now. It might be that I'm not seeing yyEnter because the macro was already expanded. Looking into it.

ilyash-b commented 2 weeks ago

It's newer version of peg/leg parser. NGS uses the following one (excerpt from CMakeLists.txt)

        URL https://www.piumarta.com/software/peg/peg-0.1.18.tar.gz
        URL_HASH SHA1=2390bcf91299aa61c5fa93895151ffeb988357a5

@barracuda156 you can try either modifying the patching script as mentioned above or to try with older peg/leg parser (0.1.18).

ryandesign commented 2 weeks ago

MacPorts has peg/leg 0.1.20. https://ports.macports.org/port/peg

ryandesign commented 2 weeks ago

modifying the patching script as mentioned above

I tried this:

--- build-scripts/patch-leg-output.sed.orig 2023-05-17 01:23:22.000000000 -0500
+++ build-scripts/patch-leg-output.sed  2024-06-18 01:37:21.000000000 -0500
@@ -2,7 +2,7 @@
 # YY_LOCAL(void) yyDo(yycontext *yy, yyaction action, int begin, int end, int location[4])
 #                                                                       +++++++++++++++++
 /^YY_LOCAL/ {
-   s/\(yyDo\|yyPush\|yyPop\|yySet\)(\(.\+\))/\1(\2, int location[4])/
+   s/\(yyDo\|yyEnter\|yyPush\|yyPop\|yySet\)(\(.\+\))/\1(\2, int location[4])/
    t
 }
 # YY_ACTION(void) yy...(yycontext *yy, char *yytext, int yyleng, int location[4])

No change.

ilyash-b commented 2 weeks ago

@ryandesign , the change looks good. just to make sure - delete the build directory and try again please

ryandesign commented 2 weeks ago

It was from a fresh build using MacPorts.

It builds fine with peg/leg 0.1.19, which I note is also the latest stable version. I'm not sure why we updated to the unstable 0.1.20 in MacPorts, except perhaps that we might have thought the project was dead since the last release was five years ago and wanted to get the very latest changes.

ilyash-b commented 2 weeks ago

I see. It makes sense that NGS would support 0.1.19, not 0.1.20 then. Any thoughts on how to proceed?

ryandesign commented 2 weeks ago

Actually although the peg/leg web site says 0.1.20 was released 2019-11-19 it was actually released 2023-11-19. The changelog for 0.1.20 is very short. Maybe this entry is the relevant one:

  • src/compile.c (allocateVariables): Separated from defineVariables. (Node_compile_c_ko): Allocates and sets local variables during parse. (Rule_compile_c2): Generate yyEnter and yyLeave if rule has variables. (preamble): Macros yyEnter and yyLeave manage local variable space on stack during parsing.
ryandesign commented 2 weeks ago

Hmm, 0.1.19 was also released 2023-11-19.

ilyash-b commented 2 weeks ago

The development version is 0.1.20 and is updated periodically.

... which explains the dates. Also, this even more solidifies the choice of using 0.1.19 for NGS... and for pretty much any other project unless there is a very good reason to do otherwise.

ryandesign commented 2 weeks ago

Yes one option is to downgrade peg in MacPorts to the stable 0.1.19. I'll propose that.

ryandesign commented 2 weeks ago

https://github.com/macports/macports-ports/pull/24531

ilyash-b commented 1 week ago

Did the downgrade help? Can this issue be closed?

ryandesign commented 1 week ago

I already verified prior to suggesting the downgrade that the build would then succeed.

You can close the issue if you intend never to support peg 0.1.20. If you think this is a bug in peg 0.1.20 I hope you'll report it to its developer.

ilyash-b commented 1 week ago