diff --git a/.github/actions/test-khiops-install/action.yml b/.github/actions/test-khiops-install/action.yml index a44d7c275..4d6c131f1 100644 --- a/.github/actions/test-khiops-install/action.yml +++ b/.github/actions/test-khiops-install/action.yml @@ -61,11 +61,11 @@ runs: touch test/LearningTest/TestCoclustering/Standard/Iris/results/time.log touch test/LearningTest/TestKhiops/Standard/Iris/results/time.log echo "Check test results" - cd test/LearningTest/cmd/python/ - $PYTHON test_khiops.py Khiops nul Standard - $PYTHON test_khiops.py Coclustering nul Standard - $PYTHON apply_command.py errors ../../TestKhiops/Standard/ Iris | tee /tmp/khiops-log.txt - $PYTHON apply_command.py errors ../../TestCoclustering/Standard/ Iris | tee /tmp/coclustering-log.txt + cd test/LearningTestTool/py/ + $PYTHON kht_test.py ../../LearningTest/TestKhiops/Standard/Iris check + $PYTHON kht_test.py ../../LearningTest/TestCoclustering/Standard/Iris check + $PYTHON kht_apply.py ../../LearningTest/TestKhiops/Standard/Iris errors | tee /tmp/khiops-log.txt + $PYTHON kht_apply.py ../../LearningTest/TestCoclustering/Standard/Iris errors | tee /tmp/khiops-log.txt if (grep -q error /tmp/khiops-log.txt || grep -q error /tmp/coclustering-log.txt); then echo "::error::Errors in Khiops run" false diff --git a/src/Learning/KWData/CMakeLists.txt b/src/Learning/KWData/CMakeLists.txt index b72a43da8..c024c199c 100644 --- a/src/Learning/KWData/CMakeLists.txt +++ b/src/Learning/KWData/CMakeLists.txt @@ -5,8 +5,8 @@ if(BUILD_LEX_YACC) bison_target(KWCParser KWCYac.yac ${CMAKE_CURRENT_SOURCE_DIR}/KWCYac.cpp) if(MSVC) - flex_target(KWCScanner KWCLex.lex KWCLex.inc COMPILE_FLAGS-- nounistd) - flex_target(JsonScanner JsonLex.lex JsonLex.inc COMPILE_FLAGS-- nounistd) + flex_target(KWCScanner KWCLex.lex KWCLex.inc COMPILE_FLAGS "--nounistd") + flex_target(JsonScanner JsonLex.lex JsonLex.inc COMPILE_FLAGS "--nounistd") else() flex_target(KWCScanner KWCLex.lex KWCLex.inc) flex_target(JsonScanner JsonLex.lex JsonLex.inc) diff --git a/src/Learning/KWData/JsonLex.inc b/src/Learning/KWData/JsonLex.inc index 1a22b90a1..ee4779a2b 100644 --- a/src/Learning/KWData/JsonLex.inc +++ b/src/Learning/KWData/JsonLex.inc @@ -1,6 +1,6 @@ -#line 1 "JsonLex.inc" +#line 1 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/JsonLex.inc" -#line 3 "JsonLex.inc" +#line 3 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/JsonLex.inc" #define YY_INT_ALIGNED short int @@ -769,9 +769,6 @@ char *yytext; #include #include "JSONTokenizer.h" -// TODO MB: A tester pour mieux personnaliser la prise en compte de flex et bison dans Visual C++ -// https://sourceforge.net/p/winflexbison/wiki/Visual%20Studio%20custom%20build%20rules/ - // Valeur des tokens static ALString sJsonTokenString; static ALString sJsonTokenStringCopy; @@ -783,9 +780,9 @@ static boolean bJsonTokenBoolean = false; #pragma warning(disable : 4505) // C4505: la fonction locale non référencée a été supprimée #pragma warning(disable : 4996) // C4996: warning for deprecated POSIX names isatty and fileno #endif // __MSC__ -#line 786 "JsonLex.inc" +#line 783 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/JsonLex.inc" /* pour avoir acces aux numeros de lignes, et moins cher que le -l de la ligne de commande */ -#line 788 "JsonLex.inc" +#line 785 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/JsonLex.inc" #define INITIAL 0 @@ -994,10 +991,10 @@ YY_DECL } { -#line 45 "JsonLex.lex" +#line 42 "JsonLex.lex" -#line 1000 "JsonLex.inc" +#line 997 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/JsonLex.inc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -1066,53 +1063,53 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 47 "JsonLex.lex" +#line 44 "JsonLex.lex" {return '{';} YY_BREAK case 2: YY_RULE_SETUP -#line 48 "JsonLex.lex" +#line 45 "JsonLex.lex" {return '}';} YY_BREAK case 3: YY_RULE_SETUP -#line 49 "JsonLex.lex" +#line 46 "JsonLex.lex" {return '[';} YY_BREAK case 4: YY_RULE_SETUP -#line 50 "JsonLex.lex" +#line 47 "JsonLex.lex" {return ']';} YY_BREAK case 5: YY_RULE_SETUP -#line 51 "JsonLex.lex" +#line 48 "JsonLex.lex" {return ',';} YY_BREAK case 6: YY_RULE_SETUP -#line 52 "JsonLex.lex" +#line 49 "JsonLex.lex" {return ':';} YY_BREAK case 7: YY_RULE_SETUP -#line 53 "JsonLex.lex" +#line 50 "JsonLex.lex" {bJsonTokenBoolean = true; return JSONTokenizer::Boolean;} YY_BREAK case 8: YY_RULE_SETUP -#line 54 "JsonLex.lex" +#line 51 "JsonLex.lex" {bJsonTokenBoolean = false; return JSONTokenizer::Boolean;} YY_BREAK case 9: YY_RULE_SETUP -#line 55 "JsonLex.lex" +#line 52 "JsonLex.lex" {return JSONTokenizer::Null;} YY_BREAK case 10: /* rule 10 can match eol */ YY_RULE_SETUP -#line 59 "JsonLex.lex" +#line 56 "JsonLex.lex" { yytext[yyleng-1] = '\0'; JSONTokenizer::JsonToCString((char*)&yytext[1], sJsonTokenString); @@ -1129,7 +1126,7 @@ YY_RULE_SETUP YY_BREAK case 11: YY_RULE_SETUP -#line 73 "JsonLex.lex" +#line 70 "JsonLex.lex" { cJsonTokenDouble = KWContinuous::StringToContinuous((char*)yytext); return(JSONTokenizer::Number); @@ -1138,20 +1135,20 @@ YY_RULE_SETUP case 12: /* rule 12 can match eol */ YY_RULE_SETUP -#line 78 "JsonLex.lex" +#line 75 "JsonLex.lex" {/*IGNORE*/} YY_BREAK case 13: YY_RULE_SETUP -#line 80 "JsonLex.lex" +#line 77 "JsonLex.lex" {sJsonTokenString = yytext; return JSONTokenizer::Error;} YY_BREAK case 14: YY_RULE_SETUP -#line 82 "JsonLex.lex" +#line 79 "JsonLex.lex" ECHO; YY_BREAK -#line 1154 "JsonLex.inc" +#line 1151 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/JsonLex.inc" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -2168,5 +2165,5 @@ void yyfree (void * ptr ) #define YYTABLES_NAME "yytables" -#line 82 "JsonLex.lex" +#line 79 "JsonLex.lex" diff --git a/src/Learning/KWData/JsonLex.lex b/src/Learning/KWData/JsonLex.lex index bc820fce5..f659b78f4 100644 --- a/src/Learning/KWData/JsonLex.lex +++ b/src/Learning/KWData/JsonLex.lex @@ -7,9 +7,6 @@ #include #include "JSONTokenizer.h" -// TODO MB: A tester pour mieux personnaliser la prise en compte de flex et bison dans Visual C++ -// https://sourceforge.net/p/winflexbison/wiki/Visual%20Studio%20custom%20build%20rules/ - // Valeur des tokens static ALString sJsonTokenString; static ALString sJsonTokenStringCopy; diff --git a/src/Learning/KWData/KWCLex.inc b/src/Learning/KWData/KWCLex.inc index ce1beb39a..5d4ebd11d 100644 --- a/src/Learning/KWData/KWCLex.inc +++ b/src/Learning/KWData/KWCLex.inc @@ -1,6 +1,6 @@ -#line 1 "KWCLex.inc" +#line 1 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCLex.inc" -#line 3 "KWCLex.inc" +#line 3 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCLex.inc" #define YY_INT_ALIGNED short int @@ -568,11 +568,11 @@ char *yytext; #undef YYLMAX #define YYLMAX 100000 /* token and pushback buffer size */ -#line 571 "KWCLex.inc" +#line 571 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCLex.inc" /* pour avoir acces aux numeros de lignes, et moins cher que le -l de la ligne de commande */ /* Attention, la liste des mots cles du langage doit etre reprise dans la methode KWClass::IsStringKeyWord() */ /* si on veut autoriser des noms de variable en collision avec ces mots cles. */ -#line 575 "KWCLex.inc" +#line 575 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCLex.inc" #define INITIAL 0 @@ -784,7 +784,7 @@ YY_DECL #line 31 "KWCLex.lex" -#line 787 "KWCLex.inc" +#line 787 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCLex.inc" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { @@ -1191,7 +1191,7 @@ YY_RULE_SETUP #line 299 "KWCLex.lex" ECHO; YY_BREAK -#line 1194 "KWCLex.inc" +#line 1194 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCLex.inc" case YY_STATE_EOF(INITIAL): yyterminate(); diff --git a/src/Learning/KWData/KWCYac.cpp b/src/Learning/KWData/KWCYac.cpp index acd7e5889..f1d33f2ea 100644 --- a/src/Learning/KWData/KWCYac.cpp +++ b/src/Learning/KWData/KWCYac.cpp @@ -68,7 +68,7 @@ #define YYPULL 1 /* First part of user prologue. */ -#line 1 "KWCYac.yac" +#line 1 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" /* ATTENTION: les regles openparenthesis et closeparenthesis generent */ /* 3 shift/reduce conflicts et 15 reduce/reduce conflicts */ @@ -120,7 +120,7 @@ static int nFileParsingErrorNumber = 0; extern char *yyptok(int i); */ -#line 127 "KWCYac.cpp" +#line 127 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" #ifndef YY_CAST #ifdef __cplusplus @@ -143,76 +143,7 @@ extern char *yyptok(int i); #endif #endif -/* Debug traces. */ -#ifndef YYDEBUG -#define YYDEBUG 0 -#endif -#if YYDEBUG -extern int yydebug; -#endif - -/* Token kinds. */ -#ifndef YYTOKENTYPE -#define YYTOKENTYPE -enum yytokentype -{ - YYEMPTY = -2, - YYEOF = 0, /* "end of file" */ - YYerror = 256, /* error */ - YYUNDEF = 257, /* "invalid token" */ - BASICIDENTIFIER = 258, /* BASICIDENTIFIER */ - EXTENDEDIDENTIFIER = 259, /* EXTENDEDIDENTIFIER */ - CONTINUOUSLITTERAL = 260, /* CONTINUOUSLITTERAL */ - STRINGLITTERAL = 261, /* STRINGLITTERAL */ - LABEL = 262, /* LABEL */ - APPLICATIONID = 263, /* APPLICATIONID */ - CLASS = 264, /* CLASS */ - CONTINUOUSTYPE = 265, /* CONTINUOUSTYPE */ - SYMBOLTYPE = 266, /* SYMBOLTYPE */ - OBJECTTYPE = 267, /* OBJECTTYPE */ - OBJECTARRAYTYPE = 268, /* OBJECTARRAYTYPE */ - ROOT = 269, /* ROOT */ - UNUSED = 270, /* UNUSED */ - DATETYPE = 271, /* DATETYPE */ - TIMETYPE = 272, /* TIMETYPE */ - TIMESTAMPTYPE = 273, /* TIMESTAMPTYPE */ - TIMESTAMPTZTYPE = 274, /* TIMESTAMPTZTYPE */ - TEXTTYPE = 275, /* TEXTTYPE */ - TEXTLISTTYPE = 276, /* TEXTLISTTYPE */ - STRUCTURETYPE = 277 /* STRUCTURETYPE */ -}; -typedef enum yytokentype yytoken_kind_t; -#endif - -/* Value type. */ -#if !defined YYSTYPE && !defined YYSTYPE_IS_DECLARED -union YYSTYPE -{ -#line 57 "KWCYac.yac" - - Continuous cValue; - ALString* sValue; - boolean bValue; - StringVector* svValue; - KWDerivationRule* kwdrValue; - KWDerivationRuleOperand* kwdroValue; - KWClass* kwcValue; - KWAttribute* kwaValue; - ObjectArray* oaAttributes; - KWMetaData* kwmdMetaData; - int nValue; - -#line 210 "KWCYac.cpp" -}; -typedef union YYSTYPE YYSTYPE; -#define YYSTYPE_IS_TRIVIAL 1 -#define YYSTYPE_IS_DECLARED 1 -#endif - -extern YYSTYPE yylval; - -int yyparse(void); - +#include "KWCYac.hpp" /* Symbol kind. */ enum yysymbol_kind_t { @@ -976,243 +907,243 @@ static void yydestruct(const char* yymsg, yysymbol_kind_t yykind, YYSTYPE* yyval switch (yykind) { case YYSYMBOL_BASICIDENTIFIER: /* BASICIDENTIFIER */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1105 "KWCYac.cpp" +#line 1030 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_EXTENDEDIDENTIFIER: /* EXTENDEDIDENTIFIER */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1111 "KWCYac.cpp" +#line 1036 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_STRINGLITTERAL: /* STRINGLITTERAL */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1117 "KWCYac.cpp" +#line 1042 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_LABEL: /* LABEL */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1123 "KWCYac.cpp" +#line 1048 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_APPLICATIONID: /* APPLICATIONID */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1129 "KWCYac.cpp" +#line 1054 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_IDENTIFIER: /* IDENTIFIER */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1135 "KWCYac.cpp" +#line 1060 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_SIMPLEIDENTIFIER: /* SIMPLEIDENTIFIER */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1141 "KWCYac.cpp" +#line 1066 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_oaAttributeArrayDeclaration: /* oaAttributeArrayDeclaration */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).oaAttributes) != NULL) delete ((*yyvaluep).oaAttributes); ((*yyvaluep).oaAttributes) = NULL; } -#line 1147 "KWCYac.cpp" +#line 1072 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_keyFields: /* keyFields */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).svValue) != NULL) delete ((*yyvaluep).svValue); ((*yyvaluep).svValue) = NULL; } -#line 1153 "KWCYac.cpp" +#line 1078 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_keyFieldList: /* keyFieldList */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).svValue) != NULL) delete ((*yyvaluep).svValue); ((*yyvaluep).svValue) = NULL; } -#line 1159 "KWCYac.cpp" +#line 1084 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_metaData: /* metaData */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwmdMetaData) != NULL) delete ((*yyvaluep).kwmdMetaData); ((*yyvaluep).kwmdMetaData) = NULL; } -#line 1165 "KWCYac.cpp" +#line 1090 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_kwattributeDeclaration: /* kwattributeDeclaration */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwaValue) != NULL) delete ((*yyvaluep).kwaValue); ((*yyvaluep).kwaValue) = NULL; } -#line 1171 "KWCYac.cpp" +#line 1096 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_applicationids: /* applicationids */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1177 "KWCYac.cpp" +#line 1102 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_comments: /* comments */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1183 "KWCYac.cpp" +#line 1108 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_refIdentifier: /* refIdentifier */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1189 "KWCYac.cpp" +#line 1114 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_usedDerivationRule: /* usedDerivationRule */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwdrValue) != NULL) delete ((*yyvaluep).kwdrValue); ((*yyvaluep).kwdrValue) = NULL; } -#line 1195 "KWCYac.cpp" +#line 1120 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_referenceRule: /* referenceRule */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwdrValue) != NULL) delete ((*yyvaluep).kwdrValue); ((*yyvaluep).kwdrValue) = NULL; } -#line 1201 "KWCYac.cpp" +#line 1126 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_referenceRuleBody: /* referenceRuleBody */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwdrValue) != NULL) delete ((*yyvaluep).kwdrValue); ((*yyvaluep).kwdrValue) = NULL; } -#line 1207 "KWCYac.cpp" +#line 1132 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_derivationRule: /* derivationRule */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwdrValue) != NULL) delete ((*yyvaluep).kwdrValue); ((*yyvaluep).kwdrValue) = NULL; } -#line 1213 "KWCYac.cpp" +#line 1138 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_derivationRuleBody: /* derivationRuleBody */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwdrValue) != NULL) delete ((*yyvaluep).kwdrValue); ((*yyvaluep).kwdrValue) = NULL; } -#line 1219 "KWCYac.cpp" +#line 1144 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_derivationRuleHeader: /* derivationRuleHeader */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwdrValue) != NULL) delete ((*yyvaluep).kwdrValue); ((*yyvaluep).kwdrValue) = NULL; } -#line 1225 "KWCYac.cpp" +#line 1150 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_derivationRuleBegin: /* derivationRuleBegin */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwdrValue) != NULL) delete ((*yyvaluep).kwdrValue); ((*yyvaluep).kwdrValue) = NULL; } -#line 1231 "KWCYac.cpp" +#line 1156 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_derivationRuleOperand: /* derivationRuleOperand */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).kwdroValue) != NULL) delete ((*yyvaluep).kwdroValue); ((*yyvaluep).kwdroValue) = NULL; } -#line 1237 "KWCYac.cpp" +#line 1162 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case YYSYMBOL_bigstring: /* bigstring */ -#line 125 "KWCYac.yac" +#line 125 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { if (((*yyvaluep).sValue) != NULL) delete ((*yyvaluep).sValue); ((*yyvaluep).sValue) = NULL; } -#line 1243 "KWCYac.cpp" +#line 1168 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; default: @@ -1462,143 +1393,143 @@ int yyparse(void) switch (yyn) { case 2: /* IDENTIFIER: SIMPLEIDENTIFIER */ -#line 135 "KWCYac.yac" +#line 135 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = (yyvsp[0].sValue); } -#line 1515 "KWCYac.cpp" +#line 1440 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 3: /* IDENTIFIER: EXTENDEDIDENTIFIER */ -#line 139 "KWCYac.yac" +#line 139 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = (yyvsp[0].sValue); } -#line 1523 "KWCYac.cpp" +#line 1448 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 4: /* SIMPLEIDENTIFIER: BASICIDENTIFIER */ -#line 146 "KWCYac.yac" +#line 146 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = (yyvsp[0].sValue); } -#line 1531 "KWCYac.cpp" +#line 1456 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 5: /* SIMPLEIDENTIFIER: CLASS */ -#line 150 "KWCYac.yac" +#line 150 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Dictionary"); } -#line 1539 "KWCYac.cpp" +#line 1464 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 6: /* SIMPLEIDENTIFIER: CONTINUOUSTYPE */ -#line 154 "KWCYac.yac" +#line 154 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Numerical"); } -#line 1547 "KWCYac.cpp" +#line 1472 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 7: /* SIMPLEIDENTIFIER: SYMBOLTYPE */ -#line 158 "KWCYac.yac" +#line 158 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Categorical"); } -#line 1555 "KWCYac.cpp" +#line 1480 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 8: /* SIMPLEIDENTIFIER: OBJECTTYPE */ -#line 162 "KWCYac.yac" +#line 162 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Entity"); } -#line 1563 "KWCYac.cpp" +#line 1488 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 9: /* SIMPLEIDENTIFIER: OBJECTARRAYTYPE */ -#line 166 "KWCYac.yac" +#line 166 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Table"); } -#line 1571 "KWCYac.cpp" +#line 1496 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 10: /* SIMPLEIDENTIFIER: ROOT */ -#line 170 "KWCYac.yac" +#line 170 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Root"); } -#line 1579 "KWCYac.cpp" +#line 1504 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 11: /* SIMPLEIDENTIFIER: UNUSED */ -#line 174 "KWCYac.yac" +#line 174 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Unused"); } -#line 1587 "KWCYac.cpp" +#line 1512 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 12: /* SIMPLEIDENTIFIER: DATETYPE */ -#line 178 "KWCYac.yac" +#line 178 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Date"); } -#line 1595 "KWCYac.cpp" +#line 1520 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 13: /* SIMPLEIDENTIFIER: TIMETYPE */ -#line 182 "KWCYac.yac" +#line 182 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Time"); } -#line 1603 "KWCYac.cpp" +#line 1528 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 14: /* SIMPLEIDENTIFIER: TIMESTAMPTYPE */ -#line 186 "KWCYac.yac" +#line 186 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Timestamp"); } -#line 1611 "KWCYac.cpp" +#line 1536 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 15: /* SIMPLEIDENTIFIER: TIMESTAMPTZTYPE */ -#line 190 "KWCYac.yac" +#line 190 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("TimestampTZ"); } -#line 1619 "KWCYac.cpp" +#line 1544 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 16: /* SIMPLEIDENTIFIER: TEXTTYPE */ -#line 194 "KWCYac.yac" +#line 194 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Text"); } -#line 1627 "KWCYac.cpp" +#line 1552 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 17: /* SIMPLEIDENTIFIER: TEXTLISTTYPE */ -#line 198 "KWCYac.yac" +#line 198 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("TextList"); } -#line 1635 "KWCYac.cpp" +#line 1560 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 18: /* SIMPLEIDENTIFIER: STRUCTURETYPE */ -#line 202 "KWCYac.yac" +#line 202 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = new ALString("Structure"); } -#line 1643 "KWCYac.cpp" +#line 1568 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 19: /* kwclassFile: applicationids kwclasses comments */ -#line 208 "KWCYac.yac" +#line 208 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* On ignore l'identification d'application */ if ((yyvsp[-2].sValue) != NULL) @@ -1608,20 +1539,20 @@ int yyparse(void) if ((yyvsp[0].sValue) != NULL) delete (yyvsp[0].sValue); } -#line 1657 "KWCYac.cpp" +#line 1582 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 21: /* kwclasses: kwclasses error */ -#line 222 "KWCYac.yac" +#line 222 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { yyerror("Error outside the definition of a dictionary"); YYABORT; } -#line 1664 "KWCYac.cpp" +#line 1589 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 23: /* kwclass: kwclassBegin '}' semicolon */ -#line 228 "KWCYac.yac" +#line 228 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* La completion des informations de type (CompleteTypeInfo) est centralisee */ /* au niveau du domaine en fin de parsing */ @@ -1629,11 +1560,11 @@ int yyparse(void) /* Reinitialisation de la classe courante */ kwcLoadCurrentClass = NULL; } -#line 1676 "KWCYac.cpp" +#line 1601 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 24: /* kwclassBegin: kwclassHeader comments */ -#line 238 "KWCYac.yac" +#line 238 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* On ignore les premiers comemntaires */ if ((yyvsp[0].sValue) != NULL) @@ -1641,11 +1572,11 @@ int yyparse(void) assert(kwcLoadCurrentClass == (yyvsp[-1].kwcValue)); (yyval.kwcValue) = (yyvsp[-1].kwcValue); } -#line 1688 "KWCYac.cpp" +#line 1613 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 25: /* kwclassBegin: kwclassBegin kwattributeDeclaration */ -#line 246 "KWCYac.yac" +#line 246 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWClass* kwcClass = (yyvsp[-1].kwcValue); KWAttribute* attribute = (yyvsp[0].kwaValue); @@ -1691,11 +1622,11 @@ int yyparse(void) (yyval.kwcValue) = kwcClass; } -#line 1735 "KWCYac.cpp" +#line 1660 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 26: /* kwclassBegin: kwclassBegin '{' comments oaAttributeArrayDeclaration '}' IDENTIFIER usedDerivationRule semicolon metaData comments */ -#line 289 "KWCYac.yac" +#line 289 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWClass* kwcClass = (yyvsp[-9].kwcValue); KWAttributeBlock* attributeBlock; @@ -1781,11 +1712,11 @@ int yyparse(void) (yyval.kwcValue) = kwcClass; } -#line 1818 "KWCYac.cpp" +#line 1743 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 27: /* kwclassBegin: kwclassBegin '{' comments '}' IDENTIFIER usedDerivationRule semicolon metaData comments */ -#line 368 "KWCYac.yac" +#line 368 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWClass* kwcClass = (yyvsp[-8].kwcValue); @@ -1804,11 +1735,11 @@ int yyparse(void) delete (yyvsp[0].sValue); (yyval.kwcValue) = kwcClass; } -#line 1841 "KWCYac.cpp" +#line 1766 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 28: /* kwclassBegin: kwclassBegin error */ -#line 387 "KWCYac.yac" +#line 387 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* ERRORMGT */ /* Attention: cette regle qui permet une gestion des erreurs amelioree */ @@ -1816,11 +1747,11 @@ int yyparse(void) kwcLoadCurrentClass = NULL; YYABORT; } -#line 1853 "KWCYac.cpp" +#line 1778 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 29: /* oaAttributeArrayDeclaration: oaAttributeArrayDeclaration kwattributeDeclaration */ -#line 398 "KWCYac.yac" +#line 398 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { ObjectArray* oaAttributes = (yyvsp[-1].oaAttributes); KWAttribute* attribute = (yyvsp[0].kwaValue); @@ -1869,11 +1800,11 @@ int yyparse(void) (yyval.oaAttributes) = oaAttributes; } -#line 1902 "KWCYac.cpp" +#line 1827 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 30: /* oaAttributeArrayDeclaration: kwattributeDeclaration */ -#line 443 "KWCYac.yac" +#line 443 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { ObjectArray* oaAttributes; KWAttribute* attribute = (yyvsp[0].kwaValue); @@ -1924,11 +1855,11 @@ int yyparse(void) (yyval.oaAttributes) = oaAttributes; } -#line 1953 "KWCYac.cpp" +#line 1878 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 31: /* kwclassHeader: comments rootDeclaration CLASS IDENTIFIER keyFields metaData '{' */ -#line 492 "KWCYac.yac" +#line 492 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWClass* kwcClass; KWClass* kwcReferencedClass; @@ -2018,41 +1949,41 @@ int yyparse(void) kwcLoadCurrentClass = kwcClass; (yyval.kwcValue) = kwcClass; } -#line 2046 "KWCYac.cpp" +#line 1971 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 32: /* keyFields: '(' keyFieldList ')' comments */ -#line 584 "KWCYac.yac" +#line 584 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* On ignore les comemntaires */ if ((yyvsp[0].sValue) != NULL) delete (yyvsp[0].sValue); (yyval.svValue) = (yyvsp[-2].svValue); } -#line 2057 "KWCYac.cpp" +#line 1982 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 33: /* keyFields: comments */ -#line 591 "KWCYac.yac" +#line 591 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* On ignore les comemntaires */ if ((yyvsp[0].sValue) != NULL) delete (yyvsp[0].sValue); (yyval.svValue) = NULL; /* pas de champ cle */ } -#line 2068 "KWCYac.cpp" +#line 1993 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 34: /* keyFields: %empty */ -#line 598 "KWCYac.yac" +#line 598 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.svValue) = NULL; /* pas de champ cle */ } -#line 2076 "KWCYac.cpp" +#line 2001 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 35: /* keyFieldList: keyFieldList ',' IDENTIFIER */ -#line 605 "KWCYac.yac" +#line 605 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { StringVector* svKeyFields; @@ -2062,11 +1993,11 @@ int yyparse(void) delete (yyvsp[0].sValue); (yyval.svValue) = svKeyFields; } -#line 2090 "KWCYac.cpp" +#line 2015 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 36: /* keyFieldList: IDENTIFIER */ -#line 615 "KWCYac.yac" +#line 615 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { StringVector* svKeyFields; @@ -2076,11 +2007,11 @@ int yyparse(void) delete (yyvsp[0].sValue); (yyval.svValue) = svKeyFields; } -#line 2104 "KWCYac.cpp" +#line 2029 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 37: /* metaData: metaData '<' SIMPLEIDENTIFIER '=' STRINGLITTERAL '>' */ -#line 628 "KWCYac.yac" +#line 628 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWMetaData* metaData; @@ -2100,11 +2031,11 @@ int yyparse(void) delete (yyvsp[-1].sValue); (yyval.kwmdMetaData) = metaData; } -#line 2128 "KWCYac.cpp" +#line 2053 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 38: /* metaData: metaData '<' SIMPLEIDENTIFIER '=' CONTINUOUSLITTERAL '>' */ -#line 648 "KWCYac.yac" +#line 648 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWMetaData* metaData; @@ -2126,11 +2057,11 @@ int yyparse(void) delete (yyvsp[-3].sValue); (yyval.kwmdMetaData) = metaData; } -#line 2154 "KWCYac.cpp" +#line 2079 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 39: /* metaData: metaData '<' SIMPLEIDENTIFIER '>' */ -#line 670 "KWCYac.yac" +#line 670 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWMetaData* metaData; @@ -2149,11 +2080,11 @@ int yyparse(void) delete (yyvsp[-1].sValue); (yyval.kwmdMetaData) = metaData; } -#line 2177 "KWCYac.cpp" +#line 2102 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 40: /* metaData: metaData '<' SIMPLEIDENTIFIER '=' IDENTIFIER '>' */ -#line 689 "KWCYac.yac" +#line 689 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWMetaData* metaData; @@ -2170,19 +2101,19 @@ int yyparse(void) delete (yyvsp[-1].sValue); (yyval.kwmdMetaData) = metaData; } -#line 2197 "KWCYac.cpp" +#line 2122 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 41: /* metaData: %empty */ -#line 705 "KWCYac.yac" +#line 705 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.kwmdMetaData) = NULL; /* pas de paires cle valeurs */ } -#line 2205 "KWCYac.cpp" +#line 2130 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 42: /* kwattributeDeclaration: usedDeclaration typeDeclaration refIdentifier IDENTIFIER usedDerivationRule semicolon metaData comments */ -#line 721 "KWCYac.yac" +#line 721 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWAttribute* attribute; KWDerivationRule* rule; @@ -2325,11 +2256,11 @@ int yyparse(void) (yyval.kwaValue) = attribute; } -#line 2332 "KWCYac.cpp" +#line 2257 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 43: /* applicationids: applicationids APPLICATIONID */ -#line 849 "KWCYac.yac" +#line 849 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* On ne garde que la premiere ligne de chaque identification d'application */ if ((yyvsp[-1].sValue) == NULL) @@ -2340,19 +2271,19 @@ int yyparse(void) (yyval.sValue) = (yyvsp[-1].sValue); } } -#line 2347 "KWCYac.cpp" +#line 2272 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 44: /* applicationids: %empty */ -#line 860 "KWCYac.yac" +#line 860 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = NULL; /* pas d'identification d'application */ } -#line 2355 "KWCYac.cpp" +#line 2280 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 45: /* comments: comments LABEL */ -#line 868 "KWCYac.yac" +#line 868 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* On ne garde que la premiere ligne de chaque commentaire */ if ((yyvsp[-1].sValue) == NULL) @@ -2363,180 +2294,180 @@ int yyparse(void) (yyval.sValue) = (yyvsp[-1].sValue); } } -#line 2370 "KWCYac.cpp" +#line 2295 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 46: /* comments: %empty */ -#line 879 "KWCYac.yac" +#line 879 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = NULL; /* pas de commentaire */ } -#line 2378 "KWCYac.cpp" +#line 2303 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 47: /* rootDeclaration: ROOT */ -#line 887 "KWCYac.yac" +#line 887 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.bValue) = true; } -#line 2386 "KWCYac.cpp" +#line 2311 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 48: /* rootDeclaration: %empty */ -#line 891 "KWCYac.yac" +#line 891 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.bValue) = false; /* valeur par defaut */ } -#line 2394 "KWCYac.cpp" +#line 2319 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 49: /* usedDeclaration: UNUSED */ -#line 899 "KWCYac.yac" +#line 899 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.bValue) = false; } -#line 2402 "KWCYac.cpp" +#line 2327 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 50: /* usedDeclaration: %empty */ -#line 903 "KWCYac.yac" +#line 903 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.bValue) = true; /* valeur par defaut */ } -#line 2410 "KWCYac.cpp" +#line 2335 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 51: /* typeDeclaration: CONTINUOUSTYPE */ -#line 911 "KWCYac.yac" +#line 911 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::Continuous; } -#line 2418 "KWCYac.cpp" +#line 2343 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 52: /* typeDeclaration: SYMBOLTYPE */ -#line 915 "KWCYac.yac" +#line 915 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::Symbol; } -#line 2426 "KWCYac.cpp" +#line 2351 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 53: /* typeDeclaration: DATETYPE */ -#line 919 "KWCYac.yac" +#line 919 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::Date; } -#line 2434 "KWCYac.cpp" +#line 2359 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 54: /* typeDeclaration: TIMETYPE */ -#line 923 "KWCYac.yac" +#line 923 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::Time; } -#line 2442 "KWCYac.cpp" +#line 2367 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 55: /* typeDeclaration: TIMESTAMPTYPE */ -#line 927 "KWCYac.yac" +#line 927 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::Timestamp; } -#line 2450 "KWCYac.cpp" +#line 2375 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 56: /* typeDeclaration: TIMESTAMPTZTYPE */ -#line 931 "KWCYac.yac" +#line 931 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::TimestampTZ; } -#line 2458 "KWCYac.cpp" +#line 2383 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 57: /* typeDeclaration: TEXTTYPE */ -#line 935 "KWCYac.yac" +#line 935 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::Text; } -#line 2466 "KWCYac.cpp" +#line 2391 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 58: /* typeDeclaration: TEXTLISTTYPE */ -#line 939 "KWCYac.yac" +#line 939 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::TextList; } -#line 2474 "KWCYac.cpp" +#line 2399 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 59: /* typeDeclaration: OBJECTTYPE */ -#line 943 "KWCYac.yac" +#line 943 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::Object; } -#line 2482 "KWCYac.cpp" +#line 2407 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 60: /* typeDeclaration: OBJECTARRAYTYPE */ -#line 947 "KWCYac.yac" +#line 947 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::ObjectArray; } -#line 2490 "KWCYac.cpp" +#line 2415 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 61: /* typeDeclaration: STRUCTURETYPE */ -#line 951 "KWCYac.yac" +#line 951 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.nValue) = KWType::Structure; } -#line 2498 "KWCYac.cpp" +#line 2423 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 62: /* refIdentifier: '(' IDENTIFIER ')' */ -#line 959 "KWCYac.yac" +#line 959 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = (yyvsp[-1].sValue); } -#line 2506 "KWCYac.cpp" +#line 2431 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 63: /* refIdentifier: %empty */ -#line 963 "KWCYac.yac" +#line 963 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = NULL; } -#line 2514 "KWCYac.cpp" +#line 2439 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 64: /* usedDerivationRule: '=' derivationRule */ -#line 970 "KWCYac.yac" +#line 970 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.kwdrValue) = (yyvsp[0].kwdrValue); } -#line 2522 "KWCYac.cpp" +#line 2447 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 65: /* usedDerivationRule: referenceRule */ -#line 974 "KWCYac.yac" +#line 974 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.kwdrValue) = (yyvsp[0].kwdrValue); } -#line 2530 "KWCYac.cpp" +#line 2455 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 66: /* usedDerivationRule: '=' derivationRule ')' */ -#line 978 "KWCYac.yac" +#line 978 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { yyerror("Too many ')'"); (yyval.kwdrValue) = (yyvsp[-1].kwdrValue); } -#line 2539 "KWCYac.cpp" +#line 2464 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 67: /* usedDerivationRule: '(' IDENTIFIER ')' */ -#line 983 "KWCYac.yac" +#line 983 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { ALString sTmp; yyerror(sTmp + "Invalid syntax (" + *(yyvsp[-1].sValue) + ")"); @@ -2544,27 +2475,27 @@ int yyparse(void) delete (yyvsp[-1].sValue); (yyval.kwdrValue) = NULL; } -#line 2551 "KWCYac.cpp" +#line 2476 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 68: /* usedDerivationRule: %empty */ -#line 991 "KWCYac.yac" +#line 991 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.kwdrValue) = NULL; } -#line 2559 "KWCYac.cpp" +#line 2484 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 69: /* referenceRule: referenceRuleBody ']' */ -#line 997 "KWCYac.yac" +#line 997 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.kwdrValue) = (yyvsp[-1].kwdrValue); } -#line 2567 "KWCYac.cpp" +#line 2492 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 70: /* referenceRuleBody: '[' derivationRuleOperand */ -#line 1003 "KWCYac.yac" +#line 1003 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRule* rule; KWDerivationRuleOperand* operand; @@ -2584,11 +2515,11 @@ int yyparse(void) /* On retourner la regle */ (yyval.kwdrValue) = rule; } -#line 2591 "KWCYac.cpp" +#line 2516 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 71: /* referenceRuleBody: referenceRuleBody ',' derivationRuleOperand */ -#line 1023 "KWCYac.yac" +#line 1023 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRule* rule = (yyvsp[-2].kwdrValue); KWDerivationRuleOperand* operand; @@ -2602,11 +2533,11 @@ int yyparse(void) /* On retourner la regle */ (yyval.kwdrValue) = rule; } -#line 2609 "KWCYac.cpp" +#line 2534 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 72: /* derivationRule: derivationRuleBody closeparenthesis */ -#line 1039 "KWCYac.yac" +#line 1039 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRule* ruleBody = (yyvsp[-1].kwdrValue); KWDerivationRule* rule; @@ -2788,27 +2719,27 @@ int yyparse(void) (yyval.kwdrValue) = rule; } -#line 2788 "KWCYac.cpp" +#line 2713 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 73: /* derivationRuleBody: derivationRuleBegin */ -#line 1217 "KWCYac.yac" +#line 1217 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.kwdrValue) = (yyvsp[0].kwdrValue); } -#line 2796 "KWCYac.cpp" +#line 2721 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 74: /* derivationRuleBody: derivationRuleHeader */ -#line 1221 "KWCYac.yac" +#line 1221 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.kwdrValue) = (yyvsp[0].kwdrValue); } -#line 2804 "KWCYac.cpp" +#line 2729 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 75: /* derivationRuleHeader: IDENTIFIER openparenthesis */ -#line 1228 "KWCYac.yac" +#line 1228 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRule* rule; @@ -2818,11 +2749,11 @@ int yyparse(void) delete (yyvsp[-1].sValue); (yyval.kwdrValue) = rule; } -#line 2818 "KWCYac.cpp" +#line 2743 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 76: /* derivationRuleBegin: derivationRuleHeader derivationRuleOperand */ -#line 1241 "KWCYac.yac" +#line 1241 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRule* rule = (yyvsp[-1].kwdrValue); KWDerivationRuleOperand* operand = (yyvsp[0].kwdroValue); @@ -2833,11 +2764,11 @@ int yyparse(void) rule->AddOperand(operand); (yyval.kwdrValue) = rule; } -#line 2833 "KWCYac.cpp" +#line 2758 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 77: /* derivationRuleBegin: derivationRuleBegin ',' derivationRuleOperand */ -#line 1252 "KWCYac.yac" +#line 1252 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRule* rule = (yyvsp[-2].kwdrValue); KWDerivationRuleOperand* operand = (yyvsp[0].kwdroValue); @@ -2848,11 +2779,11 @@ int yyparse(void) rule->AddOperand(operand); (yyval.kwdrValue) = rule; } -#line 2848 "KWCYac.cpp" +#line 2773 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 78: /* derivationRuleOperand: IDENTIFIER */ -#line 1266 "KWCYac.yac" +#line 1266 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRuleOperand* operand; operand = new KWDerivationRuleOperand; @@ -2861,11 +2792,11 @@ int yyparse(void) delete (yyvsp[0].sValue); (yyval.kwdroValue) = operand; } -#line 2861 "KWCYac.cpp" +#line 2786 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 79: /* derivationRuleOperand: CONTINUOUSLITTERAL */ -#line 1275 "KWCYac.yac" +#line 1275 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRuleOperand* operand; operand = new KWDerivationRuleOperand; @@ -2874,11 +2805,11 @@ int yyparse(void) operand->SetContinuousConstant((yyvsp[0].cValue)); (yyval.kwdroValue) = operand; } -#line 2874 "KWCYac.cpp" +#line 2799 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 80: /* derivationRuleOperand: bigstring */ -#line 1284 "KWCYac.yac" +#line 1284 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRuleOperand* operand; operand = new KWDerivationRuleOperand; @@ -2888,11 +2819,11 @@ int yyparse(void) delete (yyvsp[0].sValue); (yyval.kwdroValue) = operand; } -#line 2888 "KWCYac.cpp" +#line 2813 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 81: /* derivationRuleOperand: derivationRule */ -#line 1294 "KWCYac.yac" +#line 1294 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRuleOperand* operand; operand = new KWDerivationRuleOperand; @@ -2902,22 +2833,22 @@ int yyparse(void) operand->SetType(operand->GetDerivationRule()->GetType()); (yyval.kwdroValue) = operand; } -#line 2902 "KWCYac.cpp" +#line 2827 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 82: /* derivationRuleOperand: '.' derivationRuleOperand */ -#line 1304 "KWCYac.yac" +#line 1304 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { KWDerivationRuleOperand* operand; operand = (yyvsp[0].kwdroValue); operand->SetScopeLevel(operand->GetScopeLevel() + 1); (yyval.kwdroValue) = operand; } -#line 2913 "KWCYac.cpp" +#line 2838 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 83: /* bigstring: bigstring '+' STRINGLITTERAL */ -#line 1315 "KWCYac.yac" +#line 1315 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* Concatenation des deux chaines */ (yyval.sValue) = new ALString(*(yyvsp[-2].sValue) + *(yyvsp[0].sValue)); @@ -2926,59 +2857,59 @@ int yyparse(void) delete (yyvsp[-2].sValue); delete (yyvsp[0].sValue); } -#line 2926 "KWCYac.cpp" +#line 2851 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 84: /* bigstring: STRINGLITTERAL */ -#line 1324 "KWCYac.yac" +#line 1324 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { (yyval.sValue) = (yyvsp[0].sValue); } -#line 2934 "KWCYac.cpp" +#line 2859 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 86: /* semicolon: ';' ';' */ -#line 1332 "KWCYac.yac" +#line 1332 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { yyerror("There is one superfluous ';'"); } -#line 2942 "KWCYac.cpp" +#line 2867 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 87: /* semicolon: ';' ';' ';' */ -#line 1336 "KWCYac.yac" +#line 1336 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { yyerror("Too many ';'"); } -#line 2950 "KWCYac.cpp" +#line 2875 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 88: /* semicolon: %empty */ -#line 1340 "KWCYac.yac" +#line 1340 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { yyerror("Missing ';'"); } -#line 2958 "KWCYac.cpp" +#line 2883 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 90: /* openparenthesis: '(' '(' */ -#line 1348 "KWCYac.yac" +#line 1348 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { yyerror("There is one superfluous '('"); } -#line 2966 "KWCYac.cpp" +#line 2891 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 91: /* openparenthesis: '(' '(' '(' */ -#line 1352 "KWCYac.yac" +#line 1352 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { yyerror("Too many '('"); } -#line 2974 "KWCYac.cpp" +#line 2899 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 92: /* openparenthesis: %empty */ -#line 1356 "KWCYac.yac" +#line 1356 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* ERRORMGT */ /* Attention: supprimer cette instruction en cas d'evolution du parser */ @@ -2987,11 +2918,11 @@ int yyparse(void) /* sa consoeur 3 shift/reduce conflicts et 12 reduce conflicts */ yyerror("Missing '('"); } -#line 2987 "KWCYac.cpp" +#line 2912 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; case 94: /* closeparenthesis: %empty */ -#line 1370 "KWCYac.yac" +#line 1370 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" { /* ERRORMGT */ /* Attention: supprimer cette instruction en cas d'evolution du parser */ @@ -3000,10 +2931,10 @@ int yyparse(void) /* sa consoeur 3 shift/reduce conflicts et 12 reduce conflicts */ yyerror("Missing ')'"); } -#line 3000 "KWCYac.cpp" +#line 2925 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" break; -#line 3004 "KWCYac.cpp" +#line 2929 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.cpp" default: break; @@ -3182,7 +3113,7 @@ int yyparse(void) return yyresult; } -#line 1381 "KWCYac.yac" +#line 1381 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" #include "KWCLex.inc" diff --git a/src/Learning/KWData/KWCYac.hpp b/src/Learning/KWData/KWCYac.hpp new file mode 100644 index 000000000..be0d32bfe --- /dev/null +++ b/src/Learning/KWData/KWCYac.hpp @@ -0,0 +1,114 @@ +// Copyright (c) 2024 Orange. All rights reserved. +// This software is distributed under the BSD 3-Clause-clear License, the text of which is available +// at https://spdx.org/licenses/BSD-3-Clause-Clear.html or see the "LICENSE" file for more details. + +/* A Bison parser, made by GNU Bison 3.8.2. */ + +/* Bison interface for Yacc-like parsers in C + + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2021 Free Software Foundation, + Inc. + + 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 . */ + +/* As a special exception, you may create a larger work that contains + part or all of the Bison parser skeleton and distribute that work + under terms of your choice, so long as that work isn't itself a + parser generator using the skeleton or a modified version thereof + as a parser skeleton. Alternatively, if you modify or redistribute + the parser skeleton itself, you may (at your option) remove this + special exception, which will cause the skeleton and the resulting + Bison output files to be licensed under the GNU General Public + License without this special exception. + + This special exception was added by the Free Software Foundation in + version 2.2 of Bison. */ + +/* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual, + especially those whose name start with YY_ or yy_. They are + private implementation details that can be changed or removed. */ + +#ifndef YY_YY_D_USERS_MIIB6422_DOCUMENTS_BOULLEMA_DEVGIT_KHIOPS_SRC_LEARNING_KWDATA_KWCYAC_HPP_INCLUDED +#define YY_YY_D_USERS_MIIB6422_DOCUMENTS_BOULLEMA_DEVGIT_KHIOPS_SRC_LEARNING_KWDATA_KWCYAC_HPP_INCLUDED +/* Debug traces. */ +#ifndef YYDEBUG +#define YYDEBUG 0 +#endif +#if YYDEBUG +extern int yydebug; +#endif + +/* Token kinds. */ +#ifndef YYTOKENTYPE +#define YYTOKENTYPE +enum yytokentype +{ + YYEMPTY = -2, + YYEOF = 0, /* "end of file" */ + YYerror = 256, /* error */ + YYUNDEF = 257, /* "invalid token" */ + BASICIDENTIFIER = 258, /* BASICIDENTIFIER */ + EXTENDEDIDENTIFIER = 259, /* EXTENDEDIDENTIFIER */ + CONTINUOUSLITTERAL = 260, /* CONTINUOUSLITTERAL */ + STRINGLITTERAL = 261, /* STRINGLITTERAL */ + LABEL = 262, /* LABEL */ + APPLICATIONID = 263, /* APPLICATIONID */ + CLASS = 264, /* CLASS */ + CONTINUOUSTYPE = 265, /* CONTINUOUSTYPE */ + SYMBOLTYPE = 266, /* SYMBOLTYPE */ + OBJECTTYPE = 267, /* OBJECTTYPE */ + OBJECTARRAYTYPE = 268, /* OBJECTARRAYTYPE */ + ROOT = 269, /* ROOT */ + UNUSED = 270, /* UNUSED */ + DATETYPE = 271, /* DATETYPE */ + TIMETYPE = 272, /* TIMETYPE */ + TIMESTAMPTYPE = 273, /* TIMESTAMPTYPE */ + TIMESTAMPTZTYPE = 274, /* TIMESTAMPTZTYPE */ + TEXTTYPE = 275, /* TEXTTYPE */ + TEXTLISTTYPE = 276, /* TEXTLISTTYPE */ + STRUCTURETYPE = 277 /* STRUCTURETYPE */ +}; +typedef enum yytokentype yytoken_kind_t; +#endif + +/* Value type. */ +#if !defined YYSTYPE && !defined YYSTYPE_IS_DECLARED +union YYSTYPE +{ +#line 57 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.yac" + + Continuous cValue; + ALString* sValue; + boolean bValue; + StringVector* svValue; + KWDerivationRule* kwdrValue; + KWDerivationRuleOperand* kwdroValue; + KWClass* kwcValue; + KWAttribute* kwaValue; + ObjectArray* oaAttributes; + KWMetaData* kwmdMetaData; + int nValue; + +#line 100 "D:/Users/miib6422/Documents/boullema/DevGit/khiops/src/Learning/KWData/KWCYac.hpp" +}; +typedef union YYSTYPE YYSTYPE; +#define YYSTYPE_IS_TRIVIAL 1 +#define YYSTYPE_IS_DECLARED 1 +#endif + +extern YYSTYPE yylval; + +int yyparse(void); + +#endif /* !YY_YY_D_USERS_MIIB6422_DOCUMENTS_BOULLEMA_DEVGIT_KHIOPS_SRC_LEARNING_KWDATA_KWCYAC_HPP_INCLUDED */