corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject incubator-corinthia git commit: Flat: Remove commented-out code
Date Mon, 31 Aug 2015 11:31:31 GMT
Repository: incubator-corinthia
Updated Branches:
  refs/heads/master da0d919b5 -> f1b74ba8e


Flat: Remove commented-out code


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/f1b74ba8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/f1b74ba8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/f1b74ba8

Branch: refs/heads/master
Commit: f1b74ba8eb6fcdd7faf6ecd330defb5add91117d
Parents: da0d919
Author: Peter Kelly <peter@uxproductivity.com>
Authored: Mon Aug 31 18:31:21 2015 +0700
Committer: Peter Kelly <peter@uxproductivity.com>
Committed: Mon Aug 31 18:31:21 2015 +0700

----------------------------------------------------------------------
 experiments/flat/src/flat.c | 20 --------------------
 1 file changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/f1b74ba8/experiments/flat/src/flat.c
----------------------------------------------------------------------
diff --git a/experiments/flat/src/flat.c b/experiments/flat/src/flat.c
index e72fbe7..49a9846 100644
--- a/experiments/flat/src/flat.c
+++ b/experiments/flat/src/flat.c
@@ -121,26 +121,6 @@ int main(int argc, const char **argv)
             usage();
     }
 
-//    if ((argc == 2) && !strcmp(argv[1],"-g")) {
-//        useBuiltinGrammar = 1;
-//        showGrammar = 1;
-//    }
-//    else if ((argc == 3) && !strcmp(argv[1],"-p")) {
-//        useBuiltinGrammar = 1;
-//        inputFilename = argv[2];
-//    }
-//    else if ((argc == 3) && !strcmp(argv[1],"-b")) {
-//        grammarFilename = argv[2];
-//        showGrammar = 1;
-//    }
-//    else if (argc == 3) {
-//        grammarFilename = argv[1];
-//        inputFilename = argv[2];
-//    }
-//    else {
-//        usage();
-//    }
-
     Grammar *flatGrammar = GrammarNewBuiltin();
 
     inputStr = maybeReadFile(inputFilename);


Mime
View raw message