mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 17:13:22 +00:00
9398b9ac1b
Fixes #1169 Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu> |
||
---|---|---|
.. | ||
interface.go | ||
openmetricslex.l | ||
openmetricslex.l.go | ||
openmetricsparse_test.go | ||
openmetricsparse.go | ||
promlex.l | ||
promlex.l.go | ||
promparse_test.go | ||
promparse.go | ||
promtestdata.nometa.txt | ||
promtestdata.txt | ||
README.md |
Making changes to textparse lexers
In the rare case that you need to update the textparse lexers, edit promlex.l or openmetricslex.l and then run the following command:
golex -o=promlex.l.go promlex.l
Note that you need golex installed:
go get -u modernc.org/golex