diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-09 00:36:06 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-05-10 23:14:52 +0900 |
commit | dd5fd3372cdb53e7a3a36b5ef61b0b0c35023798 (patch) | |
tree | e29796e3c0aee95e443aeabe6b24e2ed4c81dac0 /spec/syntax_error.go | |
parent | Add #assign directive (diff) | |
download | urubu-dd5fd3372cdb53e7a3a36b5ef61b0b0c35023798.tar.gz urubu-dd5fd3372cdb53e7a3a36b5ef61b0b0c35023798.tar.xz |
Add ordered symbol notation
Diffstat (limited to 'spec/syntax_error.go')
-rw-r--r-- | spec/syntax_error.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/syntax_error.go b/spec/syntax_error.go index 3b44d2d..ad847a2 100644 --- a/spec/syntax_error.go +++ b/spec/syntax_error.go @@ -32,6 +32,7 @@ var ( synErrLabelWithNoSymbol = newSyntaxError("a label must follow a symbol") synErrNoLabel = newSyntaxError("an identifier that represents a label is missing after the label marker @") synErrNoDirectiveName = newSyntaxError("a directive needs a name") + synErrNoOrderedSymbolName = newSyntaxError("an ordered symbol name is missing") synErrUnclosedDirGroup = newSyntaxError("a directive group must be closed by )") synErrSemicolonNoNewline = newSyntaxError("a semicolon must be followed by a newline") synErrFragmentNoPattern = newSyntaxError("a fragment needs one pattern element") |