DEVELOPMENT EDITION · 769442725406
Diagnostics Reference
B0102: missing semicolon
Catalog status: active. Default severity: error. Stable name: missing-semicolon. Family: Syntax and source text.
Every Ada declaration and statement ends with ;. Verada reports a missing one at the end of the previous token when the next token clearly starts something new (it is on a later line, or is a keyword such as end or begin), and then continues as if the ; were there.
Example (Vada)
X : Integer := 0
Y : Integer := 1;Example (Varc)
var x: Integer = 0
var y: Integer = 1;
What to do
Add the ; (the fix-it shows where).
Regression source and further reading
Complete regression example: source, command arguments and expected results. The fixture deliberately reproduces this diagnostic.
See syntax and source text, the code index, and diagnostic interpretation for modes, replay, fix-its and JSON.