Skip to content

parser: remake generated_parser output#13923

Merged
jesusvazquez merged 1 commit intomainfrom
owilliams/goyacc
Apr 13, 2024
Merged

parser: remake generated_parser output#13923
jesusvazquez merged 1 commit intomainfrom
owilliams/goyacc

Conversation

@ywwg
Copy link
Copy Markdown
Member

@ywwg ywwg commented Apr 11, 2024

In a previous PR, the generated parser was created using an old version of goyacc.

Also adds -l to disable line directives, which fixes debug processing and reduces diffs at the expense of making it more difficult to reason about the generated output.

In a previous PR, the generated parser was created using an old version of goyacc.

Also adds -l to disable line directives, which fixes debug processing and reduces diffs at the expense of making it more difficult to reason about the generated output.

Signed-off-by: Owen Williams <[email protected]>
@ywwg ywwg requested a review from roidelapluie as a code owner April 11, 2024 15:08
@ywwg ywwg force-pushed the owilliams/goyacc branch 2 times, most recently from 60e575e to 7e0460e Compare April 11, 2024 15:09
@bboreham
Copy link
Copy Markdown
Member

bboreham commented Apr 11, 2024

In a previous PR, the generated parser was created using an old version of goyacc.

Which version did you use here? The Makefile says to use v0.6.0, from Feb 2023.
There are versions up to 0.20 https://pkg.go.dev/golang.org/x/tools?tab=versions

@ywwg
Copy link
Copy Markdown
Member Author

ywwg commented Apr 11, 2024

go version -m  $(which goyacc)
/home/owilliams/go/bin/goyacc: go1.21.8
        path    golang.org/x/tools/cmd/goyacc
        mod     golang.org/x/tools      v0.6.0  h1:BOw41kyTf3PuCW1pVQf8+Cyg8pMlkYB1oo9iJ6D/lKM=

I double-checked and installed 0.6.0 explicitly and I get the same output.

Copy link
Copy Markdown
Member

@jesusvazquez jesusvazquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jesusvazquez jesusvazquez merged commit 4a6f870 into main Apr 13, 2024
@jesusvazquez jesusvazquez deleted the owilliams/goyacc branch April 13, 2024 10:59
bboreham pushed a commit to bboreham/prometheus that referenced this pull request Jun 20, 2024
* upstream/main: (32 commits)
  Avoid creating new slices for labels values on postings for matchers (prometheus#13958)
  Improve the metric description
  Add a changelog entry
  Change variable name to `restoreStartTime` from `now` and introduce a log line to record total time
  promtool: Fix panic on extended tsdb analyze (prometheus#13976)
  Rule Manager: Add `rule_group_last_restore_duration_seconds` to measure restore time per rule group
  build(deps): bump github.com/aws/aws-sdk-go from 1.51.24 to 1.51.25
  build(deps): bump github.com/hetznercloud/hcloud-go/v2
  Downgrade github.com/ovh/go-ovh back to v1.4.3
  Downgrade k8s apis back to v0.29.3
  Update Go dependencies before 2.52
  build(deps): bump github.com/prometheus/common
  tsdb/wlog: add test for metrics unregistering
  discovery(k8s): add metadata labels to endpointslices
  parser: remake generated_parser output (prometheus#13923)
  Adds Inf and NaN as Numbers to Histogram in Promql Testing Framework (prometheus#13916)
  tsdb/wlog: unregister metrics on WL close
  golangci-lint: enable whitespace linter (prometheus#13905)
  Cut release 2.51.2
  List Prometheus v3 coordinators in MAINTAINERS.md
  ...

Signed-off-by: gotjosh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants