Closed Bug 179366 Opened 22 years ago Closed 22 years ago

--> after whitespace after line start should mean comments to line end

Categories

(Rhino Graveyard :: Core, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: user, Assigned: norrisboyd)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 This is a Rhino version of bug 31255. Rhino should follow SpiderMonkey and allow to treat --> after a possible whitespace after line start to mean comments until line end. Reproducible: Always Steps to Reproduce:
Tests in bug 31255 use scripts embedded in HTML, this is a pure JS version that can be run against stand-along script engine.
This is a replica of the SM solution
Igor's testcase added to JS testsuite. As is customary, I have named it after the original bug: mozilla/js/tests/js1_5/Regress/regress-31255.js
I commited the fix
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Marking Verified FIXED. The above testcase used to fail in Rhino; now it passes in both compiled and interpreted mode on WinNT -
Status: RESOLVED → VERIFIED
Targeting as resolved against 1.5R4
Target Milestone: --- → 1.5R4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: