jalmenarez / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

JS files ending inside single line comment cause code loss #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Combine two Javascript files
2. End file1 with a single line comment (no newline after)
3. Include no whitespace before code in file2

* What is the expected output? 
The trailing comment in file1 is removed

* What do you see instead?
The first line of file2 is removed because Minify thought it was part of 
the comment in file1

(Found by Bob Spryn)

Original issue reported on code.google.com by mrclay....@gmail.com on 6 Jan 2009 at 4:09

GoogleCodeExporter commented 9 years ago
Fixed in R278

Original comment by mrclay....@gmail.com on 6 Jan 2009 at 4:46

GoogleCodeExporter commented 9 years ago
Issue 88 has been merged into this issue.

Original comment by mrclay....@gmail.com on 23 Feb 2009 at 1:46