mirror of https://github.com/prometheus/prometheus
Browse Source
* promql: Allow injecting fake tokens into the generated parser Yacc grammars do not support having multiple start symbols. To work around that restriction, it is possible to inject fake tokens into the lexer stream, as described here https://www.gnu.org/software/bison/manual/html_node/Multiple-start_002dsymbols.html . This is part of the parser rewrite effort described in #6256. Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>pull/6384/head
Tobias Guggenmos
5 years ago
committed by
Brian Brazil
2 changed files with 33 additions and 1 deletions
Loading…
Reference in new issue