Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license dump option #3100

Merged
merged 52 commits into from
Nov 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
07b0269
Initial commit
tdruez Dec 4, 2020
27c255c
Add the generated static website
tdruez Dec 4, 2020
b39763d
Create CNAME
pombredanne Dec 4, 2020
3bf65b9
Upgrade ScanCode-toolkit to latest 21.2.9 version
tdruez Feb 10, 2021
e97dc5d
Do not display "LicenseRef-" SPDX key as links
tdruez Feb 10, 2021
76c145d
Create CNAME
tdruez Feb 10, 2021
07316b6
Inject the search value in the browser href
tdruez Feb 10, 2021
3e56341
Merge branch 'main' of https://github.com/nexB/scancode-licensedb int…
tdruez Feb 10, 2021
4e8389b
Do not remove the CNAME file on Make clean
tdruez Feb 10, 2021
9164413
Upgrade ScanCode-toolkit to latest version
tdruez Apr 14, 2021
cf386c8
Add "publish" command in Makefile
tdruez Apr 14, 2021
efdb626
Expose SPDX license info in index.json #7
JonoYang Jun 2, 2021
c6a64d1
Merge pull request #8 from nexB/7-expose-spdx-information
tdruez Jun 3, 2021
f98b976
Fix header layout for smaller display sizes
tdruez Jun 3, 2021
8c69070
Merge branch
tdruez Jun 3, 2021
d2f3920
Upgrade ScanCode-toolkit to latest version
tdruez Jun 3, 2021
16dd721
Upgrade ScanCode-toolkit to latest version
tdruez Jun 3, 2021
13e9166
Enhance the details view UI and display URLs as link #5
tdruez Jun 3, 2021
2a4e4cb
Do not display deprecated licenses in main listing by default #2
tdruez Jun 3, 2021
40c5a8d
Expose is_deprecated in index.json #9
JonoYang Jun 7, 2021
d7fa06b
Merge pull request #10 from nexB/9-expose-is_deprecated
tdruez Jun 8, 2021
3069232
Upgrade ScanCode-toolkit to latest version
tdruez Jun 8, 2021
5b0f829
Upgrade ScanCode-toolkit to latest version
tdruez Jun 9, 2021
1d81315
Upgrade ScanCode-toolkit to latest version
tdruez Aug 25, 2021
838f364
Upgrade ScanCode-toolkit to latest version
tdruez Oct 18, 2021
8d234ca
Rename .yml files to .RULE.new
AyanSinhaMahapatra Aug 29, 2022
0156b3a
Rename the .RULE files to .RULE.new
AyanSinhaMahapatra Aug 29, 2022
e755274
Merge branch '3049-too-many-files-rename' into 3049-too-many-files
AyanSinhaMahapatra Aug 29, 2022
e71edc1
Rename .RULE.new files back to .RULE #3049
AyanSinhaMahapatra Aug 29, 2022
bd3545c
Use modified functions and classes from frontmatter
AyanSinhaMahapatra Sep 5, 2022
6e38358
Modify RULE loading/writing to use frontmatter
AyanSinhaMahapatra Sep 5, 2022
89d62ae
Modify test RULE files to use frontmatter
AyanSinhaMahapatra Sep 5, 2022
01e50d6
Add python-frontmatter v1.0.0 to requirements
AyanSinhaMahapatra Sep 5, 2022
b66efb1
Assign correct LICENSE file name for frontmatter ABOUT file
AyanSinhaMahapatra Sep 5, 2022
d29ed2c
Upgrade scancode-toolkit to version 31.1.1
AyanSinhaMahapatra Sep 5, 2022
fa51349
Rename .LICENSE files to .LICENSE.new files
AyanSinhaMahapatra Sep 7, 2022
35f93a7
Rename .yml files to .LICENSE.new files
AyanSinhaMahapatra Sep 7, 2022
025b9ff
Merge branch 'add-license-dump-option-rename-data' into add-license-d…
AyanSinhaMahapatra Sep 7, 2022
172eb4e
Rename LICENSE.new files back to .LICENSE files
AyanSinhaMahapatra Sep 7, 2022
2622763
Modify LICENSE loading/writing to use frontmatter
AyanSinhaMahapatra Sep 9, 2022
c1d8f9f
Modify tests and test files to support YAML frontmatter
AyanSinhaMahapatra Sep 9, 2022
4139a88
Merge remote-tracking branch 'licensedb/main' into add-license-dump-o…
AyanSinhaMahapatra Sep 10, 2022
2861d74
Move licensedb files into licensedcode
AyanSinhaMahapatra Sep 10, 2022
6f0e151
Add command line option to dump license data
AyanSinhaMahapatra Sep 10, 2022
80d5491
Fix about file and help text errors
AyanSinhaMahapatra Sep 12, 2022
12355c5
dump sorted license data by key
AyanSinhaMahapatra Sep 28, 2022
5366e68
Add license dump tests
AyanSinhaMahapatra Sep 28, 2022
a7cc2d5
Merge branch 'develop' into add-license-dump-option
AyanSinhaMahapatra Oct 13, 2022
8a8fba0
Fix binary gibberish bug on extra newlines
AyanSinhaMahapatra Oct 13, 2022
8b2bbfe
Reinstate whitespace in license text
AyanSinhaMahapatra Nov 1, 2022
bc6d6a5
Merge branch 'develop' into add-license-dump-option
AyanSinhaMahapatra Nov 1, 2022
c857fa4
Update changelog
AyanSinhaMahapatra Nov 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/licensedcode/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ def load(self, license_file, check_consistency=True):

self.text = ''
else:
self.text = post.content
self.text = post.content.lstrip()
AyanSinhaMahapatra marked this conversation as resolved.
Show resolved Hide resolved

for k, v in data.items():
if k == 'minimum_coverage':
Expand Down Expand Up @@ -1927,7 +1927,7 @@ def load(self, rule_file, with_checks=True):
f'{self}: file://{rule_file}'
)

self.text = post.content
self.text = post.content.lstrip()

except Exception as e:
print('#############################')
Expand Down
24 changes: 12 additions & 12 deletions tests/licensedcode/data/license_db/index.json-expected.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ text_urls:
- https://git.savannah.gnu.org/cgit/bash.git/plain/COPYING?h=bash-3.0-rc1&id=dd9e6dfa23d0dae4888f11fb8c6a27bc36d1b283
---

b'\nThe Free Software Foundation has exempted Bash from the requirement of\nParagraph 2c of the General Public License. This is to say, there is\nno requirement for Bash to print a notice when it is started\ninteractively in the usual way. We made this exception because users\nand standards expect shells not to print such messages. This\nexception applies to any program that serves as a shell and that is\nbased primarily on Bash as opposed to other GNU software.'
b'The Free Software Foundation has exempted Bash from the requirement of\nParagraph 2c of the General Public License. This is to say, there is\nno requirement for Bash to print a notice when it is started\ninteractively in the usual way. We made this exception because users\nand standards expect shells not to print such messages. This\nexception applies to any program that serves as a shell and that is\nbased primarily on Bash as opposed to other GNU software.'
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,7 @@
<dt style="">text</dt>
<dd>


The Free Software Foundation has exempted Bash from the requirement of
The Free Software Foundation has exempted Bash from the requirement of
Paragraph 2c of the General Public License. This is to say, there is
no requirement for Bash to print a notice when it is started
interactively in the usual way. We made this exception because users
Expand All @@ -145,8 +144,7 @@

</dl>
<div class="text-bold">license_text</div>
<pre id="license-text" class="code mt-1" style="white-space: pre-wrap;"><code>
The Free Software Foundation has exempted Bash from the requirement of
<pre id="license-text" class="code mt-1" style="white-space: pre-wrap;"><code>The Free Software Foundation has exempted Bash from the requirement of
Paragraph 2c of the General Public License. This is to say, there is
no requirement for Bash to print a notice when it is started
interactively in the usual way. We made this exception because users
Expand All @@ -164,7 +162,7 @@
<a href="https://www.aboutcode.org/" target="_blank">AboutCode</a>
</p>
<p>Designed and built by <a href="https://www.nexb.com/" target="_blank">nexB</a>. Licensed under the <a href="cc-by-4.0.html">Creative Commons Attribution License 4.0 (CC-BY-4.0)</a>.</p>
<p>Generated with <a href="https://github.com/nexB/scancode-toolkit" target="_blank">ScanCode toolkit</a> 31.1.0 on Sep 28, 2022.</p>
<p>Generated with <a href="https://github.com/nexB/scancode-toolkit" target="_blank">ScanCode toolkit</a> 31.2.1 on Oct 14, 2022.</p>
</footer>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"text_urls": [
"https://git.savannah.gnu.org/cgit/bash.git/plain/COPYING?h=bash-3.0-rc1&id=dd9e6dfa23d0dae4888f11fb8c6a27bc36d1b283"
],
"text": "\nThe Free Software Foundation has exempted Bash from the requirement of\nParagraph 2c of the General Public License. This is to say, there is\nno requirement for Bash to print a notice when it is started\ninteractively in the usual way. We made this exception because users\nand standards expect shells not to print such messages. This\nexception applies to any program that serves as a shell and that is\nbased primarily on Bash as opposed to other GNU software."
"text": "The Free Software Foundation has exempted Bash from the requirement of\nParagraph 2c of the General Public License. This is to say, there is\nno requirement for Bash to print a notice when it is started\ninteractively in the usual way. We made this exception because users\nand standards expect shells not to print such messages. This\nexception applies to any program that serves as a shell and that is\nbased primarily on Bash as opposed to other GNU software."
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ spdx_license_key: LicenseRef-scancode-bash-exception-gpl-2.0
text_urls:
- https://git.savannah.gnu.org/cgit/bash.git/plain/COPYING?h=bash-3.0-rc1&id=dd9e6dfa23d0dae4888f11fb8c6a27bc36d1b283
text: |

The Free Software Foundation has exempted Bash from the requirement of
Paragraph 2c of the General Public License. This is to say, there is
no requirement for Bash to print a notice when it is started
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ homepage_url: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-fir
spdx_license_key: LicenseRef-scancode-binary-linux-firmware
---

b'\nRedistribution. Redistribution and use in binary form, without\nmodification, are permitted provided that the following conditions are\nmet:\n\n* Redistributions must reproduce the above copyright notice and the\nfollowing disclaimer in the documentation and/or other materials\nprovided with the distribution.\n\n* Neither the name of the Copyright Holder nor the names of its\nsuppliers may be used to endorse or promote products derived from this\nsoftware without specific prior written permission.\n\n* No reverse engineering, decompilation, or disassembly of this software\nis permitted.\n\nDISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\nCONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\nBUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\nCOPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\nUSE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\nTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE'
b'Redistribution. Redistribution and use in binary form, without\nmodification, are permitted provided that the following conditions are\nmet:\n\n* Redistributions must reproduce the above copyright notice and the\nfollowing disclaimer in the documentation and/or other materials\nprovided with the distribution.\n\n* Neither the name of the Copyright Holder nor the names of its\nsuppliers may be used to endorse or promote products derived from this\nsoftware without specific prior written permission.\n\n* No reverse engineering, decompilation, or disassembly of this software\nis permitted.\n\nDISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\nCONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\nBUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\nCOPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\nUSE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\nTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE'
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@
<dt style="">text</dt>
<dd>


Redistribution. Redistribution and use in binary form, without
Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:

Expand Down Expand Up @@ -148,8 +147,7 @@

</dl>
<div class="text-bold">license_text</div>
<pre id="license-text" class="code mt-1" style="white-space: pre-wrap;"><code>
Redistribution. Redistribution and use in binary form, without
<pre id="license-text" class="code mt-1" style="white-space: pre-wrap;"><code>Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:

Expand Down Expand Up @@ -186,7 +184,7 @@
<a href="https://www.aboutcode.org/" target="_blank">AboutCode</a>
</p>
<p>Designed and built by <a href="https://www.nexb.com/" target="_blank">nexB</a>. Licensed under the <a href="cc-by-4.0.html">Creative Commons Attribution License 4.0 (CC-BY-4.0)</a>.</p>
<p>Generated with <a href="https://github.com/nexB/scancode-toolkit" target="_blank">ScanCode toolkit</a> 31.1.0 on Sep 28, 2022.</p>
<p>Generated with <a href="https://github.com/nexB/scancode-toolkit" target="_blank">ScanCode toolkit</a> 31.2.1 on Oct 14, 2022.</p>
</footer>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"owner": "Unspecified",
"homepage_url": "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/",
"spdx_license_key": "LicenseRef-scancode-binary-linux-firmware",
"text": "\nRedistribution. Redistribution and use in binary form, without\nmodification, are permitted provided that the following conditions are\nmet:\n\n* Redistributions must reproduce the above copyright notice and the\nfollowing disclaimer in the documentation and/or other materials\nprovided with the distribution.\n\n* Neither the name of the Copyright Holder nor the names of its\nsuppliers may be used to endorse or promote products derived from this\nsoftware without specific prior written permission.\n\n* No reverse engineering, decompilation, or disassembly of this software\nis permitted.\n\nDISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\nCONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\nBUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\nCOPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\nUSE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\nTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE"
"text": "Redistribution. Redistribution and use in binary form, without\nmodification, are permitted provided that the following conditions are\nmet:\n\n* Redistributions must reproduce the above copyright notice and the\nfollowing disclaimer in the documentation and/or other materials\nprovided with the distribution.\n\n* Neither the name of the Copyright Holder nor the names of its\nsuppliers may be used to endorse or promote products derived from this\nsoftware without specific prior written permission.\n\n* No reverse engineering, decompilation, or disassembly of this software\nis permitted.\n\nDISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND\nCONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,\nBUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\nCOPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\nINCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\nNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF\nUSE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\nTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ owner: Unspecified
homepage_url: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/
spdx_license_key: LicenseRef-scancode-binary-linux-firmware
text: |

Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ standard_notice: |
Bison.
---

