Commit aa631e5aca26faf980bb508d3fd1928080040ba3
Fix --lang option being ignored
Since introduction of lang attribute.
Author: xaizek
Author date (UTC): 2022-07-10 15:08
Committer name: xaizek
Committer date (UTC): 2022-07-10 15:08
Parent(s): 1cd248fa0a95d4400c3fca44a40d8f8317332999
Signing key: 99DC5E4DB05F6BE2
Tree: 38d8ed07edeaa22f1205d1fe3e3dfa8fdf8278e0
File src/tooling/common.cpp changed (mode: 100644) (index a31a51b..98d3175) |
... |
... |
static optional_t<Tree> buildTreeFromFile(const CommonArgs &args, |
205 |
205 |
langName = attrs.lang; |
langName = attrs.lang; |
206 |
206 |
} |
} |
207 |
207 |
|
|
208 |
|
std::unique_ptr<Language> lang = Language::create(path, attrs.lang); |
|
|
208 |
|
std::unique_ptr<Language> lang = Language::create(path, langName); |
209 |
209 |
|
|
210 |
210 |
cpp17::pmr::monolithic localMR; |
cpp17::pmr::monolithic localMR; |
211 |
211 |
|
|