prometheus/promql/parser
Tobias Guggenmos 012161d90d
PromQL: Fix lexer error handling (#6958)
* PromQL: Fix lexer error handling

This fixes bugs in the handling of lexer errors that are only noticeable for users of the language server and caused https://github.com/prometheus-community/promql-langserver/issues/104 .

Signed-off-by: Tobias Guggenmos <tobias.guggenmos@uni-ulm.de>

* Add test for error position ranges

Signed-off-by: Tobias Guggenmos <tobias.guggenmos@uni-ulm.de>
2020-03-16 15:47:47 +01:00
..
ast.go Add nolint comment 2020-02-17 16:09:23 +01:00
functions.go Rename package 2020-02-17 16:05:21 +01:00
generated_parser.y PromQL: Allow more keywords as metric names (#6933) 2020-03-05 13:20:53 +00:00
generated_parser.y.go PromQL: Allow more keywords as metric names (#6933) 2020-03-05 13:20:53 +00:00
lex.go Fix all build errors in promql package 2020-02-17 16:09:23 +01:00
lex_test.go Rename package 2020-02-17 16:05:21 +01:00
parse.go PromQL: Fix lexer error handling (#6958) 2020-03-16 15:47:47 +01:00
parse_test.go PromQL: Fix lexer error handling (#6958) 2020-03-16 15:47:47 +01:00
printer.go Fix all build errors in promql package 2020-02-17 16:09:23 +01:00
printer_test.go Rename package 2020-02-17 16:05:21 +01:00
value.go Fix more identifiers 2020-02-17 16:07:53 +01:00