#include <cstdlib>
#include <string>
#include <fstream>
#include <iostream>
#include <assert.h>
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ DOUBLESTRINGIFY
◆ STRINGIFY
#define STRINGIFY |
( |
| a | ) |
#a |
◆ ci_string
◆ main()
int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 449 of file CMakeDoxygenFilter.cpp.
450{
451 assert(argc > 1);
452
453 for (int i = 1; i < argc; ++i)
454 {
455 std::ifstream ifs(argv[i]);
456 std::ostream& os = std::cout;
457
458 #ifdef USE_NAMESPACE
460 #endif
461
463 parser.nextToken();
464 while (ifs.good())
465 {
466 switch (parser.curToken())
467 {
469 return ifs.get();
471 parser.handleMacro();
472 break;
474 parser.handleFunction();
475 break;
477 parser.handleSet();
478 break;
480 parser.handleDoxygenComment();
481 break;
482 default:
483 parser.handleTopLevelExpression();
484 break;
485 }
486 }
487
488 #ifdef USE_NAMESPACE
489 os << "}\n";
490 #endif
491 }
492
493 return EXIT_SUCCESS;
494}
#define DOUBLESTRINGIFY(a)