diff --git a/deps/rabbit/src/rabbit_jms_selector_lexer.erl b/deps/rabbit/src/rabbit_jms_selector_lexer.erl index a769fb808c..0feaaf1f1f 100644 --- a/deps/rabbit/src/rabbit_jms_selector_lexer.erl +++ b/deps/rabbit/src/rabbit_jms_selector_lexer.erl @@ -1,8 +1,41 @@ -file("leexinc.hrl", 0). +%% +%% %CopyrightBegin% +%% +%% SPDX-License-Identifier: BSD-2-Clause +%% +%% Copyright (c) 2008,2009 Robert Virding. All rights reserved. +%% Copyright Ericsson AB 2009-2025. All Rights Reserved. +%% +%% Redistribution and use in source and binary forms, with or without +%% modification, are permitted provided that the following conditions +%% are met: +%% +%% 1. Redistributions of source code must retain the above copyright +%% notice, this list of conditions and the following disclaimer. +%% 2. Redistributions in binary form must reproduce the above copyright +%% notice, this list of conditions and the following disclaimer in the +%% documentation and/or other materials provided with the distribution. +%% +%% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +%% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +%% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +%% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +%% COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +%% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +%% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +%% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +%% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +%% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +%% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +%% POSSIBILITY OF SUCH DAMAGE. +%% +%% %CopyrightEnd% +%% + %% The source of this file is part of leex distribution, as such it %% has the same Copyright as the other files in the leex -%% distribution. The Copyright is defined in the accompanying file -%% COPYRIGHT. However, the resultant scanner generated by leex is the +%% distribution. However, the resultant scanner generated by leex is the %% property of the creator of the scanner and is not covered by that %% Copyright. @@ -46,7 +79,7 @@ process_string(Chars) -> process_escaped_quotes(Binary) -> binary:replace(Binary, <<"''">>, <<"'">>, [global]). --file("leexinc.hrl", 14). +-file("leexinc.hrl", 47). format_error({illegal,S}) -> ["illegal characters ",io_lib:write_string(S)]; format_error({user,S}) -> S. @@ -403,7 +436,7 @@ tab_size() -> 8. %% return signal either an unrecognised character or end of current %% input. --file("rabbit_jms_selector_lexer.erl", 371). +-file("rabbit_jms_selector_lexer.erl", 404). yystate() -> 66. yystate(69, [101|Ics], Line, Col, Tlen, _, _) -> @@ -1813,4 +1846,4 @@ yyaction_29(TokenChars, TokenLine) -> -file("rabbit_jms_selector_lexer.xrl", 66). yyaction_30(TokenChars) -> { error, { illegal_character, TokenChars } } . --file("leexinc.hrl", 344). +-file("leexinc.hrl", 377). diff --git a/deps/rabbit/src/rabbit_jms_selector_parser.erl b/deps/rabbit/src/rabbit_jms_selector_parser.erl index 27e63e6592..8a62cc841b 100644 --- a/deps/rabbit/src/rabbit_jms_selector_parser.erl +++ b/deps/rabbit/src/rabbit_jms_selector_parser.erl @@ -26,7 +26,9 @@ process_escape_char({string, Line, Value}) -> %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2024. All Rights Reserved. +%% SPDX-License-Identifier: Apache-2.0 +%% +%% Copyright Ericsson AB 1996-2025. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -210,7 +212,7 @@ yecctoken2string1(Other) -> --file("rabbit_jms_selector_parser.erl", 213). +-file("rabbit_jms_selector_parser.erl", 215). -dialyzer({nowarn_function, yeccpars2/7}). -compile({nowarn_unused_function, yeccpars2/7}).