Kryptostack
All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
Functions | Variables
parser.l File Reference

The parser pass in a single flex file. More...

#include <stdio.h>
+ Include dependency graph for parser.l:

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".
 

Detailed Description

The parser pass in a single flex file.

Function Documentation

◆ unbackslash()

static void unbackslash ( char *  p_str)
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.