{"action":"opened","issue":{"url":"https://api.github.com/repos/sass/libsass/issues/1268","labels_url":"https://api.github.com/repos/sass/libsass/issues/1268/labels{/name}","comments_url":"https://api.github.com/repos/sass/libsass/issues/1268/comments","events_url":"https://api.github.com/repos/sass/libsass/issues/1268/events","html_url":"https://github.com/sass/libsass/issues/1268","id":87167408,"number":1268,"title":"Block comment before `@else if` statement causes \"invalid selector\" error","user":{"login":"timswalling","id":10677793,"avatar_url":"https://avatars.githubusercontent.com/u/10677793?v=3","gravatar_id":"","url":"https://api.github.com/users/timswalling","html_url":"https://github.com/timswalling","followers_url":"https://api.github.com/users/timswalling/followers","following_url":"https://api.github.com/users/timswalling/following{/other_user}","gists_url":"https://api.github.com/users/timswalling/gists{/gist_id}","starred_url":"https://api.github.com/users/timswalling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timswalling/subscriptions","organizations_url":"https://api.github.com/users/timswalling/orgs","repos_url":"https://api.github.com/users/timswalling/repos","events_url":"https://api.github.com/users/timswalling/events{/privacy}","received_events_url":"https://api.github.com/users/timswalling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-11T01:27:31Z","updated_at":"2015-06-11T01:27:31Z","closed_at":null,"body":"Preceding an `@else if` (or `@elseif`) statement with a block comment (`/* ... */`) results in libsass returning an `invalid selector` error.\r\n\r\nConsider the following example:\r\n\r\n    /* This works */\r\n\r\n    $value: true;\r\n\r\n    @if $value == true { /* Do something */ } // A single-line comment is OK before an \"@else if\" statment\r\n\r\n    @else if $value == false { /* Do something else */ }\r\n\r\n\r\n    /* This doesn't */\r\n\r\n    $value: true;\r\n\r\n    @if $value == true { /* Do something */ } /* A block comment before an \"@else if\" statement breaks libsass */\r\n\r\n    @else if $value == false { /* Do something else */ }\r\n\r\nLibsass will return an error (`invalid selector after if on line 16 at column 9`). The same code is fine in Ruby Sass."}}