|
14 | 14 | "[keyword var] [def e] [operator =] [number 0o7324]", |
15 | 15 | "[keyword var] [def f] [operator =] [number 0b10010]", |
16 | 16 | "[keyword var] [def g] [operator =] [number -0x35ade]", |
17 | | - "[keyword var] [def h] [operator =] [number 0xaea.ep-13]". |
18 | | - "[keyword var] [def i] [operator =] [number 0x13ep6"); |
| 17 | + "[keyword var] [def h] [operator =] [number 0xaea.ep-13]", |
| 18 | + "[keyword var] [def i] [operator =] [number 0x13ep6]"); |
19 | 19 |
|
20 | 20 | // Variable/class/etc definition. |
21 | 21 | MT("definition", |
|
122 | 122 |
|
123 | 123 | // Instructions or other things that start with #. |
124 | 124 | MT("instructions", |
125 | | - "[keyword if] [instruction #available][punctuation (][variable iOS] [number 9][punctuation ,] [operator *][punctuation )] [punctuation {}", |
126 | | - "[variable print][punctuation (][instruction #file][punctuation ,] [instruction #function][punctuation )]", |
127 | | - "[variable print][punctuation (][instruction #line][punctuation ,] [instruction #column][punctuation )]", |
128 | | - "[instruction #if] [atom true]", |
129 | | - " [keyword import] [variable A]", |
130 | | - "[instruction #elseif] [atom false]", |
131 | | - " [keyword import] [variable B]", |
132 | | - "[instruction #endif]", |
133 | | - "[instruction #sourceLocation][punctuation (][variable file][punctuation :] [string \"file.swift\"][punctuation ,] [variable line][punctuation :] [number 2][punctuation )]"); |
| 125 | + "[keyword if] [builtin #available][punctuation (][variable iOS] [number 9][punctuation ,] [operator *][punctuation )] [punctuation {}]", |
| 126 | + "[variable print][punctuation (][builtin #file][punctuation ,] [builtin #function][punctuation )]", |
| 127 | + "[variable print][punctuation (][builtin #line][punctuation ,] [builtin #column][punctuation )]", |
| 128 | + "[builtin #if] [atom true]", |
| 129 | + "[keyword import] [def A]", |
| 130 | + "[builtin #elseif] [atom false]", |
| 131 | + "[keyword import] [def B]", |
| 132 | + "[builtin #endif]", |
| 133 | + "[builtin #sourceLocation][punctuation (][variable file][punctuation :] [string \"file.swift\"][punctuation ,] [variable line][punctuation :] [number 2][punctuation )]"); |
134 | 134 |
|
135 | 135 | // Attributes; things that start with @. |
136 | 136 | MT("attributes", |
137 | | - "[instruction @objc][punctuation (][variable objcFoo][punctuation :)]", |
138 | | - "[instruction @available][punctuation (][variable iOS][punctuation )]"); |
| 137 | + "[attribute @objc][punctuation (][variable objcFoo][punctuation :)]", |
| 138 | + "[attribute @available][punctuation (][variable iOS][punctuation )]"); |
139 | 139 |
|
140 | 140 | // Property/number edge case. |
141 | 141 | MT("property_number", |
|
0 commit comments