Changeset 96 for trunk/src/modules.erl
- Timestamp:
- 08/19/10 09:26:03 (21 months ago)
- File:
-
- 1 edited
-
trunk/src/modules.erl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/modules.erl
r93 r96 10 10 -export ([module_name/1]). 11 11 -export ([locate/2]). 12 -export ([includes/1]). 12 13 13 14 to_binary (File_name) -> … … 52 53 locate_line (_, _, []) -> 53 54 unknown. 55 56 includes (File) -> 57 includes_from_forms (epp_dodger: parse_file (File)). 58 59 includes_from_forms ({error, _}=E) -> 60 E; 61 includes_from_forms ({ok, Forms}) -> 62 Attributes = [A || {tree, attribute, _, A} <- Forms], 63 Includes = [I || {attribute, {atom, _, include}, [I]} <- Attributes], 64 [F || {string, _, F} <- Includes].
Note: See TracChangeset
for help on using the changeset viewer.
