# HG changeset patch # User Kim Alvefur # Date 1553310055 -3600 # Node ID f2104b36f6737fffaabc6b683aaa3af582a9f328 # Parent 8c831c76fc943836c9fcd53b5e74ef222e13bc68 doc/coding_style: The codebase uses semicolons diff -r 8c831c76fc94 -r f2104b36f673 doc/coding_style.md --- a/doc/coding_style.md Sat Mar 23 03:56:55 2019 +0100 +++ b/doc/coding_style.md Sat Mar 23 04:00:55 2019 +0100 @@ -451,17 +451,17 @@ end ``` -* Separate statements onto multiple lines. Do not use semicolons as statement terminators. +* Separate statements onto multiple lines. Use semicolons as statement terminators. ```lua -- bad -local whatever = "sure"; -a = 1; b = 2 +local whatever = "sure" +a = 1 b = 2 -- good -local whatever = "sure" -a = 1 -b = 2 +local whatever = "sure"; +a = 1; +b = 2; ``` ## Spacing