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

include_once does not work correctely nested in ifdef/ifndef #16

Description

@simonseyock

Imagine the following file:

// #ifndef FLAG
// #include_once "same/file.js"
// #endif

// #ifndef OTHERFLAG
// #include_once "same/file.js"
// #endif

processed with {FLAG:true}

The file "same/file.js" isn't in the result. It gets written at the place where the first include_once occurs but gets removed because of the ifndef. The second time it doesn't get included because it already got included.

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