1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 01:11:15 +02:00

fix missing includes in various headers

This commit is contained in:
Jörg Thalheim 2024-12-16 11:49:43 +01:00
parent d8117c8c0d
commit b338140931
8 changed files with 17 additions and 0 deletions

View file

@ -1,5 +1,13 @@
#pragma once
#include <cstddef>
// inluding the generated headers twice leads to errors
#ifndef BISON_HEADER
#include "lexer-tab.hh"
#include "parser-tab.hh"
#endif
namespace nix::lexer::internal {
void initLoc(YYLTYPE * loc);