The parser pass in a single flex file. More...
#include <stdio.h>
Functions | |
static void | unbackslash (char *p_str) |
String Cleaning. More... | |
int | yylex (void) |
The generated scanner. | |
static void | commandline (int argc, char **argv) |
Command line parsing. | |
int | main (int argc, char *argv[]) |
main(). | |
int | yywrap (void) |
yywrap(). | |
Variables | |
static int | g_verbose = 0 |
Global option "verbose". | |
The parser pass in a single flex file.
KryptoStack, a minimalist stack-based programming language. Copyright (C) 2025 Fred Hagen This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
|
static |
String Cleaning.
Removes all single backslashes from the string p_str, preserving double backslashes (\) and newline sequences (
). These are the only escape sequences recognized in the KSN format.