Commit 6260c49
committed
Update tags for Julia 1.0; fix #3
Add support for arbitrarily many macros before functions.
Add variables defined on the start of a line (also has macro support).
Add support for type parameterized inline function, that is
`f(x::T) where {T} = [...]`.
Remove dollar symbols; I don't know their meaning as I haven't used
Julia before 1.0.
Remove `typealias` keyword; does not exist in Julia 1.0.
Problems:
- Still could use cleanup to not assign the 'function' kind to
`struct`s, for example.
- If any matched identifier is between strings or comments, it will
_not_ be ignored.
- Lambda functions are added as variables.
- Functions in the non-global scope are also added. May be desired.1 parent 9f479f2 commit 6260c49
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments