Changeset 208954 in webkit
- Timestamp:
- Nov 21, 2016 5:57:30 PM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r208948 r208954 1 2016-11-21 Konstantin Tokarev <annulen@yandex.ru> 2 3 Disable #line markers in bison output on Windows 4 https://bugs.webkit.org/show_bug.cgi?id=164973 5 6 Reviewed by Darin Adler. 7 8 New bison versions since 3.0 have bug that causes unescaped paths 9 to be printed in #line directives. On Windows CMake passes absolute 10 paths to bison that have backslashes in them, leading to compiler 11 errors or warnings because of unrecognized escape sequences. 12 13 No new tests needed. 14 15 * css/makegrammar.pl: 16 1 17 2016-11-21 Olivier Blin <olivier.blin@softathome.com> 2 18 -
trunk/Source/WebCore/css/makegrammar.pl
r206904 r208954 76 76 77 77 my $fileBase = File::Spec->join($outputDir, $filename); 78 system("\"$bison\" -d -p $symbolsPrefix $grammarFilePath -o $fileBase.cpp"); 78 my @bisonCommand = ($bison, "-d", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp"); 79 push @bisonCommand, "--no-lines" if $^O eq "MSWin32"; # Work around bug in bison >= 3.0 on Windows where it puts backslashes into #line directives. 80 system(@bisonCommand) == 0 or die; 79 81 80 82 open HEADER, ">$fileBase.h" or die;
Note: See TracChangeset
for help on using the changeset viewer.