agentzh / makefile-dom-pm

Perl CPAN module Makefile::DOM - Simple DOM parser for Makefiles

Home Page:http://search.cpan.org/perldoc?Makefile::DOM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsing imperative-style Makefile

zumpchke opened this issue · comments

I am trying to parse a Makefile (used for build system configuration) that mostly contains hierarchial 'ifeq' statements. However, these are parsed as 'Unknown' nodes, and thus I'm unable to create a tree showing the nested if-statements.

Is there a way to add a new node of this type to reproduce the correct hierarchy?

@VanushVaswani Patches welcome :)