b'\nAs a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison.'
b'As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison.'
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,13 @@
<dt style="">text</dt>
<dd>


As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison.
As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison.

</dd>

</dl>
<div class="text-bold">license_text</div>
<pre id="license-text" class="code mt-1" style="white-space: pre-wrap;"><code>
As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison.</code></pre>
<pre id="license-text" class="code mt-1" style="white-space: pre-wrap;"><code>As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison.</code></pre>
</div>

<div class="container">
Expand All @@ -165,7 +163,7 @@
<a href="https://www.aboutcode.org/" target="_blank">AboutCode</a>
</p>
<p>Designed and built by <a href="https://www.nexb.com/" target="_blank">nexB</a>. Licensed under the <a href="cc-by-4.0.html">Creative Commons Attribution License 4.0 (CC-BY-4.0)</a>.</p>
<p>Generated with <a href="https://github.com/nexB/scancode-toolkit" target="_blank">ScanCode toolkit</a> 31.1.0 on Sep 28, 2022.</p>
<p>Generated with <a href="https://github.com/nexB/scancode-toolkit" target="_blank">ScanCode toolkit</a> 31.2.1 on Oct 14, 2022.</p>
</footer>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"spdx_license_key": "LicenseRef-scancode-bison-exception-2.0",
"faq_url": "http://www.gnu.org/software/bison/manual/bison.html#Conditions",
"standard_notice": "This library is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published by the Free\nSoftware Foundation; either version 2, or (at your option) any later\nversion.\nThis library is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\nmore details.\nYou should have received a copy of the GNU General Public License along\nwith this library; see the file COPYING. If not, write to the Free Software\nFoundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\nAs a special exception, when this file is copied by Bison into a Bison\noutput file, you may use that output file without restriction. This special\nexception was added by the Free Software Foundation in version 1.24 of\nBison.\n",
"text": "\nAs a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison."
"text": "As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison."
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ standard_notice: |
output file, you may use that output file without restriction. This special
exception was added by the Free Software Foundation in version 1.24 of
Bison.
text: |

As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. This special exception was added by the Free Software Foundation in version 1.24 of Bison.
text: As a special exception, when this file is copied by Bison into a Bison output file, you
may use that output file without restriction. This special exception was added by the Free
Software Foundation in version 1.24 of Bison.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ standard_notice: |
2.2 of Bison.
---

b"\nAs a special exception, you may create a larger work that contains part or all\nof the Bison parser skeleton and distribute that work under terms of your\nchoice, so long as that work isn't itself a parser generator using the skeleton\nor a modified version thereof as a parser skeleton. Alternatively, if you\nmodify or redistribute the parser skeleton itself, you may (at your option)\nremove this special exception, which will cause the skeleton and the resulting\nBison output files to be licensed under the GNU General Public License without\nthis special exception.\n\nThis special exception was added by the Free Software Foundation in version 2.2\nof Bison."
b"As a special exception, you may create a larger work that contains part or all\nof the Bison parser skeleton and distribute that work under terms of your\nchoice, so long as that work isn't itself a parser generator using the skeleton\nor a modified version thereof as a parser skeleton. Alternatively, if you\nmodify or redistribute the parser skeleton itself, you may (at your option)\nremove this special exception, which will cause the skeleton and the resulting\nBison output files to be licensed under the GNU General Public License without\nthis special exception.\n\nThis special exception was added by the Free Software Foundation in version 2.2\nof Bison."
Loading