<commit_before>/*
**==============================================================================
**
** Includes
**
**==============================================================================
*/


%{
	
/*
 * sqlParser.y
 *
 * (C) Copyright IBM Corp. 2005
 *
 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
 * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
 * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
 *
 * You can obtain a current copy of the Eclipse Public License from
 * http://www.opensource.org/licenses/eclipse-1.0.php
 *
 * Author:       <NAME> <<EMAIL>>
 *
 * Description:
 * 
 *
 * 
 *
*/

#include <stdio.h>
#include <errno.h>
#include "queryOperation.h"
#include "sqlStatement.h"
#include "utilft.h"

#define YYPARSE_PARAM parm 
#define YYLEX_PARAM parm
#define YYERROR_VERBOSE 1
 
extern int yylex();
extern void sfcQueryErr(char*,char*,char*);
extern void yyError(char*);
extern void yyerror(char*);
extern UtilList *newList();

//extern void setMeta(char *meta);//durch Memberfunction ersetzen

#define sfcQueryerror sfcQueryError
#define yyErr sfcQueryErr

#define RS ((SqlStatement*)parm)->rs 
#define STM ((SqlStatement*)parm)

static UtilList* columnList = NULL;
static UtilList* allColumnsList = NULL;
static UtilList* allColumnsListIns = NULL;
static UtilList* obList = NULL;
int clempty = 1;
UtilList* aliasList = NULL;
UtilList* tableReferenceList = NULL;
UtilList* eList = NULL;
UtilList* whereList = NULL;
UtilList* assignmentList = NULL;
static char* semanticError(const char* s1, const char* s2, const char* s3);
static UtilList* cloneAL();<commit_msg>create sfcCommon - ID: 3177587<commit_after>/*
**==============================================================================
**
** Includes
**
**==============================================================================
*/


%{
	
/*
 * sqlParser.y
 *
 * (C) Copyright IBM Corp. 2005
 *
 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
 * ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
 * CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
 *
 * You can obtain a current copy of the Eclipse Public License from
 * http://www.opensource.org/licenses/eclipse-1.0.php
 *
 * Author:       <NAME> <<EMAIL>>
 *
 * Description:
 * 
 *
 * 
 *
*/

#include <stdio.h>
#include <errno.h>
#include "queryOperation.h"
#include "sqlStatement.h"

#include "config.h"
#ifdef SFCCOMMON
#include "utilft.h"
#else
#include <sfcCommon/utilft.h>
#endif

#define YYPARSE_PARAM parm 
#define YYLEX_PARAM parm
#define YYERROR_VERBOSE 1
 
extern int yylex();
extern void sfcQueryErr(char*,char*,char*);
extern void yyError(char*);
extern void yyerror(char*);
extern UtilList *newList();

//extern void setMeta(char *meta);//durch Memberfunction ersetzen

#define sfcQueryerror sfcQueryError
#define yyErr sfcQueryErr

#define RS ((SqlStatement*)parm)->rs 
#define STM ((SqlStatement*)parm)

static UtilList* columnList = NULL;
static UtilList* allColumnsList = NULL;
static UtilList* allColumnsListIns = NULL;
static UtilList* obList = NULL;
int clempty = 1;
UtilList* aliasList = NULL;
UtilList* tableReferenceList = NULL;
UtilList* eList = NULL;
UtilList* whereList = NULL;
UtilList* assignmentList = NULL;
static char* semanticError(const char* s1, const char* s2, const char* s3);
static UtilList* cloneAL();
{'fraction_non_alphanumeric': 0.20462633451957296, 'fraction_numerical': 0.00860023724792408, 'mean_word_length': 5.388257575757576, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5671153', 'n_tokens_mistral': 1134, 'n_tokens_neox': 1058, 'n_words': 314}