Add .c3i and .c3t to supported C3 extensions - #8095
Open
Alhadis wants to merge 3 commits into
Open
Conversation
Contributor
|
LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull-request fixes #8082 by adding support for the
.c3iand.c3tfile extensions to the C3 language, originally added by @rudywasfound in #7525./cc @0riginaln0
Usage
Search results for the
c3textension were a bit varied; most of them were unrelated JSON files (which this pull-request takes into consideration). The other unrelated files are a handful of GPL license files named things likeLICENSE-GPL3_V1.c3t, but they don't have nearly enough usage on GitHub to qualify for addition (only ~24 results as of this writing). Filtering out both JSON and license texts gives us ~284 C3 files.Checklist
See above.
pq.c3i(MIT-licensed)gamepad.c3i(MIT-licensed)client_window.c3t(MIT-licensed)ct_if_folding.c3t(MIT-licensed)typefrom.c3t(MIT-licensed)utils.c3i(MIT-licensed)empty.c3t(GPL-3.0 licensed)box.c3t(GPL-3.0 licensed)Yes, to easily differentiate between a JSON file whose first non-blank character is
{, and C3 statements that begin a line with a common (unquoted) keyword, which isn't legal JSON.