From 64530ef5d0681ae6ed5ffbca169d9a2782153b4b Mon Sep 17 00:00:00 2001 From: chenmingjia <564575471@qq.com> Date: Fri, 16 Sep 2016 10:43:41 +0800 Subject: [PATCH] [Translate] Translate Statement in Swift 3.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Swift 3.0 Statement 已经补充完毕,主要是行控制语句部分更新和移除Boolean协议的讨论 --- source/chapter3/10_Statements.md | 1 + 1 file changed, 1 insertion(+) diff --git a/source/chapter3/10_Statements.md b/source/chapter3/10_Statements.md index 8edd883c..83e7b8c1 100755 --- a/source/chapter3/10_Statements.md +++ b/source/chapter3/10_Statements.md @@ -605,6 +605,7 @@ do { 行控制语句形式如下: > \#sourceLocation(file: `文件名` , line:`行号`) + > \#sourceLocation() 第一种的行控制语句会改变该语句之后的代码中的字面量表达式 `#line` 和 `#file` 所表示的值。`行号` 是一个大于 0 的整形字面量,会改变 `#line` 表达式的值。`文件名` 是一个字符串字面量,会改变 `#file` 表达式的值。