{"action":"created","issue":{"url":"https://api.github.com/repos/zaach/jison/issues/279","labels_url":"https://api.github.com/repos/zaach/jison/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/zaach/jison/issues/279/comments","events_url":"https://api.github.com/repos/zaach/jison/issues/279/events","html_url":"https://github.com/zaach/jison/issues/279","id":69824099,"number":279,"title":"Please help to resolve IF THEN ELSE issue in AlaSQL parser","user":{"login":"agershun","id":643040,"avatar_url":"https://avatars.githubusercontent.com/u/643040?v=3","gravatar_id":"","url":"https://api.github.com/users/agershun","html_url":"https://github.com/agershun","followers_url":"https://api.github.com/users/agershun/followers","following_url":"https://api.github.com/users/agershun/following{/other_user}","gists_url":"https://api.github.com/users/agershun/gists{/gist_id}","starred_url":"https://api.github.com/users/agershun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agershun/subscriptions","organizations_url":"https://api.github.com/users/agershun/orgs","repos_url":"https://api.github.com/users/agershun/repos","events_url":"https://api.github.com/users/agershun/events{/privacy}","received_events_url":"https://api.github.com/users/agershun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-21T11:54:18Z","updated_at":"2015-04-21T14:54:19Z","closed_at":null,"body":"Thank you again for the great software! May I ask you to help to resolve one issue in the grammar file, which we can not solve.\r\n\r\nThis is a grammar file https://github.com/agershun/alasql/blob/master/src/alasqlparser.jison\r\n\r\nWhen I parse my file, I receive the following warnings:\r\n Even with this warning all tests passed ok. How to modify grammar file to remove this warning?\r\n\r\n```\r\n    Conflict in grammar: multiple actions possible when lookahead token is ELSE in state 231\r\n    - reduce by rule: If -> IF Expression AStatement\r\n    - shift token (then go to state 381)\r\n\r\n    States with conflicts:\r\n    State 231\r\n      If -> IF Expression AStatement .ElseStatement #lookaheads= GO SEMICOLON EOF END ELSE\r\n      If -> IF Expression AStatement . #lookaheads= GO SEMICOLON EOF END ELSE\r\n      ElseStatement -> .ELSE AStatement #lookaheads= EOF SEMICOLON GO END ELSE\r\n\r\n```\r\n\r\nThese messages related to lines 1986-2003, which are:\r\n```\r\n    \tIF Expression AStatement ElseStatement \r\n\t| IF Expression AStatement\r\n\t;\r\n\r\nElseStatement\r\n\t: ELSE AStatement \r\n\t;\r\n```\r\n\r\nCould you help me with this problem?"},"comment":{"url":"https://api.github.com/repos/zaach/jison/issues/comments/94829355","html_url":"https://github.com/zaach/jison/issues/279#issuecomment-94829355","issue_url":"https://api.github.com/repos/zaach/jison/issues/279","id":94829355,"user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T14:54:19Z","updated_at":"2015-04-21T14:54:19Z","body":"@agershun Yup, check out the Jison Debugger's \"musical chords\" grammar, where I enable `%ebnf`. This feature is described in https://gist.github.com/zaach/1659274"}}