Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreynol committed Sep 25, 2024
1 parent 4faaaa9 commit 768892c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ int main( int argc, char* argv[] )
Options opts;
Stats stats;
State s(opts, stats);
Plugin * plugin = nullptr;
Plugin* plugin = nullptr;
// read the options
size_t i = 1;
std::string file;
Expand All @@ -47,11 +47,11 @@ int main( int argc, char* argv[] )
continue;
}
}
bool isInclude = (arg.compare(0, 10, "--include=")==0);
if (isInclude || arg.compare(0, 12, "--reference=")==0)
bool isInclude = (arg.compare(0, 10, "--include=") == 0);
if (isInclude || arg.compare(0, 12, "--reference=") == 0)
{
size_t first = arg.find_first_of("=");
std::string file = arg.substr(first+1);
std::string file = arg.substr(first + 1);
// cannot provide reference
Expr refNf;
if (!s.includeFile(file, isInclude, !isInclude, refNf))
Expand Down

0 comments on commit 768892c

Please sign in to comment.