Skip to content

Commit 49e6f4c

Browse files
committed
Update comments in parsetools
The changes in this commit are the result of running ``` make run-broker ``` on OTP 28.0.1. Some license comments are getting updated.
1 parent 51aba85 commit 49e6f4c

File tree

2 files changed

+42
-7
lines changed

2 files changed

+42
-7
lines changed

deps/rabbit/src/rabbit_jms_selector_lexer.erl

Lines changed: 38 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,41 @@
11
-file("leexinc.hrl", 0).
2+
%%
3+
%% %CopyrightBegin%
4+
%%
5+
%% SPDX-License-Identifier: BSD-2-Clause
6+
%%
7+
%% Copyright (c) 2008,2009 Robert Virding. All rights reserved.
8+
%% Copyright Ericsson AB 2009-2025. All Rights Reserved.
9+
%%
10+
%% Redistribution and use in source and binary forms, with or without
11+
%% modification, are permitted provided that the following conditions
12+
%% are met:
13+
%%
14+
%% 1. Redistributions of source code must retain the above copyright
15+
%% notice, this list of conditions and the following disclaimer.
16+
%% 2. Redistributions in binary form must reproduce the above copyright
17+
%% notice, this list of conditions and the following disclaimer in the
18+
%% documentation and/or other materials provided with the distribution.
19+
%%
20+
%% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
%% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+
%% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23+
%% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
24+
%% COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25+
%% INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
26+
%% BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27+
%% LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28+
%% CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29+
%% LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30+
%% ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31+
%% POSSIBILITY OF SUCH DAMAGE.
32+
%%
33+
%% %CopyrightEnd%
34+
%%
35+
236
%% The source of this file is part of leex distribution, as such it
337
%% has the same Copyright as the other files in the leex
4-
%% distribution. The Copyright is defined in the accompanying file
5-
%% COPYRIGHT. However, the resultant scanner generated by leex is the
38+
%% distribution. However, the resultant scanner generated by leex is the
639
%% property of the creator of the scanner and is not covered by that
740
%% Copyright.
841

@@ -46,7 +79,7 @@ process_string(Chars) ->
4679
process_escaped_quotes(Binary) ->
4780
binary:replace(Binary, <<"''">>, <<"'">>, [global]).
4881

49-
-file("leexinc.hrl", 14).
82+
-file("leexinc.hrl", 47).
5083

5184
format_error({illegal,S}) -> ["illegal characters ",io_lib:write_string(S)];
5285
format_error({user,S}) -> S.
@@ -403,7 +436,7 @@ tab_size() -> 8.
403436
%% return signal either an unrecognised character or end of current
404437
%% input.
405438

406-
-file("rabbit_jms_selector_lexer.erl", 371).
439+
-file("rabbit_jms_selector_lexer.erl", 404).
407440
yystate() -> 66.
408441

409442
yystate(69, [101|Ics], Line, Col, Tlen, _, _) ->
@@ -1813,4 +1846,4 @@ yyaction_29(TokenChars, TokenLine) ->
18131846
-file("rabbit_jms_selector_lexer.xrl", 66).
18141847
yyaction_30(TokenChars) ->
18151848
{ error, { illegal_character, TokenChars } } .
1816-
-file("leexinc.hrl", 344).
1849+
-file("leexinc.hrl", 377).

deps/rabbit/src/rabbit_jms_selector_parser.erl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ process_escape_char({string, Line, Value}) ->
2626
%%
2727
%% %CopyrightBegin%
2828
%%
29-
%% Copyright Ericsson AB 1996-2024. All Rights Reserved.
29+
%% SPDX-License-Identifier: Apache-2.0
30+
%%
31+
%% Copyright Ericsson AB 1996-2025. All Rights Reserved.
3032
%%
3133
%% Licensed under the Apache License, Version 2.0 (the "License");
3234
%% you may not use this file except in compliance with the License.
@@ -210,7 +212,7 @@ yecctoken2string1(Other) ->
210212

211213

212214

213-
-file("rabbit_jms_selector_parser.erl", 213).
215+
-file("rabbit_jms_selector_parser.erl", 215).
214216

215217
-dialyzer({nowarn_function, yeccpars2/7}).
216218
-compile({nowarn_unused_function, yeccpars2/7}).

0 commit comments

Comments
 (0)