Changeset View
Changeset View
Standalone View
Standalone View
autotests/input/highlight.lua
Show First 20 Lines • Show All 152 Lines • ▼ Show 20 Line(s) | |||||
153 | for i=1,10 do | 153 | for i=1,10 do | ||
154 | local y = 0 | 154 | local y = 0 | ||
155 | a[i] = function () y=y+1; return x+y end | 155 | a[i] = function () y=y+1; return x+y end | ||
156 | end | 156 | end | ||
157 | 157 | | |||
158 | --! \brief gfind is deprecated | 158 | --! \brief gfind is deprecated | ||
159 | string.gfind('s') | 159 | string.gfind('s') | ||
160 | string.gmatch('f') | 160 | string.gmatch('f') | ||
161 | | ||||
162 | function foo() | ||||
163 | if x then | ||||
164 | function() end | ||||
165 | bar=function() | ||||
166 | if y then | ||||
167 | if z then end | ||||
168 | end | ||||
169 | end | ||||
170 | end | ||||
171 | end |