From a411e4348400a98257de5e79e71565d0db43a43c Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Sun, 9 Mar 2014 22:13:08 -0700 Subject: [PATCH] Rename source files: .cpp -> .cc --- .../{build_tables_spec.cpp => build_tables_spec.cc} | 0 .../build_tables/{first_set_spec.cpp => first_set_spec.cc} | 0 .../{follow_sets_spec.cpp => follow_sets_spec.cc} | 0 .../{item_set_closure_spec.cpp => item_set_closure_spec.cc} | 0 ...rule_can_be_blank_spec.cpp => rule_can_be_blank_spec.cc} | 0 .../{rule_transitions_spec.cpp => rule_transitions_spec.cc} | 0 spec/compiler/{compile_examples.cpp => compile_examples.cc} | 0 spec/compiler/{compiler_specs.cpp => compiler_specs.cc} | 0 .../{character_set_helpers.cpp => character_set_helpers.cc} | 0 .../{prepare_grammar_spec.cpp => prepare_grammar_spec.cc} | 0 .../rules/{character_set_spec.cpp => character_set_spec.cc} | 0 spec/compiler/rules/{pattern_spec.cpp => pattern_spec.cc} | 0 spec/compiler/rules/{rules_spec.cpp => rules_spec.cc} | 0 spec/runtime/{arithmetic_spec.cpp => arithmetic_spec.cc} | 0 spec/runtime/{json_spec.cpp => json_spec.cc} | 0 spec/runtime/{runtime_specs.cpp => runtime_specs.cc} | 0 spec/runtime/{tree_spec.cpp => tree_spec.cc} | 0 .../build_tables/{build_tables.cpp => build_tables.cc} | 0 src/compiler/build_tables/{first_set.cpp => first_set.cc} | 0 .../build_tables/{follow_sets.cpp => follow_sets.cc} | 0 src/compiler/build_tables/{item.cpp => item.cc} | 0 .../{item_set_closure.cpp => item_set_closure.cc} | 0 .../{item_set_transitions.cpp => item_set_transitions.cc} | 0 .../{rule_can_be_blank.cpp => rule_can_be_blank.cc} | 0 .../{rule_transitions.cpp => rule_transitions.cc} | 0 src/compiler/{compile.cpp => compile.cc} | 0 src/compiler/generate_code/{c_code.cpp => c_code.cc} | 0 src/compiler/generate_code/{helpers.cpp => helpers.cc} | 0 src/compiler/{grammar.cpp => grammar.cc} | 0 src/compiler/{lex_table.cpp => lex_table.cc} | 0 src/compiler/{parse_table.cpp => parse_table.cc} | 0 .../{expand_repeats.cpp => expand_repeats.cc} | 0 .../{extract_tokens.cpp => extract_tokens.cc} | 0 .../{prepare_grammar.cpp => prepare_grammar.cc} | 0 src/compiler/{prepared_grammar.cpp => prepared_grammar.cc} | 0 src/compiler/rules/{blank.cpp => blank.cc} | 0 .../rules/{built_in_symbols.cpp => built_in_symbols.cc} | 0 .../rules/{character_range.cpp => character_range.cc} | 0 src/compiler/rules/{character_set.cpp => character_set.cc} | 0 src/compiler/rules/{choice.cpp => choice.cc} | 0 src/compiler/rules/{pattern.cpp => pattern.cc} | 0 src/compiler/rules/{repeat.cpp => repeat.cc} | 0 src/compiler/rules/{rule.cpp => rule.cc} | 0 src/compiler/rules/{rules.cpp => rules.cc} | 0 src/compiler/rules/{seq.cpp => seq.cc} | 0 src/compiler/rules/{string.cpp => string.cc} | 0 src/compiler/rules/{symbol.cpp => symbol.cc} | 0 src/compiler/rules/{visitor.cpp => visitor.cc} | 0 tree_sitter.gyp | 6 +++--- 49 files changed, 3 insertions(+), 3 deletions(-) rename spec/compiler/build_tables/{build_tables_spec.cpp => build_tables_spec.cc} (100%) rename spec/compiler/build_tables/{first_set_spec.cpp => first_set_spec.cc} (100%) rename spec/compiler/build_tables/{follow_sets_spec.cpp => follow_sets_spec.cc} (100%) rename spec/compiler/build_tables/{item_set_closure_spec.cpp => item_set_closure_spec.cc} (100%) rename spec/compiler/build_tables/{rule_can_be_blank_spec.cpp => rule_can_be_blank_spec.cc} (100%) rename spec/compiler/build_tables/{rule_transitions_spec.cpp => rule_transitions_spec.cc} (100%) rename spec/compiler/{compile_examples.cpp => compile_examples.cc} (100%) rename spec/compiler/{compiler_specs.cpp => compiler_specs.cc} (100%) rename spec/compiler/helpers/{character_set_helpers.cpp => character_set_helpers.cc} (100%) rename spec/compiler/{prepare_grammar_spec.cpp => prepare_grammar_spec.cc} (100%) rename spec/compiler/rules/{character_set_spec.cpp => character_set_spec.cc} (100%) rename spec/compiler/rules/{pattern_spec.cpp => pattern_spec.cc} (100%) rename spec/compiler/rules/{rules_spec.cpp => rules_spec.cc} (100%) rename spec/runtime/{arithmetic_spec.cpp => arithmetic_spec.cc} (100%) rename spec/runtime/{json_spec.cpp => json_spec.cc} (100%) rename spec/runtime/{runtime_specs.cpp => runtime_specs.cc} (100%) rename spec/runtime/{tree_spec.cpp => tree_spec.cc} (100%) rename src/compiler/build_tables/{build_tables.cpp => build_tables.cc} (100%) rename src/compiler/build_tables/{first_set.cpp => first_set.cc} (100%) rename src/compiler/build_tables/{follow_sets.cpp => follow_sets.cc} (100%) rename src/compiler/build_tables/{item.cpp => item.cc} (100%) rename src/compiler/build_tables/{item_set_closure.cpp => item_set_closure.cc} (100%) rename src/compiler/build_tables/{item_set_transitions.cpp => item_set_transitions.cc} (100%) rename src/compiler/build_tables/{rule_can_be_blank.cpp => rule_can_be_blank.cc} (100%) rename src/compiler/build_tables/{rule_transitions.cpp => rule_transitions.cc} (100%) rename src/compiler/{compile.cpp => compile.cc} (100%) rename src/compiler/generate_code/{c_code.cpp => c_code.cc} (100%) rename src/compiler/generate_code/{helpers.cpp => helpers.cc} (100%) rename src/compiler/{grammar.cpp => grammar.cc} (100%) rename src/compiler/{lex_table.cpp => lex_table.cc} (100%) rename src/compiler/{parse_table.cpp => parse_table.cc} (100%) rename src/compiler/prepare_grammar/{expand_repeats.cpp => expand_repeats.cc} (100%) rename src/compiler/prepare_grammar/{extract_tokens.cpp => extract_tokens.cc} (100%) rename src/compiler/prepare_grammar/{prepare_grammar.cpp => prepare_grammar.cc} (100%) rename src/compiler/{prepared_grammar.cpp => prepared_grammar.cc} (100%) rename src/compiler/rules/{blank.cpp => blank.cc} (100%) rename src/compiler/rules/{built_in_symbols.cpp => built_in_symbols.cc} (100%) rename src/compiler/rules/{character_range.cpp => character_range.cc} (100%) rename src/compiler/rules/{character_set.cpp => character_set.cc} (100%) rename src/compiler/rules/{choice.cpp => choice.cc} (100%) rename src/compiler/rules/{pattern.cpp => pattern.cc} (100%) rename src/compiler/rules/{repeat.cpp => repeat.cc} (100%) rename src/compiler/rules/{rule.cpp => rule.cc} (100%) rename src/compiler/rules/{rules.cpp => rules.cc} (100%) rename src/compiler/rules/{seq.cpp => seq.cc} (100%) rename src/compiler/rules/{string.cpp => string.cc} (100%) rename src/compiler/rules/{symbol.cpp => symbol.cc} (100%) rename src/compiler/rules/{visitor.cpp => visitor.cc} (100%) diff --git a/spec/compiler/build_tables/build_tables_spec.cpp b/spec/compiler/build_tables/build_tables_spec.cc similarity index 100% rename from spec/compiler/build_tables/build_tables_spec.cpp rename to spec/compiler/build_tables/build_tables_spec.cc diff --git a/spec/compiler/build_tables/first_set_spec.cpp b/spec/compiler/build_tables/first_set_spec.cc similarity index 100% rename from spec/compiler/build_tables/first_set_spec.cpp rename to spec/compiler/build_tables/first_set_spec.cc diff --git a/spec/compiler/build_tables/follow_sets_spec.cpp b/spec/compiler/build_tables/follow_sets_spec.cc similarity index 100% rename from spec/compiler/build_tables/follow_sets_spec.cpp rename to spec/compiler/build_tables/follow_sets_spec.cc diff --git a/spec/compiler/build_tables/item_set_closure_spec.cpp b/spec/compiler/build_tables/item_set_closure_spec.cc similarity index 100% rename from spec/compiler/build_tables/item_set_closure_spec.cpp rename to spec/compiler/build_tables/item_set_closure_spec.cc diff --git a/spec/compiler/build_tables/rule_can_be_blank_spec.cpp b/spec/compiler/build_tables/rule_can_be_blank_spec.cc similarity index 100% rename from spec/compiler/build_tables/rule_can_be_blank_spec.cpp rename to spec/compiler/build_tables/rule_can_be_blank_spec.cc diff --git a/spec/compiler/build_tables/rule_transitions_spec.cpp b/spec/compiler/build_tables/rule_transitions_spec.cc similarity index 100% rename from spec/compiler/build_tables/rule_transitions_spec.cpp rename to spec/compiler/build_tables/rule_transitions_spec.cc diff --git a/spec/compiler/compile_examples.cpp b/spec/compiler/compile_examples.cc similarity index 100% rename from spec/compiler/compile_examples.cpp rename to spec/compiler/compile_examples.cc diff --git a/spec/compiler/compiler_specs.cpp b/spec/compiler/compiler_specs.cc similarity index 100% rename from spec/compiler/compiler_specs.cpp rename to spec/compiler/compiler_specs.cc diff --git a/spec/compiler/helpers/character_set_helpers.cpp b/spec/compiler/helpers/character_set_helpers.cc similarity index 100% rename from spec/compiler/helpers/character_set_helpers.cpp rename to spec/compiler/helpers/character_set_helpers.cc diff --git a/spec/compiler/prepare_grammar_spec.cpp b/spec/compiler/prepare_grammar_spec.cc similarity index 100% rename from spec/compiler/prepare_grammar_spec.cpp rename to spec/compiler/prepare_grammar_spec.cc diff --git a/spec/compiler/rules/character_set_spec.cpp b/spec/compiler/rules/character_set_spec.cc similarity index 100% rename from spec/compiler/rules/character_set_spec.cpp rename to spec/compiler/rules/character_set_spec.cc diff --git a/spec/compiler/rules/pattern_spec.cpp b/spec/compiler/rules/pattern_spec.cc similarity index 100% rename from spec/compiler/rules/pattern_spec.cpp rename to spec/compiler/rules/pattern_spec.cc diff --git a/spec/compiler/rules/rules_spec.cpp b/spec/compiler/rules/rules_spec.cc similarity index 100% rename from spec/compiler/rules/rules_spec.cpp rename to spec/compiler/rules/rules_spec.cc diff --git a/spec/runtime/arithmetic_spec.cpp b/spec/runtime/arithmetic_spec.cc similarity index 100% rename from spec/runtime/arithmetic_spec.cpp rename to spec/runtime/arithmetic_spec.cc diff --git a/spec/runtime/json_spec.cpp b/spec/runtime/json_spec.cc similarity index 100% rename from spec/runtime/json_spec.cpp rename to spec/runtime/json_spec.cc diff --git a/spec/runtime/runtime_specs.cpp b/spec/runtime/runtime_specs.cc similarity index 100% rename from spec/runtime/runtime_specs.cpp rename to spec/runtime/runtime_specs.cc diff --git a/spec/runtime/tree_spec.cpp b/spec/runtime/tree_spec.cc similarity index 100% rename from spec/runtime/tree_spec.cpp rename to spec/runtime/tree_spec.cc diff --git a/src/compiler/build_tables/build_tables.cpp b/src/compiler/build_tables/build_tables.cc similarity index 100% rename from src/compiler/build_tables/build_tables.cpp rename to src/compiler/build_tables/build_tables.cc diff --git a/src/compiler/build_tables/first_set.cpp b/src/compiler/build_tables/first_set.cc similarity index 100% rename from src/compiler/build_tables/first_set.cpp rename to src/compiler/build_tables/first_set.cc diff --git a/src/compiler/build_tables/follow_sets.cpp b/src/compiler/build_tables/follow_sets.cc similarity index 100% rename from src/compiler/build_tables/follow_sets.cpp rename to src/compiler/build_tables/follow_sets.cc diff --git a/src/compiler/build_tables/item.cpp b/src/compiler/build_tables/item.cc similarity index 100% rename from src/compiler/build_tables/item.cpp rename to src/compiler/build_tables/item.cc diff --git a/src/compiler/build_tables/item_set_closure.cpp b/src/compiler/build_tables/item_set_closure.cc similarity index 100% rename from src/compiler/build_tables/item_set_closure.cpp rename to src/compiler/build_tables/item_set_closure.cc diff --git a/src/compiler/build_tables/item_set_transitions.cpp b/src/compiler/build_tables/item_set_transitions.cc similarity index 100% rename from src/compiler/build_tables/item_set_transitions.cpp rename to src/compiler/build_tables/item_set_transitions.cc diff --git a/src/compiler/build_tables/rule_can_be_blank.cpp b/src/compiler/build_tables/rule_can_be_blank.cc similarity index 100% rename from src/compiler/build_tables/rule_can_be_blank.cpp rename to src/compiler/build_tables/rule_can_be_blank.cc diff --git a/src/compiler/build_tables/rule_transitions.cpp b/src/compiler/build_tables/rule_transitions.cc similarity index 100% rename from src/compiler/build_tables/rule_transitions.cpp rename to src/compiler/build_tables/rule_transitions.cc diff --git a/src/compiler/compile.cpp b/src/compiler/compile.cc similarity index 100% rename from src/compiler/compile.cpp rename to src/compiler/compile.cc diff --git a/src/compiler/generate_code/c_code.cpp b/src/compiler/generate_code/c_code.cc similarity index 100% rename from src/compiler/generate_code/c_code.cpp rename to src/compiler/generate_code/c_code.cc diff --git a/src/compiler/generate_code/helpers.cpp b/src/compiler/generate_code/helpers.cc similarity index 100% rename from src/compiler/generate_code/helpers.cpp rename to src/compiler/generate_code/helpers.cc diff --git a/src/compiler/grammar.cpp b/src/compiler/grammar.cc similarity index 100% rename from src/compiler/grammar.cpp rename to src/compiler/grammar.cc diff --git a/src/compiler/lex_table.cpp b/src/compiler/lex_table.cc similarity index 100% rename from src/compiler/lex_table.cpp rename to src/compiler/lex_table.cc diff --git a/src/compiler/parse_table.cpp b/src/compiler/parse_table.cc similarity index 100% rename from src/compiler/parse_table.cpp rename to src/compiler/parse_table.cc diff --git a/src/compiler/prepare_grammar/expand_repeats.cpp b/src/compiler/prepare_grammar/expand_repeats.cc similarity index 100% rename from src/compiler/prepare_grammar/expand_repeats.cpp rename to src/compiler/prepare_grammar/expand_repeats.cc diff --git a/src/compiler/prepare_grammar/extract_tokens.cpp b/src/compiler/prepare_grammar/extract_tokens.cc similarity index 100% rename from src/compiler/prepare_grammar/extract_tokens.cpp rename to src/compiler/prepare_grammar/extract_tokens.cc diff --git a/src/compiler/prepare_grammar/prepare_grammar.cpp b/src/compiler/prepare_grammar/prepare_grammar.cc similarity index 100% rename from src/compiler/prepare_grammar/prepare_grammar.cpp rename to src/compiler/prepare_grammar/prepare_grammar.cc diff --git a/src/compiler/prepared_grammar.cpp b/src/compiler/prepared_grammar.cc similarity index 100% rename from src/compiler/prepared_grammar.cpp rename to src/compiler/prepared_grammar.cc diff --git a/src/compiler/rules/blank.cpp b/src/compiler/rules/blank.cc similarity index 100% rename from src/compiler/rules/blank.cpp rename to src/compiler/rules/blank.cc diff --git a/src/compiler/rules/built_in_symbols.cpp b/src/compiler/rules/built_in_symbols.cc similarity index 100% rename from src/compiler/rules/built_in_symbols.cpp rename to src/compiler/rules/built_in_symbols.cc diff --git a/src/compiler/rules/character_range.cpp b/src/compiler/rules/character_range.cc similarity index 100% rename from src/compiler/rules/character_range.cpp rename to src/compiler/rules/character_range.cc diff --git a/src/compiler/rules/character_set.cpp b/src/compiler/rules/character_set.cc similarity index 100% rename from src/compiler/rules/character_set.cpp rename to src/compiler/rules/character_set.cc diff --git a/src/compiler/rules/choice.cpp b/src/compiler/rules/choice.cc similarity index 100% rename from src/compiler/rules/choice.cpp rename to src/compiler/rules/choice.cc diff --git a/src/compiler/rules/pattern.cpp b/src/compiler/rules/pattern.cc similarity index 100% rename from src/compiler/rules/pattern.cpp rename to src/compiler/rules/pattern.cc diff --git a/src/compiler/rules/repeat.cpp b/src/compiler/rules/repeat.cc similarity index 100% rename from src/compiler/rules/repeat.cpp rename to src/compiler/rules/repeat.cc diff --git a/src/compiler/rules/rule.cpp b/src/compiler/rules/rule.cc similarity index 100% rename from src/compiler/rules/rule.cpp rename to src/compiler/rules/rule.cc diff --git a/src/compiler/rules/rules.cpp b/src/compiler/rules/rules.cc similarity index 100% rename from src/compiler/rules/rules.cpp rename to src/compiler/rules/rules.cc diff --git a/src/compiler/rules/seq.cpp b/src/compiler/rules/seq.cc similarity index 100% rename from src/compiler/rules/seq.cpp rename to src/compiler/rules/seq.cc diff --git a/src/compiler/rules/string.cpp b/src/compiler/rules/string.cc similarity index 100% rename from src/compiler/rules/string.cpp rename to src/compiler/rules/string.cc diff --git a/src/compiler/rules/symbol.cpp b/src/compiler/rules/symbol.cc similarity index 100% rename from src/compiler/rules/symbol.cpp rename to src/compiler/rules/symbol.cc diff --git a/src/compiler/rules/visitor.cpp b/src/compiler/rules/visitor.cc similarity index 100% rename from src/compiler/rules/visitor.cpp rename to src/compiler/rules/visitor.cc diff --git a/tree_sitter.gyp b/tree_sitter.gyp index 776b3b13..67d40574 100644 --- a/tree_sitter.gyp +++ b/tree_sitter.gyp @@ -9,7 +9,7 @@ 'src', ], 'sources': [ - '