Skip to content

Default value for Compiler macros #176

@f3l1x

Description

@f3l1x
  • bug report? no
  • feature request? yes
  • version: 2.4.x

Description

We're writing template processing with Latte\Engine. We have defined our custom Compiler and it has ho macros. At this time it's not possible, because Compiler::$macros has no default value.

I'm not sure it's bug a or feature (Compiler could live without any macro?).

I can prepare PR in case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions