Skip to content
This repository was archived by the owner on Apr 4, 2020. It is now read-only.
This repository was archived by the owner on Apr 4, 2020. It is now read-only.

Non quoted names are not parsed #8

@andygrunwald

Description

@andygrunwald

According to https://developer.valvesoftware.com/wiki/KeyValues: It has 3 control characters {, } and ". Names and values may be quoted or not..

This means:

"ParentKey1"
{
    ValueKey1   "1"
}

should result in

array(1) {
  'ParentKey1' =>
  array(1) {
    'ValueKey1' =>
    string(1) "1"
  }
}

but results in

array(1) {
  'ParentKey1' =>
  array(0) {
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions