From cadc04ce475c21fcd42215633cac72cef4c05719 Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Mon, 14 Jul 2008 04:33:30 +0000 Subject: [PATCH] Moved all code to src/ and include/ directories. --- exceptions.h => include/exceptions.h | 0 ltnode.h => include/ltnode.h | 0 node.h => include/node.h | 0 parser.h => include/parser.h | 0 parserstate.h => include/parserstate.h | 0 content.cpp => src/content.cpp | 0 content.h => src/content.h | 0 exp.cpp => src/exp.cpp | 0 exp.h => src/exp.h | 0 iterator.cpp => src/iterator.cpp | 0 main.cpp => src/main.cpp | 0 map.cpp => src/map.cpp | 0 map.h => src/map.h | 0 node.cpp => src/node.cpp | 0 parser.cpp => src/parser.cpp | 0 parserstate.cpp => src/parserstate.cpp | 0 regex.cpp => src/regex.cpp | 0 regex.h => src/regex.h | 0 scalar.cpp => src/scalar.cpp | 0 scalar.h => src/scalar.h | 0 scanner.cpp => src/scanner.cpp | 0 scanner.h => src/scanner.h | 0 scanscalar.cpp => src/scanscalar.cpp | 0 scanscalar.h => src/scanscalar.h | 0 scantoken.cpp => src/scantoken.cpp | 0 sequence.cpp => src/sequence.cpp | 0 sequence.h => src/sequence.h | 0 simplekey.cpp => src/simplekey.cpp | 0 stream.cpp => src/stream.cpp | 0 stream.h => src/stream.h | 0 tests.cpp => src/tests.cpp | 0 tests.h => src/tests.h | 0 token.h => src/token.h | 0 tests/out.yaml | 8 +++ yaml-reader.vcproj | 68 +++++++++++++------------- 35 files changed, 43 insertions(+), 33 deletions(-) rename exceptions.h => include/exceptions.h (100%) rename ltnode.h => include/ltnode.h (100%) rename node.h => include/node.h (100%) rename parser.h => include/parser.h (100%) rename parserstate.h => include/parserstate.h (100%) rename content.cpp => src/content.cpp (100%) rename content.h => src/content.h (100%) rename exp.cpp => src/exp.cpp (100%) rename exp.h => src/exp.h (100%) rename iterator.cpp => src/iterator.cpp (100%) rename main.cpp => src/main.cpp (100%) rename map.cpp => src/map.cpp (100%) rename map.h => src/map.h (100%) rename node.cpp => src/node.cpp (100%) rename parser.cpp => src/parser.cpp (100%) rename parserstate.cpp => src/parserstate.cpp (100%) rename regex.cpp => src/regex.cpp (100%) rename regex.h => src/regex.h (100%) rename scalar.cpp => src/scalar.cpp (100%) rename scalar.h => src/scalar.h (100%) rename scanner.cpp => src/scanner.cpp (100%) rename scanner.h => src/scanner.h (100%) rename scanscalar.cpp => src/scanscalar.cpp (100%) rename scanscalar.h => src/scanscalar.h (100%) rename scantoken.cpp => src/scantoken.cpp (100%) rename sequence.cpp => src/sequence.cpp (100%) rename sequence.h => src/sequence.h (100%) rename simplekey.cpp => src/simplekey.cpp (100%) rename stream.cpp => src/stream.cpp (100%) rename stream.h => src/stream.h (100%) rename tests.cpp => src/tests.cpp (100%) rename tests.h => src/tests.h (100%) rename token.h => src/token.h (100%) create mode 100644 tests/out.yaml diff --git a/exceptions.h b/include/exceptions.h similarity index 100% rename from exceptions.h rename to include/exceptions.h diff --git a/ltnode.h b/include/ltnode.h similarity index 100% rename from ltnode.h rename to include/ltnode.h diff --git a/node.h b/include/node.h similarity index 100% rename from node.h rename to include/node.h diff --git a/parser.h b/include/parser.h similarity index 100% rename from parser.h rename to include/parser.h diff --git a/parserstate.h b/include/parserstate.h similarity index 100% rename from parserstate.h rename to include/parserstate.h diff --git a/content.cpp b/src/content.cpp similarity index 100% rename from content.cpp rename to src/content.cpp diff --git a/content.h b/src/content.h similarity index 100% rename from content.h rename to src/content.h diff --git a/exp.cpp b/src/exp.cpp similarity index 100% rename from exp.cpp rename to src/exp.cpp diff --git a/exp.h b/src/exp.h similarity index 100% rename from exp.h rename to src/exp.h diff --git a/iterator.cpp b/src/iterator.cpp similarity index 100% rename from iterator.cpp rename to src/iterator.cpp diff --git a/main.cpp b/src/main.cpp similarity index 100% rename from main.cpp rename to src/main.cpp diff --git a/map.cpp b/src/map.cpp similarity index 100% rename from map.cpp rename to src/map.cpp diff --git a/map.h b/src/map.h similarity index 100% rename from map.h rename to src/map.h diff --git a/node.cpp b/src/node.cpp similarity index 100% rename from node.cpp rename to src/node.cpp diff --git a/parser.cpp b/src/parser.cpp similarity index 100% rename from parser.cpp rename to src/parser.cpp diff --git a/parserstate.cpp b/src/parserstate.cpp similarity index 100% rename from parserstate.cpp rename to src/parserstate.cpp diff --git a/regex.cpp b/src/regex.cpp similarity index 100% rename from regex.cpp rename to src/regex.cpp diff --git a/regex.h b/src/regex.h similarity index 100% rename from regex.h rename to src/regex.h diff --git a/scalar.cpp b/src/scalar.cpp similarity index 100% rename from scalar.cpp rename to src/scalar.cpp diff --git a/scalar.h b/src/scalar.h similarity index 100% rename from scalar.h rename to src/scalar.h diff --git a/scanner.cpp b/src/scanner.cpp similarity index 100% rename from scanner.cpp rename to src/scanner.cpp diff --git a/scanner.h b/src/scanner.h similarity index 100% rename from scanner.h rename to src/scanner.h diff --git a/scanscalar.cpp b/src/scanscalar.cpp similarity index 100% rename from scanscalar.cpp rename to src/scanscalar.cpp diff --git a/scanscalar.h b/src/scanscalar.h similarity index 100% rename from scanscalar.h rename to src/scanscalar.h diff --git a/scantoken.cpp b/src/scantoken.cpp similarity index 100% rename from scantoken.cpp rename to src/scantoken.cpp diff --git a/sequence.cpp b/src/sequence.cpp similarity index 100% rename from sequence.cpp rename to src/sequence.cpp diff --git a/sequence.h b/src/sequence.h similarity index 100% rename from sequence.h rename to src/sequence.h diff --git a/simplekey.cpp b/src/simplekey.cpp similarity index 100% rename from simplekey.cpp rename to src/simplekey.cpp diff --git a/stream.cpp b/src/stream.cpp similarity index 100% rename from stream.cpp rename to src/stream.cpp diff --git a/stream.h b/src/stream.h similarity index 100% rename from stream.h rename to src/stream.h diff --git a/tests.cpp b/src/tests.cpp similarity index 100% rename from tests.cpp rename to src/tests.cpp diff --git a/tests.h b/src/tests.h similarity index 100% rename from tests.h rename to src/tests.h diff --git a/token.h b/src/token.h similarity index 100% rename from token.h rename to src/token.h diff --git a/tests/out.yaml b/tests/out.yaml new file mode 100644 index 0000000..75b1228 --- /dev/null +++ b/tests/out.yaml @@ -0,0 +1,8 @@ +--- +- "basic node" +- ! "yeah baby" + +--- +- "basic node" +- !> "yeah baby" + diff --git a/yaml-reader.vcproj b/yaml-reader.vcproj index b708279..6ef5a5e 100644 --- a/yaml-reader.vcproj +++ b/yaml-reader.vcproj @@ -40,6 +40,7 @@ @@ -205,11 +207,11 @@ Name="Parser" > @@ -217,27 +219,27 @@ Name="Representation" > @@ -248,38 +250,38 @@ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}" > @@ -287,11 +289,11 @@ Name="Parser" > @@ -299,27 +301,27 @@ Name="Representation" >