|
|
| version 1.2, 2025/03/09 15:20:18 | version 1.4, 2025/04/02 03:02:42 |
|---|---|
| Line 1 | Line 1 |
| /* | /* |
| * * | * $Id$ |
| * * * | |
| * * * | |
| * *************** | |
| * * * * * | |
| * * MUMPS * | |
| * * * * * | |
| * *************** | |
| * * * | |
| * * * | |
| * * | |
| * | |
| * mtok.c | |
| * Token lookup | * Token lookup |
| * | * |
| * | * |
| * Author: Serena Willis <snw@coherent-logic.com> | * Author: Serena Willis <snw@coherent-logic.com> |
| * Copyright (C) 1998 MUG Deutschland | * Copyright (C) 1998 MUG Deutschland |
| * Copyright (C) 2020 Coherent Logic Development LLC | * Copyright (C) 2020, 2025 Coherent Logic Development LLC |
| * | * |
| * | * |
| * This file is part of FreeM. | * This file is part of FreeM. |
| Line 35 | Line 23 |
| * You should have received a copy of the GNU Affero Public License | * You should have received a copy of the GNU Affero Public License |
| * along with FreeM. If not, see <https://www.gnu.org/licenses/>. | * along with FreeM. If not, see <https://www.gnu.org/licenses/>. |
| * | * |
| * $Log$ | |
| * Revision 1.4 2025/04/02 03:02:42 snw | |
| * Stop requiring users to pass -e to fmadm when -u or -g are passed | |
| * | |
| * Revision 1.3 2025/03/09 19:50:47 snw | |
| * Second phase of REUSE compliance and header reformat | |
| * | |
| * | |
| * SPDX-FileCopyrightText: (C) 2025 Coherent Logic Development LLC | |
| * SPDX-License-Identifier: AGPL-3.0-or-later | |
| **/ | **/ |
| #include <stdlib.h> | #include <stdlib.h> |
| Line 85 tok_lut toktab[] = { | Line 83 tok_lut toktab[] = { |
| {'v', "VIEW"}, | {'v', "VIEW"}, |
| {'w', "WRITE"}, | {'w', "WRITE"}, |
| {'x', "XECUTE"}, | {'x', "XECUTE"}, |
| {'A', "ZALLOCATE"}, | |
| {'B', "ZBREAK"}, | {'B', "ZBREAK"}, |
| {'D', "ZDEALLOCATE"}, | |
| {'G', "ZGO"}, | {'G', "ZGO"}, |
| {'H', "ZHALT"}, | {'H', "ZHALT"}, |
| {'I', "ZINSERT"}, | {'I', "ZINSERT"}, |