{"action":"opened","issue":{"url":"https://api.github.com/repos/johnkerl/miller/issues/2","labels_url":"https://api.github.com/repos/johnkerl/miller/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/johnkerl/miller/issues/2/comments","events_url":"https://api.github.com/repos/johnkerl/miller/issues/2/events","html_url":"https://github.com/johnkerl/miller/issues/2","id":101230162,"number":2,"title":"Does not compile on OSX","user":{"login":"sammcj","id":862951,"avatar_url":"https://avatars.githubusercontent.com/u/862951?v=3","gravatar_id":"","url":"https://api.github.com/users/sammcj","html_url":"https://github.com/sammcj","followers_url":"https://api.github.com/users/sammcj/followers","following_url":"https://api.github.com/users/sammcj/following{/other_user}","gists_url":"https://api.github.com/users/sammcj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammcj/subscriptions","organizations_url":"https://api.github.com/users/sammcj/orgs","repos_url":"https://api.github.com/users/sammcj/repos","events_url":"https://api.github.com/users/sammcj/events{/privacy}","received_events_url":"https://api.github.com/users/sammcj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-16T03:28:42Z","updated_at":"2015-08-16T03:28:42Z","closed_at":null,"body":"```\r\nbrew install ctags lemon\r\n```\r\n\r\n```\r\nsamm-mb ~/git/miller/c % make\r\nctags -R .\r\nmake -C dsls put_dsl_parse.o\r\nlemon put_dsl_parse.y\r\nmv put_dsl_parse.c put_dsl_parse.c.tmp\r\nsed \\\r\n\t\t\t-e 's/ParseTrace/put_dsl_ParseTrace/g' \\\r\n\t\t\t-e 's/ParseTokenName/put_dsl_ParseTokenName/g' \\\r\n\t\t\t-e 's/lemon_parser_alloc/put_dsl_lemon_parser_alloc/g' \\\r\n\t\t\t-e 's/lemon_parser_free/put_dsl_lemon_parser_free/g' \\\r\n\t\t\t-e 's/lemon_parser_parse_token/put_dsl_lemon_parser_parse_token/g' \\\r\n\t\t\t-e 's/yy_destructor/put_dsl_yy_destructor/g' \\\r\n\t\tput_dsl_parse.c.tmp > put_dsl_parse.c\r\nrm -f put_dsl_parse.c.tmp\r\ngcc -I.. -O3 -c -std=gnu99 put_dsl_parse.c\r\nput_dsl_parse.c:529:4: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n                 ParseARG_FETCH;\r\n                 ^\r\nput_dsl_parse.c:85:40: note: expanded from macro 'ParseARG_FETCH'\r\n#define ParseARG_FETCH sllv_t* pasts = yypParser->pasts\r\n                                       ^\r\nput_dsl_parse.c:521:18: note: 'pparser' declared here\r\n        lemon_parser_t *pparser,          /* The parser to be shifted */\r\n                        ^\r\nput_dsl_parse.c:539:4: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n                 ParseARG_STORE; /* Suppress warning about unused %extra_argument var */\r\n                 ^\r\nput_dsl_parse.c:86:24: note: expanded from macro 'ParseARG_STORE'\r\n#define ParseARG_STORE yypParser->pasts = pasts\r\n                       ^\r\nput_dsl_parse.c:521:18: note: 'pparser' declared here\r\n        lemon_parser_t *pparser,          /* The parser to be shifted */\r\n                        ^\r\nput_dsl_parse.c:618:2: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n        ParseARG_FETCH;\r\n        ^\r\nput_dsl_parse.c:85:40: note: expanded from macro 'ParseARG_FETCH'\r\n#define ParseARG_FETCH sllv_t* pasts = yypParser->pasts\r\n                                       ^\r\nput_dsl_parse.c:610:18: note: 'pparser' declared here\r\n        lemon_parser_t *pparser,         /* The parser */\r\n                        ^\r\nput_dsl_parse.c:650:89: warning: implicit declaration of function 'yytestcase' is invalid in C99 [-Wimplicit-function-declaration]\r\n      case 6: /* put_dsl_or_term ::= put_dsl_or_term FILTER_DSL_AND put_dsl_and_term */ yytestcase(yyruleno==6);\r\n                                                                                        ^\r\nput_dsl_parse.c:771:2: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n        ParseARG_FETCH;\r\n        ^\r\nput_dsl_parse.c:85:40: note: expanded from macro 'ParseARG_FETCH'\r\n#define ParseARG_FETCH sllv_t* pasts = yypParser->pasts\r\n                                       ^\r\nput_dsl_parse.c:770:45: note: 'pparser' declared here\r\nstatic void yy_parse_failed(lemon_parser_t *pparser) {\r\n                                            ^\r\nput_dsl_parse.c:781:2: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n        ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */\r\n        ^\r\nput_dsl_parse.c:86:24: note: expanded from macro 'ParseARG_STORE'\r\n#define ParseARG_STORE yypParser->pasts = pasts\r\n                       ^\r\nput_dsl_parse.c:770:45: note: 'pparser' declared here\r\nstatic void yy_parse_failed(lemon_parser_t *pparser) {\r\n                                            ^\r\nput_dsl_parse.c:792:2: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n        ParseARG_FETCH;\r\n        ^\r\nput_dsl_parse.c:85:40: note: expanded from macro 'ParseARG_FETCH'\r\n#define ParseARG_FETCH sllv_t* pasts = yypParser->pasts\r\n                                       ^\r\nput_dsl_parse.c:788:18: note: 'pparser' declared here\r\n        lemon_parser_t *pparser,           /* The parser */\r\n                        ^\r\nput_dsl_parse.c:798:2: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n        ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */\r\n        ^\r\nput_dsl_parse.c:86:24: note: expanded from macro 'ParseARG_STORE'\r\n#define ParseARG_STORE yypParser->pasts = pasts\r\n                       ^\r\nput_dsl_parse.c:788:18: note: 'pparser' declared here\r\n        lemon_parser_t *pparser,           /* The parser */\r\n                        ^\r\nput_dsl_parse.c:805:2: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n        ParseARG_FETCH;\r\n        ^\r\nput_dsl_parse.c:85:40: note: expanded from macro 'ParseARG_FETCH'\r\n#define ParseARG_FETCH sllv_t* pasts = yypParser->pasts\r\n                                       ^\r\nput_dsl_parse.c:804:39: note: 'pparser' declared here\r\nstatic void yy_accept(lemon_parser_t *pparser) {\r\n                                      ^\r\nput_dsl_parse.c:822:2: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n        ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */\r\n        ^\r\nput_dsl_parse.c:86:24: note: expanded from macro 'ParseARG_STORE'\r\n#define ParseARG_STORE yypParser->pasts = pasts\r\n                       ^\r\nput_dsl_parse.c:804:39: note: 'pparser' declared here\r\nstatic void yy_accept(lemon_parser_t *pparser) {\r\n                                      ^\r\nput_dsl_parse.c:870:2: error: use of undeclared identifier 'yypParser'; did you mean 'pparser'?\r\n        ParseARG_STORE;\r\n        ^\r\nput_dsl_parse.c:86:24: note: expanded from macro 'ParseARG_STORE'\r\n#define ParseARG_STORE yypParser->pasts = pasts\r\n                       ^\r\nput_dsl_parse.c:855:18: note: 'pparser' declared here\r\n        lemon_parser_t *pparser;  /* The parser */\r\n                        ^\r\n1 warning and 10 errors generated.\r\nmake[1]: *** [put_dsl_parse.o] Error 1\r\nmake: *** [dsls] Error 2\r\n```"}}