[Webkit-unassigned] [Bug 49576] New: jsc does not ignore shebang

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 15 20:42:12 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49576

           Summary: jsc does not ignore shebang
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: john.tantalo at gmail.com


Created an attachment (id=73956)
 --> (https://bugs.webkit.org/attachment.cgi?id=73956&action=review)
JavaScript source with shebang.

Various other JavaScript engines [1] correctly ignore a shebang [2] as the first line of a file. Invoking jsc with a source file that contains a shebang generates a lex error. It should instead ignore the shebang.

[1] nodejs, narwhal, ringo
[2] http://en.wikipedia.org/wiki/Shebang_(Unix)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list