Parsing error after update WebCore Elemental

35 views
Skip to first unread message

Cristian Rinaldi

unread,
Aug 28, 2012, 10:33:47 AM8/28/12
to google-we...@googlegroups.com
I updated WebCore (third_party) from de Dart Project and when run build script the following error occurs:

Traceback (most recent call last):
  File "./scripts/elemental_fremontcutbuilder.py", line 217, in <module>
    sys.exit(main())
  File "./scripts/elemental_fremontcutbuilder.py", line 214, in main
    return build_database(idl_files, database_dir)
  File "./scripts/elemental_fremontcutbuilder.py", line 139, in build_database
    builder.import_idl_file(file_name, webkit_options)
  File "/usr/local/frameworks/gwt/trunk/elemental/idl/scripts/databasebuilder.py", line 474, in import_idl_file
    idl_file = self._load_idl_file(file_path, import_options)
  File "/usr/local/frameworks/gwt/trunk/elemental/idl/scripts/databasebuilder.py", line 88, in _load_idl_file
    raise RuntimeError('Failed to load file %s: %s' % (file_name, e))
RuntimeError: Failed to load file ./scripts/../third_party/WebCore/html/canvas/Int8Array.idl: At line 37 offset 26: Expected "]" or "(" or "," but "c" found: "        TypedArray=signed char"
Traceback (most recent call last):
  File "./scripts/elementaldomgenerator.py", line 164, in <module>
    sys.exit(main())
  File "./scripts/elementaldomgenerator.py", line 155, in main
    database_dir, use_database_cache)
  File "./scripts/elementaldomgenerator.py", line 120, in GenerateDOM
    systems = systems)
  File "/usr/local/frameworks/gwt/trunk/elemental/idl/scripts/elementalgenerator.py", line 279, in Generate
    self.PopulateMixinBase(self._database.GetInterface('ElementalMixinBase'), mixins)
  File "/usr/local/frameworks/gwt/trunk/elemental/idl/scripts/database.py", line 188, in GetInterface
    raise RuntimeError('Interface %s is not loaded' % interface_name)
RuntimeError: Interface ElementalMixinBase is not loaded

-------------------------------------------------------------------------------------------------------------------------------
File /../third_party/WebCore/html/canvas/Int8Array.idl:

module html {
    interface [
        ConstructorTemplate=TypedArray,
        ConstructorParameters=1,
        NumericIndexedGetter,
        CustomIndexedSetter,
        JSGenerateToNativeObject,
        JSNoStaticTables,
        CustomToJSObject,
        DoNotCheckConstants,
        TypedArray=signed char
    ] Int8Array : ArrayBufferView {
        const unsigned long BYTES_PER_ELEMENT = 1;

        readonly attribute unsigned long length;
        Int8Array subarray(in [Optional=DefaultIsUndefined] long start,
                           in [Optional] long end);

        // void set(in Int8Array array, [Optional] in unsigned long offset);
        // void set(in sequence<long> array, [Optional] in unsigned long offset);
        void set();
    };
}

Reply all
Reply to author
Forward
0 new messages