[webkit-reviews] review requested: [Bug 49576] jsc does not ignore shebang : [Attachment 74017] proposed patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 16 11:18:27 PST 2010
John Tantalo <john.tantalo at gmail.com> has asked for review:
Bug 49576: jsc does not ignore shebang
https://bugs.webkit.org/show_bug.cgi?id=49576
Attachment 74017: proposed patch
https://bugs.webkit.org/attachment.cgi?id=74017&action=review
------- Additional Comments from John Tantalo <john.tantalo at gmail.com>
This patch modifies jsc's file load function to detect a shebang in the first
two characters of the file buffer. If it finds a shebang, it replaces it with
"//", which causes the rest of the line to be interpreted as a JavaScript
comment.
More information about the webkit-reviews
mailing list