diff options
author | Björn Gustavsson <[email protected]> | 2015-10-19 14:04:13 +0200 |
---|---|---|
committer | Tomas Abrahamsson <[email protected]> | 2018-05-09 08:38:32 +0200 |
commit | 71bb5d9272bfa046c3cfe8a419bf70877f141146 (patch) | |
tree | 2280d9dbaf526dbe096c11243acf6bcfa568502a /lib/syntax_tools/src/erl_syntax_lib.erl | |
parent | 109b1dc2e346efc37f8c5cfecbf0fa2a476b14fa (diff) | |
download | otp-71bb5d9272bfa046c3cfe8a419bf70877f141146.tar.gz otp-71bb5d9272bfa046c3cfe8a419bf70877f141146.tar.bz2 otp-71bb5d9272bfa046c3cfe8a419bf70877f141146.zip |
syntax_tools: Add support for -if and -elif
Diffstat (limited to 'lib/syntax_tools/src/erl_syntax_lib.erl')
-rw-r--r-- | lib/syntax_tools/src/erl_syntax_lib.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/syntax_tools/src/erl_syntax_lib.erl b/lib/syntax_tools/src/erl_syntax_lib.erl index c7f477c4d2..ced0dba3e2 100644 --- a/lib/syntax_tools/src/erl_syntax_lib.erl +++ b/lib/syntax_tools/src/erl_syntax_lib.erl @@ -1317,6 +1317,8 @@ analyze_attribute(Node) -> include_lib -> preprocessor; ifdef -> preprocessor; ifndef -> preprocessor; + 'if' -> preprocessor; + elif -> preprocessor; else -> preprocessor; endif -> preprocessor; A -> |