Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iniconf: Allow dot and dash for ini keys #4052

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

techee
Copy link
Contributor

@techee techee commented Aug 16, 2024

The iniconf parser can be used as a poor man's TOML parser which can contain '.' and '-' inside keys. Also, since there's no official ini specification, I can imagine some ini dialects allow this too.

I'm now aware of #3509 as mentioned in geany/geany#3934 but right now we don't use PEG parsers in Geany and we'd have to evaluate its performance so we'll probably stick with this parser for TOML for now.

The iniconf parser can be used as a poor man's TOML parser which can
contain '.' and '-' inside keys. Also, since there's no official ini
specification, I can imagine some ini dialects allow this too.
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.47%. Comparing base (36fce6a) to head (f609eab).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4052   +/-   ##
=======================================
  Coverage   85.47%   85.47%           
=======================================
  Files         236      236           
  Lines       56990    56990           
=======================================
  Hits        48715    48715           
  Misses       8275     8275           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@masatake masatake merged commit f158eb8 into universal-ctags:master Aug 16, 2024
68 checks passed
@masatake
Copy link
Member

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants