diff --git a/src/Language/SystemVerilog/Parser/Preprocess.hs b/src/Language/SystemVerilog/Parser/Preprocess.hs index 69828df..d1b8158 100644 --- a/src/Language/SystemVerilog/Parser/Preprocess.hs +++ b/src/Language/SystemVerilog/Parser/Preprocess.hs @@ -21,7 +21,7 @@ isNewline :: Token -> Bool isNewline (Token t _ _) = t == Spe_Newline unskippableDirectives :: [String] -unskippableDirectives = ["else", "elsif", "endif"] +unskippableDirectives = ["else", "elsif", "endif", "ifdef", "ifndef"] preprocess :: [Token] -> (StateT PP IO) [Token] preprocess tokens = pp tokens >>= return . combineNumbers