Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Can't nest comments in ini files #248

Closed

Description

@orengg

Describe the bug
Trying to nest comments in ini files is not possible.
For example, this ini file:

/* A
/* B */
C
*/

In the above example, C will not be ignored by the game.

Expected behavior
Nested comments being handled appropriately.

Activity

  1. garethyr commented on Nov 22, 2020

    @garethyr

    Yeah this one happens in languages all over. No reason not to fix it, but definitely not high priority.

  2. MaximDude commented on Nov 22, 2020

    @MaximDude

    To be fair you can't do this in C/C++ either. Send a letter to Bjarne.
    But, I guess this can be pulled off in the reader, just need to track the number of open/close tokens.

  3. orengg commented on Nov 22, 2020

    @orengg
    Author

    Oops, I did not know that this is not a common feature.

  4. added
    enhancementNew feature or request
    and removed
    bugSomething isn't working
    on Nov 22, 2020
  5. self-assigned this
    on Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions