[Canna-cvs 629] CVS update: canna

Back to archive index

canna****@lists***** canna****@lists*****
2003年 8月 7日 (木) 22:19:26 JST


Date:	Thursday August 7, 2003 @ 22:19
Author:	aida_s

Update of /cvsroot/canna/canna
In directory sf-cvs:/tmp/cvs-serv11384

Modified Files:
	ChangeLog RKCCONF.jp 
Log Message:
Implement C-like expressions evaluator for rkc.conf.

* RKCCONF.jp: updated
* lib/RKC/conf.c(match_operator1): added
  (match_operator2): added
  (Lexer_next): process operators, add postfix_op flag
  (op_dump): added for debug
  (Token_dump): add TOK_SEMICOLON and TOK_OPERATOR
  (Parser_next): pass postfix_op flag to Lexer_next(), dump token
  if CONF_LEXER_DEBUG is defined
  (Parser_next_postfixop): added
  (Parser_stmt): evaluate expressions
  (Parser_eval_error): added
  (Parser_eval): added
  (calc_*): added
  (top_statements): turn to static
  (host_statements): turn to static
  (RkcConfMgr_find): fix logic
* lib/RKC/confP.h(CONF_LEXER_DEBUG): add debug flag
  (CONF_EVAL_DEBUG): add debug flag
  (TokenType): add TOK_OPERATOR
  (Operator): added
  (TokenVal): new member "opval" to store an operator
  (Parser): new member "exprval"

===================================================================
File: no file ChangeLog		Status: Needs Checkout

   Working revision:	1.94	Thu Aug  7 13:19:26 2003
   Repository revision:	1.94	/cvsroot/canna/canna/ChangeLog,v

   Existing Tags:
	RELBR_3_6                	(branch: 1.10.2)
	after_autoconf           	(revision: 1.62)
	before_autoconf          	(revision: 1.60)
	release_3_6_p3           	(revision: 1.10.2.25)
	release_3_6_p2           	(revision: 1.10.2.24)
	after_new_wchar          	(revision: 1.49)
	before_new_wchar         	(revision: 1.43)
	after_cvsignore          	(revision: 1.32)
	before_cvsignore         	(revision: 1.31)
	release_3_6_p1           	(revision: 1.10.2.2)
	relbr_3_bp               	(revision: 1.10)
	release_3_6              	(revision: 1.10)

===================================================================
File: no file RKCCONF.jp		Status: Needs Checkout

   Working revision:	1.2	Thu Aug  7 13:19:26 2003
   Repository revision:	1.2	/cvsroot/canna/canna/RKCCONF.jp,v

   Existing Tags:
	No Tags Exist




Canna-cvs メーリングリストの案内
Back to archive index