Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during compiling of the Bootstrap v3.2.0 sources #2154

Closed
Taritsyn opened this issue Aug 19, 2014 · 5 comments
Closed

Error during compiling of the Bootstrap v3.2.0 sources #2154

Taritsyn opened this issue Aug 19, 2014 · 5 comments

Comments

@Taritsyn
Copy link
Contributor

I have updated LESS compiler to commit 466bc39.

And during compilation of the Bootstrap v3.2.0 sources got the following error:

SyntaxError: expected '(' got 'i' in C:\Projects\!EXPERIMENTAL\TestBootstrap3\TestBootstrap3\Content\less\bootstrap-3.2.0\scaffolding.less on line 136, column 66:
135
136 // Use in conjunction with .sr-only to only display content when it's focused.
137 // Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
@lukeapage
Copy link
Member

thanks, we will investigate and fix if needed before releasing

@desvandev
Copy link

It happened to me too. Using External Tools from Aptana to run less compiler via node.js.
line 136, column 66 on bootstrap scaffolding.less is just a ' in a comment.

On previous release this error will not happen

@SomMeri
Copy link
Member

SomMeri commented Aug 23, 2014

Minimized test case:

// .s when
//R/2

.sr-only-focusable {
  clip: auto;
}

The above fails with:

SyntaxError: expected '(' got '/' in C:\data\meri\less.js\tests\test.less on line 2, column 1:
1 // .s when
2 //R/2
3 

It seems to be the minimal example. If I delete any character on the line 1 or 2, the test case passes. The problem started after we added /deep/ support. The commit below it does not fail, this one does.

@lukeapage
Copy link
Member

Weird, I'll investigate today/tomorrow

@lukeapage
Copy link
Member

I stared blankly at the repro case and for a while and then realised the typo I'd made. Thanks very much @SomMeri for tracking it down to that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants