@@ -172,6 +172,9 @@ optionValues Option = {
172
172
.putFieldPrefix = false,
173
173
.maxRecursionDepth = 0xffffffff ,
174
174
.interactive = false,
175
+ #ifdef WIN32
176
+ .useSlashAsFilenameSeparator = false,
177
+ #endif
175
178
#ifdef DEBUG
176
179
.breakLine = 0 ,
177
180
#endif
@@ -416,6 +419,10 @@ static optionDescription LongOptionDescription [] = {
416
419
{0 ," never: be absolute even if input files are passed in with relative paths" },
417
420
{1 ," --totals=[yes|no|extra]" },
418
421
{1 ," Print statistics about input and tag files [no]." },
422
+ #ifdef WIN32
423
+ {1 ," --use-slash-as-filename-separator" },
424
+ {1 ," Use slash as filename separator [no]." },
425
+ #endif
419
426
{1 ," --verbose=[yes|no]" },
420
427
{1 ," Enable verbose messages describing actions on each input file." },
421
428
{1 ," --version" },
@@ -2786,6 +2793,9 @@ static booleanOption BooleanOptions [] = {
2786
2793
{ "recurse" , & Option .recurse , false, STAGE_ANY },
2787
2794
#endif
2788
2795
{ "verbose" , & ctags_verbose , false, STAGE_ANY },
2796
+ #ifdef WIN32
2797
+ { "use-slash-as-filename-separator" , & Option .useSlashAsFilenameSeparator , false, STAGE_ANY },
2798
+ #endif
2789
2799
{ "with-list-header" , & localOption .withListHeader , true, STAGE_ANY },
2790
2800
{ "_fatal-warnings" ,& Option .fatalWarnings , false, STAGE_ANY },
2791
2801
};
0 commit comments