diff options
Diffstat (limited to '')
-rw-r--r-- | spec/syntax_error.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/syntax_error.go b/spec/syntax_error.go index cf64e75..db4c381 100644 --- a/spec/syntax_error.go +++ b/spec/syntax_error.go @@ -37,6 +37,8 @@ var ( synErrNoDirectiveName = newSyntaxError("a directive needs a name") synErrNoOrderedSymbolName = newSyntaxError("an ordered symbol name is missing") synErrUnclosedDirGroup = newSyntaxError("a directive group must be closed by )") + synErrStrayExpOp = newSyntaxError("an expansion operator ... must be preceded by an identifier") + synErrInvalidExpOperand = newSyntaxError("an expansion operator ... can be applied to only an identifier") synErrSemicolonNoNewline = newSyntaxError("a semicolon must be followed by a newline") synErrFragmentNoPattern = newSyntaxError("a fragment needs one pattern element") ) |