Skip to content

Commit 5252901

Browse files
compiler/cpp/src/parse/t_program: Pass down the std_path along the include
1 parent c2a9ce3 commit 5252901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/cpp/src/parse/t_program.h

+1
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ class t_program : public t_doc {
264264
void add_include(std::string path, std::string include_site) {
265265
t_program* program = new t_program(path);
266266

267+
program->set_std_path(std_path_);
267268
program->set_include_site(include_site);
268269

269270
// include prefix for this program is the site at which it was included

0 commit comments

Comments
 (0)