1 /*******************************************************/ 2 /* "C" Language Integrated Production System */ 3 /* */ 4 /* CLIPS Version 6.30 07/25/14 */ 5 /* */ 6 /* DEFRULE LHS PARSING HEADER FILE */ 7 /*******************************************************/ 8 9 /*************************************************************/ 10 /* Purpose: Coordinates parsing of the LHS conditional */ 11 /* elements of a rule. */ 12 /* */ 13 /* Principal Programmer(s): */ 14 /* Gary D. Riley */ 15 /* */ 16 /* Contributing Programmer(s): */ 17 /* */ 18 /* Revision History: */ 19 /* */ 20 /* 6.30: Added const qualifiers to remove C++ */ 21 /* deprecation warnings. */ 22 /* */ 23 /*************************************************************/ 24 25 #ifndef _H_rulelhs 26 #define _H_rulelhs 27 28 #ifndef _H_expressn 29 #include "expressn.h" 30 #endif 31 #ifndef _H_reorder 32 #include "reorder.h" 33 #endif 34 #ifndef _H_scanner 35 #include "scanner.h" 36 #endif 37 #ifndef _H_pattern 38 #include "pattern.h" 39 #endif 40 41 #ifdef LOCALE 42 #undef LOCALE 43 #endif 44 45 #ifdef _RULELHS_SOURCE_ 46 #define LOCALE 47 #else 48 #define LOCALE extern 49 #endif 50 51 LOCALE struct lhsParseNode *ParseRuleLHS(void *,const char *,struct token *,const char *,int *); 52 LOCALE void PropagatePatternType(struct lhsParseNode *,struct patternParser *); 53 54 #endif 55 56 57 58 59