Problem with "+", "++" and whitespace #26

Closed
davidkhess opened this Issue Mar 14, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@davidkhess

Needed whitespace is being lost in this example.

>>> minify('''"begin"+ ++a+"end"''')
'"begin"+++a+"end";'
>>> 

The result is interpreted as a ++ postfix operator on "begin".

@rspivak

This comment has been minimized.

Show comment
Hide comment
@rspivak

rspivak Mar 14, 2012

Owner

Fixed in 600861b

Owner

rspivak commented Mar 14, 2012

Fixed in 600861b

@rspivak rspivak closed this Mar 14, 2012

@davidkhess

This comment has been minimized.

Show comment
Hide comment

Thanks!

acatton added a commit to acatton/fork--rspivak--slimit that referenced this issue Jan 26, 2015

Bug fix: rspivak#26
Problem with "+", "++" and whitespace

acatton added a commit to acatton/fork--rspivak--slimit that referenced this issue Jan 26, 2015

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