diff options
author | Loïc Hoguin <[email protected]> | 2012-11-19 18:31:03 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-01-16 12:46:47 +0100 |
commit | 0dc3a29744bed0b7f483ad72e19773dc0982ea50 (patch) | |
tree | ef36bb22deef8c43f0d876276883acf0e0d02014 /lib/stdlib/src/erl_lint.erl | |
parent | fa6771380931c7ded0ad4d36e6cd2554bb932dfc (diff) | |
download | otp-0dc3a29744bed0b7f483ad72e19773dc0982ea50.tar.gz otp-0dc3a29744bed0b7f483ad72e19773dc0982ea50.tar.bz2 otp-0dc3a29744bed0b7f483ad72e19773dc0982ea50.zip |
Remove support for the query keyword and query expressions
Diffstat (limited to 'lib/stdlib/src/erl_lint.erl')
-rw-r--r-- | lib/stdlib/src/erl_lint.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl index d24e2fff44..8fd45c3fe2 100644 --- a/lib/stdlib/src/erl_lint.erl +++ b/lib/stdlib/src/erl_lint.erl @@ -2205,9 +2205,7 @@ expr({op,_Line,_Op,L,R}, Vt, St) -> expr_list([L,R], Vt, St); %They see the same variables %% The following are not allowed to occur anywhere! expr({remote,Line,_M,_F}, _Vt, St) -> - {[],add_error(Line, illegal_expr, St)}; -expr({'query',Line,_Q}, _Vt, St) -> - {[],add_error(Line, {mnemosyne,"query"}, St)}. + {[],add_error(Line, illegal_expr, St)}. %% expr_list(Expressions, Variables, State) -> %% {UsedVarTable,State} |