<div dir="ltr">Hi cfe-users, <div><br></div><div>I am using the .clang-format configuration file provided with the latest linux kernel.</div><div><br></div><div>>> <a href="https://github.com/torvalds/linux/blob/master/.clang-format">https://github.com/torvalds/linux/blob/master/.clang-format</a> </div><div><br></div><div>The end of the clang-format file has 3 dots:</div><div>...</div><div><br></div><div>This is valid YAML Syntax.</div><div><br></div><div>However, for some reason, when I run clang-format-9 (Ubuntu 18) I get the following error message:</div><div>YAML:504:4: error: unknown key '...'<br>...<br>   ^</div><div><br></div><div>If I edit the .clang-format file to remove the 3 dots on the final line, clang-format-9 runs successfully and presents the formatted code.</div><div><br></div><div>Can someone explain why this error is happening?</div><div><br></div><div>Thanks, </div><div>Conor</div><div><br></div><div> <br></div><div><br></div><div><br></div></div>