LibreOffice Module l10ntools (master) 1
Macros | Functions | Variables
cfglex.l File Reference
#include <sal/config.h>
#include <tokens.h>
#include <stdlib.h>
#include <stdio.h>
#include <sal/main.h>
#include <cfglex.hxx>
Include dependency graph for cfglex.l:

Go to the source code of this file.

Macros

#define YYLMAX   64000
 
#define LEXDEBUG   1
 
#define OUTPUT   fprintf
 
#define YY_NO_UNISTD_H
 
#define YY_USER_ACTION   yycolumn += yyleng;
 

Functions

int yylex (void)
 
int yywrap (void)
 
void yyerror (const char *s)
 
 SAL_IMPLEMENT_MAIN_WITH_ARGS (argc, argv)
 

Variables

static int yycolumn = 1
 
static int bText =0
 

Macro Definition Documentation

◆ LEXDEBUG

#define LEXDEBUG   1

Definition at line 33 of file cfglex.l.

◆ OUTPUT

#define OUTPUT   fprintf

Definition at line 35 of file cfglex.l.

◆ YY_NO_UNISTD_H

#define YY_NO_UNISTD_H

Definition at line 49 of file cfglex.l.

◆ YY_USER_ACTION

#define YY_USER_ACTION   yycolumn += yyleng;

Definition at line 52 of file cfglex.l.

◆ YYLMAX

#define YYLMAX   64000

Definition at line 30 of file cfglex.l.

Function Documentation

◆ SAL_IMPLEMENT_MAIN_WITH_ARGS()

SAL_IMPLEMENT_MAIN_WITH_ARGS ( argc  ,
argv   
)

Definition at line 159 of file cfglex.l.

References init(), and yylex().

◆ yyerror()

void yyerror ( const char *  s)

Definition at line 150 of file cfglex.l.

References yycolumn.

Referenced by XRMResParser::Error(), and CfgParser::ExecuteAnalyzedToken().

◆ yylex()

int yylex ( void  )

Definition at line 65 of file cfglex.l.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ yywrap()

int yywrap ( void  )

Definition at line 143 of file cfglex.l.

Variable Documentation

◆ bText

int bText =0
static

Definition at line 54 of file cfglex.l.

◆ yycolumn

int yycolumn = 1
static

Definition at line 51 of file cfglex.l.

Referenced by yyerror().