Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: ERLANG-0.1
-
Component/s: Erlang
-
Labels:None
-
Number of attachments :
Description
It is possible to create custom module attributes. But at the moment the grammar implementation uses a predefined list. Even if it is good for 99% of the projects, we should be able to parse custom attributes as well.
The definition is the following:
minus + indentifier + lparenthesis + one argument + rparenthesis + dot
Manually tested!
I'm not 100% though that "-mod()" should be considered as anyAttr, and not as a moduleAttr.
But for now that doesn't matter, so it's good!