DescriptionMake json_schema_compiler output types in their dependency order.
Since fields are generated as simple structure elements the schema compiler
must output the full definitions for structures that are depended-upon before
the structures that depend upon them. This patch also causes same-namespace
forward struct delcarations to be emitted to resolve circular dependencies and
optional-property dependencies in generated code.
BUG=119911
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=129042
Patch Set 1 #Patch Set 2 : Do not generate forward declarations for non-struct types #
Total comments: 1
Patch Set 3 : Changing error message to make it clear that circular dependencies are forbidden. #
Messages
Total messages: 7 (0 generated)
|