summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/kexisql/tool
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/3rdparty/kexisql/tool')
-rw-r--r--kexi/3rdparty/kexisql/tool/lemon.c30
-rw-r--r--kexi/3rdparty/kexisql/tool/lempar.c2
2 files changed, 16 insertions, 16 deletions
diff --git a/kexi/3rdparty/kexisql/tool/lemon.c b/kexi/3rdparty/kexisql/tool/lemon.c
index 84f73d17..a0eef810 100644
--- a/kexi/3rdparty/kexisql/tool/lemon.c
+++ b/kexi/3rdparty/kexisql/tool/lemon.c
@@ -298,7 +298,7 @@ char *Strsafe();
void Strsafe_init(/* void */);
int Strsafe_insert(/* char * */);
-char *Strsafe_tqfind(/* char * */);
+char *Strsafe_find(/* char * */);
/* Routines for handling symbols of the grammar */
@@ -306,7 +306,7 @@ struct symbol *Symbol_new();
int Symbolcmpp(/* struct symbol **, struct symbol ** */);
void Symbol_init(/* void */);
int Symbol_insert(/* struct symbol *, char * */);
-struct symbol *Symbol_tqfind(/* char * */);
+struct symbol *Symbol_find(/* char * */);
struct symbol *Symbol_Nth(/* int */);
int Symbol_count(/* */);
struct symbol **Symbol_arrayof(/* */);
@@ -317,14 +317,14 @@ int Configcmp(/* struct config *, struct config * */);
struct state *State_new();
void State_init(/* void */);
int State_insert(/* struct state *, struct config * */);
-struct state *State_tqfind(/* struct config * */);
+struct state *State_find(/* struct config * */);
struct state **State_arrayof(/* */);
/* Routines used for efficiency in Configlist_add */
void Configtable_init(/* void */);
int Configtable_insert(/* struct config * */);
-struct config *Configtable_tqfind(/* struct config * */);
+struct config *Configtable_find(/* struct config * */);
void Configtable_clear(/* int(*)(struct config *) */);
/****************** From the file "action.c" *******************************/
/*
@@ -510,7 +510,7 @@ struct lemon *lemp;
/* Find the start symbol */
if( lemp->start ){
- sp = Symbol_tqfind(lemp->start);
+ sp = Symbol_find(lemp->start);
if( sp==0 ){
ErrorMsg(lemp->filename,0,
"The specified start symbol \"%s\" is not \
@@ -571,7 +571,7 @@ struct lemon *lemp;
bp = Configlist_basis();
/* Get a state with the same basis */
- stp = State_tqfind(bp);
+ stp = State_find(bp);
if( stp ){
/* A state with the same basis already exists! Copy all the follow-set
** propagation links from the state under construction into the
@@ -755,7 +755,7 @@ struct lemon *lemp;
/* Add the accepting token */
if( lemp->start ){
- sp = Symbol_tqfind(lemp->start);
+ sp = Symbol_find(lemp->start);
if( sp==0 ) sp = lemp->rule->lhs;
}else{
sp = lemp->rule->lhs;
@@ -933,7 +933,7 @@ int dot; /* Index into the RHS of the rule where the dot goes */
assert( currentend!=0 );
model.rp = rp;
model.dot = dot;
- cfp = Configtable_tqfind(&model);
+ cfp = Configtable_find(&model);
if( cfp==0 ){
cfp = newconfig();
cfp->rp = rp;
@@ -961,7 +961,7 @@ int dot;
assert( currentend!=0 );
model.rp = rp;
model.dot = dot;
- cfp = Configtable_tqfind(&model);
+ cfp = Configtable_find(&model);
if( cfp==0 ){
cfp = newconfig();
cfp->rp = rp;
@@ -3470,7 +3470,7 @@ char *y;
{
char *z;
- z = Strsafe_tqfind(y);
+ z = Strsafe_find(y);
if( z==0 && (z=malloc( strlen(y)+1 ))!=0 ){
strcpy(z,y);
Strsafe_insert(z);
@@ -3581,7 +3581,7 @@ char *data;
/* Return a pointer to data assigned to the given key. Return NULL
** if no such key. */
-char *Strsafe_tqfind(key)
+char *Strsafe_find(key)
char *key;
{
int h;
@@ -3605,7 +3605,7 @@ char *x;
{
struct symbol *sp;
- sp = Symbol_tqfind(x);
+ sp = Symbol_find(x);
if( sp==0 ){
sp = (struct symbol *)malloc( sizeof(struct symbol) );
MemoryCheck(sp);
@@ -3738,7 +3738,7 @@ char *key;
/* Return a pointer to data assigned to the given key. Return NULL
** if no such key. */
-struct symbol *Symbol_tqfind(key)
+struct symbol *Symbol_find(key)
char *key;
{
int h;
@@ -3944,7 +3944,7 @@ struct config *key;
/* Return a pointer to data assigned to the given key. Return NULL
** if no such key. */
-struct state *State_tqfind(key)
+struct state *State_find(key)
struct config *key;
{
int h;
@@ -4087,7 +4087,7 @@ struct config *data;
/* Return a pointer to data assigned to the given key. Return NULL
** if no such key. */
-struct config *Configtable_tqfind(key)
+struct config *Configtable_find(key)
struct config *key;
{
int h;
diff --git a/kexi/3rdparty/kexisql/tool/lempar.c b/kexi/3rdparty/kexisql/tool/lempar.c
index b6ffceb0..5604fe10 100644
--- a/kexi/3rdparty/kexisql/tool/lempar.c
+++ b/kexi/3rdparty/kexisql/tool/lempar.c
@@ -58,7 +58,7 @@
#define YY_NO_ACTION (YYNSTATE+YYNRULE+2)
#define YY_ACCEPT_ACTION (YYNSTATE+YYNRULE+1)
#define YY_ERROR_ACTION (YYNSTATE+YYNRULE)
-/* Next is the action table. Each entry in this table tqcontains
+/* Next is the action table. Each entry in this table contains
**
** + An integer which is the number representing the look-ahead
** token