diff options
author | David Timber <dxdt@dev.snart.me> | 2022-10-18 14:50:48 +0800 |
---|---|---|
committer | David Timber <dxdt@dev.snart.me> | 2022-10-18 14:50:48 +0800 |
commit | 8b47484919d61d389dfdefb07fe1b168021696e7 (patch) | |
tree | 7feb68d11dd73e3b98a43628572d9b70442dd085 /src/data/yaml/prne_yaml-test.yaml | |
parent | 44d5b5b1bada4ef81a8b82612e8e248729c71e5d (diff) |
Add yaml.h, hostinfod bug fix, compilation setting
- Add yaml helper functions
- Add yaml test tool proone-yamlls
- Add yaml test doc
- Refactor hostinfod with yaml.h
- Fix bug in hostinfod where specifying verbosity results in config
error
- Add C flag '-Werror=implicit-function-declaration'
- Update doxygen template
Diffstat (limited to 'src/data/yaml/prne_yaml-test.yaml')
-rw-r--r-- | src/data/yaml/prne_yaml-test.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/data/yaml/prne_yaml-test.yaml b/src/data/yaml/prne_yaml-test.yaml new file mode 100644 index 0000000..8b8d012 --- /dev/null +++ b/src/data/yaml/prne_yaml-test.yaml @@ -0,0 +1,52 @@ +--- +- + - + - a + - b + - + - 1 + - 2 + - "b" +--- +main-doc: + mapping-0: + apple: fruit + cabbage: veg + orange: fruit + lettuce: veg + mapping-1: + persons: &the_alias + - name: John Doe + email: john.d@example.com + extra-data: + address: | + 137 Example St + Example City EX 0000 + Example Country + vehicles: + - ABC123 + - EXAMPLE + - name: Jane Doe + email: jane.d@example.com + members: *the_alias +--- +override_dot: + a.b: 1 + a: + b: 2 +--- +override_slash: + a/b: 1 + a: + b: 2 +--- +lone_text_scalar +--- +123 +--- +- "root" +- "text" +- "array" +- 3.14 +--- +last-doc: hello |