Skip to content
Snippets Groups Projects
Commit 764aabee authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

print parser symbols with "-check" command line option

parent 3a29c23c
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include "OpenFile.h" #include "OpenFile.h"
#include "CreateFile.h" #include "CreateFile.h"
#include "Options.h" #include "Options.h"
#include "Parser.h"
#include "CommandLine.h" #include "CommandLine.h"
#include "OS.h" #include "OS.h"
#include "Context.h" #include "Context.h"
...@@ -219,6 +220,10 @@ int GmshBatch() ...@@ -219,6 +220,10 @@ int GmshBatch()
} }
else if(CTX::instance()->batch == -2){ else if(CTX::instance()->batch == -2){
GModel::current()->checkMeshCoherence(CTX::instance()->geom.tolerance); GModel::current()->checkMeshCoherence(CTX::instance()->geom.tolerance);
std::vector<std::string> s;
PrintParserSymbols(0, s);
for(unsigned int i = 0; i < s.size(); i++)
Msg::Direct("%s", s[i].c_str());
} }
else if(CTX::instance()->batch == -1){ else if(CTX::instance()->batch == -1){
CreateOutputFile(CTX::instance()->outputFileName, CreateOutputFile(CTX::instance()->outputFileName,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment