Skip to content

Macro Validation #94

Closed
h3rald opened this Issue Apr 11, 2010 · 3 comments

1 participant

@h3rald
Owner
h3rald commented Apr 11, 2010

It should be possible to specify whether a macro is allowed within another macro or not or similar.

Example:

    macro :test do
      validate { @node.parent[:macro]== :a }
      # macro code
    end
@h3rald
Owner
h3rald commented Apr 12, 2010

DOC: New MacroError -- Macro '#@name' is not allowed here.

@h3rald
Owner
h3rald commented Apr 12, 2010

Working on this.

@h3rald
Owner
h3rald commented Apr 12, 2010

Implemented custom macro validation.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.