Changeset 200689 in webkit
- Timestamp:
- May 11, 2016, 9:24:31 AM (9 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r200688 r200689 1 2016-05-11 Rawinder Singh <rawinder.singh-webkit@cisra.canon.com.au> 2 3 preprocess-idls.pl not ignoring comments during processing 4 https://bugs.webkit.org/show_bug.cgi?id=157559 5 6 Reviewed by Darin Adler. 7 8 Remove comments from IDL file before processing. 9 10 * bindings/scripts/preprocess-idls.pl: 11 (getInterfaceExtendedAttributesFromIDL): 12 1 13 2016-05-11 Jer Noble <jer.noble@apple.com> 2 14 -
trunk/Source/WebCore/bindings/scripts/preprocess-idls.pl
r199587 r200689 319 319 my $extendedAttributes = {}; 320 320 321 # Remove comments from fileContents before processing. 322 # FIX: Preference to use Regex::Common::comment, however it is not available on 323 # all build systems. 324 $fileContents =~ s/(?:(?:(?:\/\/)(?:[^\n]*)(?:\n))|(?:(?:\/\*)(?:(?:[^\*]+|\*(?!\/))*)(?:\*\/)))//g; 325 321 326 if ($fileContents =~ /\[(.*)\]\s+(callback interface|interface|exception)\s+(\w+)/gs) { 322 327 my @parts = split(m/,(?![^()]*\))/, $1);
Note:
See TracChangeset
for help on using the changeset viewer.