Skip to content

Commit

Permalink
fix parsing of msvc /std option
Browse files Browse the repository at this point in the history
  • Loading branch information
ludviggunne committed Aug 27, 2024
1 parent af28aed commit 960a3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/importproject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ bool ImportProject::fsParseCommand(FileSettings& fs, const std::string& command)
while (pos < command.size() && command[pos] == ' ')
++pos;
}
const std::string fval = readUntil(command, &pos, " =");
const std::string fval = readUntil(command, &pos, " =:");
if (F=='D') {
std::string defval = readUntil(command, &pos, " ");
defs += fval;
Expand Down

0 comments on commit 960a3d3

Please sign in to comment.