Skip to content

Commit

Permalink
Don't track tags files
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrosso committed Jun 28, 2018
1 parent 8bded4b commit 53c8b7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ cabal.project.local
.DS_Store

resources/autogenerated/*

ctags
TAGS
3 changes: 1 addition & 2 deletions src/Axel/Macros.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import Axel.Error (Error(MacroError))
import Axel.Eval (evalSource)
import Axel.Normalize
( denormalizeExpression
, normalizeProgram
, normalizeStatement
)
import qualified Axel.Parse as Parse
Expand Down Expand Up @@ -73,7 +72,7 @@ extractIndependentMacroDefinitions stmts =
let candidateMacroDefinitions = filter isMacroDefinition stmts
in filter
(not . isDependentOnAny candidateMacroDefinitions)
candidateMacroDefinitions
stmts
where
isMacroDefinition (Parse.SExpression (Parse.Symbol "defmacro":_)) = True
isMacroDefinition _ = False
Expand Down

0 comments on commit 53c8b7f

Please sign in to comment.