Lines Matching refs:error
5 " - An error or warning code in "msgid" matches the one in "msgstr".
43 " When an error is detected this is set to the line number.
45 let error = 0 variable
53 if error == 0
54 let error = lnum + 1 variable
68 if error == 0
69 let error = line('.') variable
80 if error == 0
81 let error = line('.') variable
92 if error == 0
93 let error = line('.') variable
110 " Check that error code in msgid matches the one in msgstr.
113 " - msgstr "E321: ..." error code mismatch
114 " - msgstr "W123: ..." warning instead of error
116 " - msgstr "..." missing error code
120 echomsg 'Mismatching error/warning code in line ' . line('.')
121 if error == 0
122 let error = line('.') variable
153 if error == 0
154 let error = lnum variable
167 let error = matchstr(a, filename.':\zs\d\+\ze:')+0 variable
178 if error == 0
179 let error = search('\(^"[A-Za-z-_]\+: .*\\n"\n\)\+\zs', 'n') - 1 variable
181 elseif error == 0
182 let error = plural variable
194 " TODO: make this an error
195 " if error == 0
196 " let error = cte
200 " TODO: make this an error
201 " if error == 0
202 " let error = ct
206 " TODO: make this an error
207 " if error == 0
208 " let error = ct
213 if error == 0
218 " Put the cursor on the line with the error.
219 exe error