File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -295,9 +295,9 @@ def _load_module(self, path: Path) -> T.List[Object]:
295
295
return [module , * objs ]
296
296
297
297
def load_impl (self ) -> ReferenceManual :
298
- mlog .log ('Loading YAML refererence manual' )
298
+ mlog .log ('Loading YAML reference manual' )
299
299
with mlog .nested ():
300
- return ReferenceManual (
300
+ manual = ReferenceManual (
301
301
functions = [self ._load_function (x ) for x in self .func_dir .iterdir ()],
302
302
objects = mesonlib .listify ([
303
303
[self ._load_object (ObjectType .ELEMENTARY , x ) for x in self .elem_dir .iterdir ()],
@@ -306,3 +306,8 @@ def load_impl(self) -> ReferenceManual:
306
306
[self ._load_module (x ) for x in self .modules_dir .iterdir ()]
307
307
], flatten = True )
308
308
)
309
+
310
+ if not self .strict :
311
+ mlog .warning ('YAML reference manual loaded using the best-effort fastyaml loader. Results are not guaranteed to be stable or correct.' )
312
+
313
+ return manual
You can’t perform that action at this time.
0 commit comments