On Mon, Jul 6, 2009 at 3:29 PM, Evan Martin<e...@chromium.org> wrote:
>
> http://code.google.com/p/chromium/issues/detail?id=15904
> Something went wrong with quoting when some v8-related script was
> upstreamed.  Dimitri's working on it.
>
> On Mon, Jul 6, 2009 at 7:18 AM, Mike Pinkerton<pinker...@chromium.org> wrote:
>>
>> When I try to build today, I get 2000 errors of the form:
>>
>> <command line>:1:1: error: macro names must be identifiers
>>
>> when building WebCore bindings. Others have complained of similar
>> errors on Linux. What's going on here? Reports are that it seems to
>> still "build" correctly, but this really throws XCode for a loop.
>>
>> This was introduced at r19816.

This patch in WebCore will fix it temporarily. Dimitri tells me the
real problem is deeper, though...

Index: bindings/scripts/IDLParser.pm
===================================================================
--- bindings/scripts/IDLParser.pm       (revision 45460)
+++ bindings/scripts/IDLParser.pm       (working copy)
@@ -75,7 +75,7 @@

     print " | *** Starting to parse $fileName...\n |\n" unless $beQuiet;

-    open2(\*PP_OUT, \*PP_IN, split(' ', $preprocessor), (map { "-D$_"
} split(' ', $defines)), $fileName);
+    open2(\*PP_OUT, \*PP_IN, split(' ', $preprocessor),  (map { $x =
$_; ($x) = $1 if $x =~ /^"(.*)"$/; "-D$x" } split(' ', $defines)),
$fileName);
     close PP_IN;
     my @documentContent = <PP_OUT>;
     close PP_OUT;

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to