zclsyntax: correct spelling of "parenthesis".

This commit is contained in:
Martin Atkins 2017-06-01 06:42:04 -07:00
parent 8f26a22933
commit 76d29e4031

View File

@ -412,7 +412,7 @@ func (p *parser) parseExpressionTerm() (Expression, zcl.Diagnostics) {
diags = append(diags, &zcl.Diagnostic{
Severity: zcl.DiagError,
Summary: "Unbalanced parentheses",
Detail: "Expected a closing parentheses to terminate the expression.",
Detail: "Expected a closing parenthesis to terminate the expression.",
Subject: &close.Range,
Context: zcl.RangeBetween(start.Range, close.Range).Ptr(),
})