{"action":"created","issue":{"url":"https://api.github.com/repos/tonyganch/gonzales-pe/issues/96","labels_url":"https://api.github.com/repos/tonyganch/gonzales-pe/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/tonyganch/gonzales-pe/issues/96/comments","events_url":"https://api.github.com/repos/tonyganch/gonzales-pe/issues/96/events","html_url":"https://github.com/tonyganch/gonzales-pe/issues/96","id":109801479,"number":96,"title":"SCSS Parsing error with ampersand","user":{"login":"cgtm","id":1261970,"avatar_url":"https://avatars.githubusercontent.com/u/1261970?v=3","gravatar_id":"","url":"https://api.github.com/users/cgtm","html_url":"https://github.com/cgtm","followers_url":"https://api.github.com/users/cgtm/followers","following_url":"https://api.github.com/users/cgtm/following{/other_user}","gists_url":"https://api.github.com/users/cgtm/gists{/gist_id}","starred_url":"https://api.github.com/users/cgtm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgtm/subscriptions","organizations_url":"https://api.github.com/users/cgtm/orgs","repos_url":"https://api.github.com/users/cgtm/repos","events_url":"https://api.github.com/users/cgtm/events{/privacy}","received_events_url":"https://api.github.com/users/cgtm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tonyganch/gonzales-pe/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-10-05T13:57:22Z","updated_at":"2015-10-06T05:54:58Z","closed_at":null,"body":"Hi,\r\n\r\nI have the following code that is throwing the parser with \"Warning: Parsing error at FILENAME: Please check validity of the block starting from line …\"\r\n\r\nHere's the beginning of the file, and the line that is mentioned in the error message is marked with ***:\r\n\r\n```scss\r\n.layout-1 {\r\n  @include breakpoint($breakpoint-large) {\r\n    .section-header {\r\n***      &.img { ***\r\n        .content {\r\n          @include span(first 15 of 24);\r\n          // ensure text doesn't come too close to the image\r\n          @if supports-browser('ie7') {\r\n            .ie7 & {\r\n              @include span(first 14 of 24); // Less the post 1\r\n            }\r\n          }\r\n          @include post(1);\r\n          // leave a 3 column gap\r\n        }\r\n\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nIf I remove the ampersand before .img, it gets further but dies on the next line with an ampersand ( .ie7 &). Any idea what's going on here? The files all compile fine via ruby-based sass."},"comment":{"url":"https://api.github.com/repos/tonyganch/gonzales-pe/issues/comments/145748834","html_url":"https://github.com/tonyganch/gonzales-pe/issues/96#issuecomment-145748834","issue_url":"https://api.github.com/repos/tonyganch/gonzales-pe/issues/96","id":145748834,"user":{"login":"benthemonkey","id":3318034,"avatar_url":"https://avatars.githubusercontent.com/u/3318034?v=3","gravatar_id":"","url":"https://api.github.com/users/benthemonkey","html_url":"https://github.com/benthemonkey","followers_url":"https://api.github.com/users/benthemonkey/followers","following_url":"https://api.github.com/users/benthemonkey/following{/other_user}","gists_url":"https://api.github.com/users/benthemonkey/gists{/gist_id}","starred_url":"https://api.github.com/users/benthemonkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benthemonkey/subscriptions","organizations_url":"https://api.github.com/users/benthemonkey/orgs","repos_url":"https://api.github.com/users/benthemonkey/repos","events_url":"https://api.github.com/users/benthemonkey/events{/privacy}","received_events_url":"https://api.github.com/users/benthemonkey/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T05:54:58Z","updated_at":"2015-10-06T05:54:58Z","body":"And another (issue is at line 4):\r\n\r\n```\r\ndiv {\r\n    $i: 1;\r\n\r\n    @if $i % 2 == 1 {\r\n        color: blue;\r\n    } @else {\r\n        color: red;\r\n    }\r\n}\r\n```"}}