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': [ - '