mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 17:29:36 +01:00
Since the parser is now LALR we can easily switch over to the less ugly sketelon than the default C one. This would allow us to switch from %union to %define api.value.type variant in the future to avoid the need for triviall POD types.
13 lines
278 B
C++
13 lines
278 B
C++
#pragma once
|
|
|
|
#include <cstddef>
|
|
|
|
#include "parser-scanner-decls.hh"
|
|
|
|
namespace nix::lexer::internal {
|
|
|
|
void initLoc(Parser::location_type * loc);
|
|
|
|
void adjustLoc(yyscan_t yyscanner, Parser::location_type * loc, const char * s, size_t len);
|
|
|
|
} // namespace nix::lexer::internal
|