Skip to content

Commit daa1f43

Browse files
Merge pull request #9115 from haidubogdan/t_license_header_for_env_antlr_generated_files
Include apache license on env file module for antlr generated files
2 parents b3c35f2 + 82feda0 commit daa1f43

File tree

3 files changed

+65
-3
lines changed

3 files changed

+65
-3
lines changed

ide/languages.env/src/org/netbeans/modules/languages/env/grammar/antlr4/coloring/EnvAntlrColoringLexer.g4

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,27 @@
1818
*/
1919
lexer grammar EnvAntlrColoringLexer;
2020

21-
@header{package org.netbeans.modules.languages.env.grammar.antlr4.coloring;}
21+
@header{
22+
/*
23+
* Licensed to the Apache Software Foundation (ASF) under one
24+
* or more contributor license agreements. See the NOTICE file
25+
* distributed with this work for additional information
26+
* regarding copyright ownership. The ASF licenses this file
27+
* to you under the Apache License, Version 2.0 (the
28+
* "License"); you may not use this file except in compliance
29+
* with the License. You may obtain a copy of the License at
30+
*
31+
* http://www.apache.org/licenses/LICENSE-2.0
32+
*
33+
* Unless required by applicable law or agreed to in writing,
34+
* software distributed under the License is distributed on an
35+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
36+
* KIND, either express or implied. See the License for the
37+
* specific language governing permissions and limitations
38+
* under the License.
39+
*/
40+
41+
package org.netbeans.modules.languages.env.grammar.antlr4.coloring;}
2242

2343
tokens {
2444
NL,

ide/languages.env/src/org/netbeans/modules/languages/env/grammar/antlr4/parser/EnvAntlrLexer.g4

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,28 @@
1818
*/
1919
lexer grammar EnvAntlrLexer;
2020

21-
@header{package org.netbeans.modules.languages.env.grammar.antlr4.parser;}
21+
@header{
22+
/*
23+
* Licensed to the Apache Software Foundation (ASF) under one
24+
* or more contributor license agreements. See the NOTICE file
25+
* distributed with this work for additional information
26+
* regarding copyright ownership. The ASF licenses this file
27+
* to you under the Apache License, Version 2.0 (the
28+
* "License"); you may not use this file except in compliance
29+
* with the License. You may obtain a copy of the License at
30+
*
31+
* http://www.apache.org/licenses/LICENSE-2.0
32+
*
33+
* Unless required by applicable law or agreed to in writing,
34+
* software distributed under the License is distributed on an
35+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
36+
* KIND, either express or implied. See the License for the
37+
* specific language governing permissions and limitations
38+
* under the License.
39+
*/
40+
41+
package org.netbeans.modules.languages.env.grammar.antlr4.parser;
42+
}
2243

2344
tokens {
2445
NL,

ide/languages.env/src/org/netbeans/modules/languages/env/grammar/antlr4/parser/EnvAntlrParser.g4

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,28 @@
1818
*/
1919
parser grammar EnvAntlrParser;
2020

21-
@header{package org.netbeans.modules.languages.env.grammar.antlr4.parser;}
21+
@header{
22+
/*
23+
* Licensed to the Apache Software Foundation (ASF) under one
24+
* or more contributor license agreements. See the NOTICE file
25+
* distributed with this work for additional information
26+
* regarding copyright ownership. The ASF licenses this file
27+
* to you under the Apache License, Version 2.0 (the
28+
* "License"); you may not use this file except in compliance
29+
* with the License. You may obtain a copy of the License at
30+
*
31+
* http://www.apache.org/licenses/LICENSE-2.0
32+
*
33+
* Unless required by applicable law or agreed to in writing,
34+
* software distributed under the License is distributed on an
35+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
36+
* KIND, either express or implied. See the License for the
37+
* specific language governing permissions and limitations
38+
* under the License.
39+
*/
40+
41+
package org.netbeans.modules.languages.env.grammar.antlr4.parser;
42+
}
2243

2344
options {
2445
superClass = ParserAdaptor;

0 commit comments

Comments
 (0)