Skip to content

Commit

Permalink
MMVII: GenArgsSpecs: manage XML file type (=>completion,vcommand)
Browse files Browse the repository at this point in the history
  • Loading branch information
meynardc committed Mar 12, 2024
1 parent b291c60 commit 6121912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions MMVII/src/Appli/cMMVII_Appli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1248,8 +1248,7 @@ void cMMVII_Appli::GenerateOneArgSpec(cCollecSpecArg2007& aSpecArgs, const std::
std::string range;
std::string vectorSize;
for (const auto& a : Arg->SemPL()) {

if (a.Type() < eTA2007::AddCom) {
if (a.Type() < eTA2007::AddCom || a.Type() == eTA2007::XmlOfTopTag) {
semantic.push_back(E2Str(a.Type()));
}
if (a.Type() == eTA2007::AllowedValues) {
Expand Down
1 change: 1 addition & 0 deletions MMVII/src/Appli/cMMVII_GenArgsSpec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ static const std::map<eTA2007,std::vector<std::string>> fileList = // c
{eTA2007::FileImage,{".tif",".tiff",".jpg",".jpeg",".png",".cr2",".crw",".nef"}},
{eTA2007::FileCloud,{".ply"}},
{eTA2007::File3DRegion,{".*"}},
{eTA2007::XmlOfTopTag,{".xml",".json"}},
};

} // namespace GenArgsInternal
Expand Down

0 comments on commit 6121912

Please sign in to comment.