All files in lxdialog/ are licensed under GPL-2.0+, and the rest are under GPL-2.0. I added GPL-2.0 tags to test scripts in tests/. Documentation/process/license-rules.rst does not suggest anything about the flex/bison files. Because flex does not accept the C++ comment style at the very top of a file, I used the C style for zconf.l, and so for zconf.y for consistency.
Showing the changes to scripts (42 of 42 files). Show all
Unified · Split
| @@ -1,6 +1,6 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <ctype.h> |
| @@ -1,6 +1,6 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <sys/stat.h> |
| @@ -1,6 +1,6 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <stdio.h> |
| @@ -1,6 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #ifndef EXPR_H |
| @@ -1,9 +1,6 @@ | ||
| 1 | −/* Hey EMACS -*- linux-c -*- */ | |
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 2 | 2 | /* |
| 3 | − * | |
| 4 | 3 | * Copyright (C) 2002-2003 Romain Lievin <roms@tilp.info> |
| 5 | − * Released under the terms of the GNU GPL v2.0. | |
| 6 | − * | |
| 7 | 4 | */ |
| 8 | 5 | |
| 9 | 6 | #ifdef HAVE_CONFIG_H |
| @@ -1,6 +1,6 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | static const char *xpm_load[] = { |
| @@ -1,6 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #ifndef LKC_H |
| @@ -1,3 +1,4 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0+ | |
| 1 | 2 | /* |
| 2 | 3 | * checklist.c -- implements the checklist box |
| 3 | 4 | * |
| @@ -5,20 +6,6 @@ · 1 unmodified line | ||
| 5 | 6 | * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension |
| 6 | 7 | * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two |
| 7 | 8 | * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com) |
| 8 | − * | |
| 9 | − * This program is free software; you can redistribute it and/or | |
| 10 | − * modify it under the terms of the GNU General Public License | |
| 11 | − * as published by the Free Software Foundation; either version 2 | |
| 12 | − * of the License, or (at your option) any later version. | |
| 13 | − * | |
| 14 | − * This program is distributed in the hope that it will be useful, | |
| 15 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | − * GNU General Public License for more details. | |
| 18 | − * | |
| 19 | − * You should have received a copy of the GNU General Public License | |
| 20 | − * along with this program; if not, write to the Free Software | |
| 21 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 22 | 9 | */ |
| 23 | 10 | |
| 24 | 11 | #include "dialog.h" |
| @@ -1,21 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0+ */ | |
| 1 | 2 | /* |
| 2 | 3 | * dialog.h -- common declarations for all dialog modules |
| 3 | 4 | * |
| 4 | 5 | * AUTHOR: Savio Lam (lam836@cs.cuhk.hk) |
| 5 | − * | |
| 6 | − * This program is free software; you can redistribute it and/or | |
| 7 | − * modify it under the terms of the GNU General Public License | |
| 8 | − * as published by the Free Software Foundation; either version 2 | |
| 9 | − * of the License, or (at your option) any later version. | |
| 10 | − * | |
| 11 | − * This program is distributed in the hope that it will be useful, | |
| 12 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | − * GNU General Public License for more details. | |
| 15 | − * | |
| 16 | − * You should have received a copy of the GNU General Public License | |
| 17 | − * along with this program; if not, write to the Free Software | |
| 18 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 19 | 6 | */ |
| 20 | 7 | |
| 21 | 8 | #include <sys/types.h> |
| @@ -1,22 +1,9 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0+ | |
| 1 | 2 | /* |
| 2 | 3 | * inputbox.c -- implements the input box |
| 3 | 4 | * |
| 4 | 5 | * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk) |
| 5 | 6 | * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com) |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; either version 2 | |
| 10 | − * of the License, or (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #include "dialog.h" |
| @@ -1,22 +1,9 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0+ | |
| 1 | 2 | /* |
| 2 | 3 | * menubox.c -- implements the menu box |
| 3 | 4 | * |
| 4 | 5 | * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk) |
| 5 | 6 | * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcapw@cfw.com) |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; either version 2 | |
| 10 | − * of the License, or (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | /* |
| @@ -1,22 +1,9 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0+ | |
| 1 | 2 | /* |
| 2 | 3 | * textbox.c -- implements the text box |
| 3 | 4 | * |
| 4 | 5 | * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk) |
| 5 | 6 | * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com) |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; either version 2 | |
| 10 | − * of the License, or (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #include "dialog.h" |
| @@ -1,22 +1,9 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0+ | |
| 1 | 2 | /* |
| 2 | 3 | * util.c |
| 3 | 4 | * |
| 4 | 5 | * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk) |
| 5 | 6 | * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com) |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; either version 2 | |
| 10 | − * of the License, or (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #include <stdarg.h> |
| @@ -1,22 +1,9 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0+ | |
| 1 | 2 | /* |
| 2 | 3 | * yesno.c -- implements the yes/no box |
| 3 | 4 | * |
| 4 | 5 | * ORIGINAL AUTHOR: Savio Lam (lam836@cs.cuhk.hk) |
| 5 | 6 | * MODIFIED FOR LINUX KERNEL CONFIG BY: William Roadcap (roadcap@cfw.com) |
| 6 | − * | |
| 7 | − * This program is free software; you can redistribute it and/or | |
| 8 | − * modify it under the terms of the GNU General Public License | |
| 9 | − * as published by the Free Software Foundation; either version 2 | |
| 10 | − * of the License, or (at your option) any later version. | |
| 11 | − * | |
| 12 | − * This program is distributed in the hope that it will be useful, | |
| 13 | − * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | − * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | − * GNU General Public License for more details. | |
| 16 | − * | |
| 17 | − * You should have received a copy of the GNU General Public License | |
| 18 | − * along with this program; if not, write to the Free Software | |
| 19 | − * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
| 20 | 7 | */ |
| 21 | 8 | |
| 22 | 9 | #include "dialog.h" |
| @@ -1,6 +1,6 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | * |
| 5 | 5 | * Introduced single menu mode (show all sub-menus in one large tree). |
| 6 | 6 | * 2002-11-06 Petr Baudis <pasky@ucw.cz> |
| @@ -1,6 +1,6 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <ctype.h> |
| @@ -1,4 +1,6 @@ | ||
| 1 | 1 | #!/bin/sh |
| 2 | +# SPDX-License-Identifier: GPL-2.0 | |
| 3 | +# | |
| 2 | 4 | # merge_config.sh - Takes a list of config fragment values, and merges |
| 3 | 5 | # them one by one. Provides warnings on overridden values, and specified |
| 4 | 6 | # values that did not make it to the resulting .config file (due to missed |
| @@ -10,15 +12,6 @@ · 5 unmodified lines | ||
| 10 | 12 | # |
| 11 | 13 | # Copyright (c) 2009-2010 Wind River Systems, Inc. |
| 12 | 14 | # Copyright 2011 Linaro |
| 13 | −# | |
| 14 | −# This program is free software; you can redistribute it and/or modify | |
| 15 | −# it under the terms of the GNU General Public License version 2 as | |
| 16 | −# published by the Free Software Foundation. | |
| 17 | −# | |
| 18 | −# This program is distributed in the hope that it will be useful, | |
| 19 | −# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 20 | −# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| 21 | −# See the GNU General Public License for more details. | |
| 22 | 15 | |
| 23 | 16 | clean_up() { |
| 24 | 17 | rm -f $TMP_FILE |
| @@ -1,9 +1,8 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | − * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com? | |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 3 | + * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com> | |
| 4 | 4 | * |
| 5 | 5 | * Derived from menuconfig. |
| 6 | − * | |
| 7 | 6 | */ |
| 8 | 7 | #ifndef _GNU_SOURCE |
| 9 | 8 | #define _GNU_SOURCE |
| @@ -1,9 +1,8 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | − * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com? | |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 3 | + * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com> | |
| 4 | 4 | * |
| 5 | 5 | * Derived from menuconfig. |
| 6 | − * | |
| 7 | 6 | */ |
| 8 | 7 | #include "nconf.h" |
| 9 | 8 | #include "lkc.h" |
| @@ -1,9 +1,8 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | 2 | /* |
| 2 | − * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com? | |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 3 | + * Copyright (C) 2008 Nir Tzachar <nir.tzachar@gmail.com> | |
| 4 | 4 | * |
| 5 | 5 | * Derived from menuconfig. |
| 6 | − * | |
| 7 | 6 | */ |
| 8 | 7 | |
| 9 | 8 | #include <ctype.h> |
| @@ -1,7 +1,7 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | 4 | * Copyright (C) 2015 Boris Barbulovski <bbarbulovski@gmail.com> |
| 4 | − * Released under the terms of the GNU GPL v2.0. | |
| 5 | 5 | */ |
| 6 | 6 | |
| 7 | 7 | #include <qglobal.h> |
| @@ -1,6 +1,6 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <QTextBrowser> |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | #!/usr/bin/env perl |
| 2 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | 3 | # |
| 3 | 4 | # Copyright 2005-2009 - Steven Rostedt |
| 4 | −# Licensed under the terms of the GNU GPL License version 2 | |
| 5 | 5 | # |
| 6 | 6 | # It's simple enough to figure out how this works. |
| 7 | 7 | # If not, then you can ask me at stripconfig@goodmis.org |
| @@ -1,6 +1,6 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 3 | − * Released under the terms of the GNU GPL v2.0. | |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | 6 | #include <ctype.h> |
| @@ -1,3 +1,5 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | + | |
| 1 | 3 | config A |
| 2 | 4 | bool "A" |
| 3 | 5 | default y |
| @@ -1,3 +1,4 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | """ |
| 2 | 3 | Create submenu for symbols that depend on the preceding one. |
| 3 | 4 | |
| @@ -1,3 +1,5 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | + | |
| 1 | 3 | config MODULES |
| 2 | 4 | bool "Enable loadable module support" |
| 3 | 5 | option modules |
| @@ -1,3 +1,4 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | """ |
| 2 | 3 | Basic choice tests. |
| 3 | 4 | |
| @@ -1,3 +1,5 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | + | |
| 1 | 3 | config MODULES |
| 2 | 4 | def_bool y |
| 3 | 5 | option modules |
| @@ -1,3 +1,4 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | """ |
| 2 | 3 | Hide tristate choice values with mod dependency in y choice. |
| 3 | 4 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | """ |
| 2 | 3 | Detect recursive inclusion error. |
| 3 | 4 | |
| @@ -1,3 +1,5 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | + | |
| 1 | 3 | config MODULES |
| 2 | 4 | def_bool y |
| 3 | 5 | option modules |
| @@ -1,3 +1,4 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | """ |
| 2 | 3 | Do not affect user-assigned choice value by another choice. |
| 3 | 4 | |
| @@ -1,3 +1,5 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | + | |
| 1 | 3 | config A |
| 2 | 4 | bool "A" |
| 3 | 5 | help |
| @@ -1,3 +1,4 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | """ |
| 2 | 3 | Ask new choice values when they become visible. |
| 3 | 4 | |
| @@ -1,3 +1,5 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | + | |
| 1 | 3 | config A |
| 2 | 4 | bool "A" |
| 3 | 5 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | """ |
| 2 | 3 | Do not write choice values to .config if the dependency is unmet. |
| 3 | 4 | |
| @@ -1,3 +1,5 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 2 | + | |
| 1 | 3 | choice |
| 2 | 4 | prompt "choice" |
| 3 | 5 | |
| @@ -1,3 +1,4 @@ | ||
| 1 | +# SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | """ |
| 2 | 3 | Set random values recursively in nested choices. |
| 3 | 4 | |
| @@ -1,8 +1,7 @@ | ||
| 1 | +// SPDX-License-Identifier: GPL-2.0 | |
| 1 | 2 | /* |
| 2 | 3 | * Copyright (C) 2002-2005 Roman Zippel <zippel@linux-m68k.org> |
| 3 | 4 | * Copyright (C) 2002-2005 Sam Ravnborg <sam@ravnborg.org> |
| 4 | − * | |
| 5 | − * Released under the terms of the GNU GPL v2.0. | |
| 6 | 5 | */ |
| 7 | 6 | |
| 8 | 7 | #include <stdarg.h> |
| @@ -1,11 +1,11 @@ | ||
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ | |
| 2 | +/* | |
| 3 | + * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> | |
| 4 | + */ | |
| 1 | 5 | %option nostdinit noyywrap never-interactive full ecs |
| 2 | 6 | %option 8bit nodefault yylineno |
| 3 | 7 | %x ASSIGN_VAL HELP STRING |
| 4 | 8 | %{ |
| 5 | −/* | |
| 6 | − * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> | |
| 7 | − * Released under the terms of the GNU GPL v2.0. | |
| 8 | − */ | |
| 9 | 9 | |
| 10 | 10 | #include <assert.h> |
| 11 | 11 | #include <limits.h> |
| @@ -1,8 +1,8 @@ | ||
| 1 | −%{ | |
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ | |
| 2 | 2 | /* |
| 3 | 3 | * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> |
| 4 | − * Released under the terms of the GNU GPL v2.0. | |
| 5 | 4 | */ |
| 5 | +%{ | |
| 6 | 6 | |
| 7 | 7 | #include <ctype.h> |
| 8 | 8 | #include <stdarg.h> |