chore(deps): bump github.com/mna/pigeon from 1.2.1 to 1.3.0

Bumps [github.com/mna/pigeon](https://github.com/mna/pigeon) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/mna/pigeon/releases)
- [Changelog](https://github.com/mna/pigeon/blob/master/.goreleaser.yml)
- [Commits](https://github.com/mna/pigeon/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/mna/pigeon
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2024-09-25 10:45:29 +02:00
committed by Ralf Haferkamp
parent 5f3cd4e887
commit d836423a0b
28 changed files with 487 additions and 152 deletions
+5 -2
View File
@@ -1,3 +1,6 @@
---
version: 2
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
@@ -23,9 +26,9 @@ archives:
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
snapshot:
name_template: "{{ .Tag }}-next"
version_template: "{{ .Tag }}-next"
changelog:
skip: true
disable: true
release:
github:
owner: mna
+1 -1
View File
@@ -304,7 +304,7 @@ func (a *ActionExpr) InitialNames() map[string]struct{} {
return names
}
// ThrowExpr is an expression that throws an FailureLabel to be catched by a
// ThrowExpr is an expression that throws an FailureLabel to be caught by a
// RecoveryChoiceExpr.
type ThrowExpr struct {
p Pos
+4 -4
View File
@@ -17,7 +17,7 @@ var (
// errMaxExprCnt is used to signal that the maximum number of
// expressions have been parsed.
errMaxExprCnt = errors.New("max number of expresssions parsed")
errMaxExprCnt = errors.New("max number of expressions parsed")
)
// Option is a function that can set an option on the parser. It returns
@@ -1035,8 +1035,8 @@ func (p *parser) parseExprWrap(expr any) (any, bool) {
var pt savepoint
// ==template== {{ if .LeftRecursion }}
isLeftRecusion := p.rstack[len(p.rstack)-1].leftRecursive
if p.memoize && !isLeftRecusion {
isLeftRecursion := p.rstack[len(p.rstack)-1].leftRecursive
if p.memoize && !isLeftRecursion {
// {{ else }}
if p.memoize {
// {{ end }} ==template==
@@ -1053,7 +1053,7 @@ func (p *parser) parseExprWrap(expr any) (any, bool) {
// ==template== {{ if not .Optimize }}
// ==template== {{ if .LeftRecursion }}
if p.memoize && !isLeftRecusion {
if p.memoize && !isLeftRecursion {
// {{ else }}
if p.memoize {
// {{ end }} ==template==
+4 -4
View File
@@ -35,7 +35,7 @@ var (
// errMaxExprCnt is used to signal that the maximum number of
// expressions have been parsed.
errMaxExprCnt = errors.New("max number of expresssions parsed")
errMaxExprCnt = errors.New("max number of expressions parsed")
)
// Option is a function that can set an option on the parser. It returns
@@ -1053,8 +1053,8 @@ func (p *parser) parseExprWrap(expr any) (any, bool) {
var pt savepoint
// ==template== {{ if .LeftRecursion }}
isLeftRecusion := p.rstack[len(p.rstack)-1].leftRecursive
if p.memoize && !isLeftRecusion {
isLeftRecursion := p.rstack[len(p.rstack)-1].leftRecursive
if p.memoize && !isLeftRecursion {
// {{ else }}
if p.memoize {
// {{ end }} ==template==
@@ -1071,7 +1071,7 @@ func (p *parser) parseExprWrap(expr any) (any, bool) {
// ==template== {{ if not .Optimize }}
// ==template== {{ if .LeftRecursion }}
if p.memoize && !isLeftRecusion {
if p.memoize && !isLeftRecursion {
// {{ else }}
if p.memoize {
// {{ end }} ==template==
+1 -1
View File
@@ -507,7 +507,7 @@ The original error can be accessed this way:
}
}
By defaut the parser will continue after an error is returned and will
By default the parser will continue after an error is returned and will
cumulate all errors found during parsing. If the grammar reaches a point
where it shouldn't continue, a panic statement can be used to terminate
parsing. The panic will be caught at the top-level of the Parse* call
+1 -1
View File
@@ -199,7 +199,7 @@ the generated code is written to this file instead.
-optimize-basic-latin
generate optimized parser for Unicode Basic Latin character set
-optimize-grammar
performes several performance optimizations on the grammar (EXPERIMENTAL FEATURE)
perform several performance optimizations on the grammar (EXPERIMENTAL FEATURE)
-optimize-parser
generate optimized parser without Debug and Memoize options and
with some other optimizations applied.
+1 -1
View File
@@ -3347,7 +3347,7 @@ var (
// errMaxExprCnt is used to signal that the maximum number of
// expressions have been parsed.
errMaxExprCnt = errors.New("max number of expresssions parsed")
errMaxExprCnt = errors.New("max number of expressions parsed")
)
// Option is a function that can set an option on the parser. It returns