lsl_definitions.yaml malformed
needs info
Artesia Heartsong
Line 2300
PRIM_COLOR:
tooltip: '[PRIM_COLOR, integer face, vector color, float alpha]
integer face – face number or ALL_SIDES
vector color – color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white)
float alpha – from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0)'
This is not valid YAML.
A solution would be
PRIM_COLOR:
tooltip: |
[PRIM_COLOR, integer face, vector color, float alpha]
integer face – face number or ALL_SIDES
vector color – color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white)
float alpha – from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0)
Log In
Maestro Linden
needs info
Artesia Heartsong to be clear, which version/copy of lsl_definitions.yaml are you looking at?
The version I see at https://github.com/secondlife/lsl-definitions/blob/6fd87c01cd60cb84da322d5910752ded88dc2b3b/lsl_definitions.yaml#L2299
seems to match the "single-quoted flow scalar" format described in https://yaml-multiline.info
https://yamline.com/validator/ seems to be happy with that particular block's formatting, too:
llsd-lsl-syntax-version: 2
constants:
PRIM_COLOR:
tooltip: '[PRIM_COLOR, integer face, vector color, float alpha]
integer face – face number or ALL_SIDES
vector color – color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white)
float alpha – from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0)'
type: integer
value: 18