axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liu jie <cn_liu...@yahoo.com.cn>
Subject how can i unsubscribe from this maillist
Date Sat, 26 Jul 2003 03:08:12 GMT
 --- susantha@apache.org 的正文:> susantha   
2003/07/25 11:18:02
> 
>   Modified:    c/src/wcg cpplex.cpp
>   Log:
>   made it a usable command line tool now for windows
>   
>   Revision  Changes    Path
>   1.3       +100 -89   xml-axis/c/src/wcg/cpplex.cpp
>   
>   Index: cpplex.cpp
>  
>
===================================================================
>   RCS file:
> /home/cvs/xml-axis/c/src/wcg/cpplex.cpp,v
>   retrieving revision 1.2
>   retrieving revision 1.3
>   diff -u -r1.2 -r1.3
>   --- cpplex.cpp	22 Jul 2003 13:35:12 -0000	1.2
>   +++ cpplex.cpp	25 Jul 2003 18:18:02 -0000	1.3
>   @@ -886,334 +886,340 @@
>    YY_RULE_SETUP
>    #line 112 "cpp.l"
>    {
>   -        										if (include_stack_ptr >=
> MAX_INCLUDE_DEPTH)
>   -            								{
>   -            										cout << "Includes nested
> too deeply";
>   -            										exit(1);
>   -            								}
>   -
>   -        									
> include_stack[include_stack_ptr++] =
> YY_CURRENT_BUFFER;
>   -                  					string incfile = yytext;
>   -        										yyin =
> fopen(incfile.substr(1,incfile.length()-2).c_str(),
> "r");
>   -        										if (!yyin)
>   -                  					{
>   -            										cout << "File included from
> "<< yytext << " is not found on path"<<endl;
>   -                      					exit(1);
>   -                           	}
>   -        									
> yy_switch_to_buffer(yy_create_buffer( yyin,
> YY_BUF_SIZE ));
>   -        										BEGIN(0);
>   -        								 }
>   +        					if (include_stack_ptr >=
> MAX_INCLUDE_DEPTH)
>   +            				{
>   +            					cout << "Includes nested too
> deeply";
>   +            					exit(1);
>   +            				}
>   +                  			string incfile = yytext;
>   +							if (incfile.find('<') == string::npos)
> //open only from local path 
>   +							{
>   +        						include_stack[include_stack_ptr++]
> = YY_CURRENT_BUFFER;
>   +        						yyin =
> fopen(incfile.substr(1,incfile.length()-2).c_str(),
> "r");
>   +        						if (!yyin)
>   +                  				{
>   +            						cout << "File included from "<<
> yytext << " is not found on path"<<endl;
>   +                      				exit(1);
>   +                           		}
>   +        					
> yy_switch_to_buffer(yy_create_buffer( yyin,
> YY_BUF_SIZE ));
>   +        						BEGIN(0);
>   +        					}
>   +							else
>   +							{
>   +								BEGIN(0);
>   +							}
>   +						}
>    	YY_BREAK
>    case YY_STATE_EOF(INITIAL):
>    case YY_STATE_EOF(COMMENT):
>    case YY_STATE_EOF(PREPROCESSOR):
>    case YY_STATE_EOF(INCLUDE):
>   -#line 131 "cpp.l"
>   +#line 137 "cpp.l"
>    {
>   -        										if ( --include_stack_ptr < 0 )
>   -            								{
>   -            										yyterminate();
>   -            								}
>   -        										else
>   -            								{
>   -            										yy_delete_buffer(
> YY_CURRENT_BUFFER );
>   -            									
>
yy_switch_to_buffer(include_stack[include_stack_ptr]);
>   -            								}
>   -        								 }
>   +        					if ( --include_stack_ptr < 0 )
>   +            				{
>   +            					yyterminate();
>   +            				}
>   +        					else
>   +            				{
>   +            					yy_delete_buffer(
> YY_CURRENT_BUFFER );
>   +            				
>
yy_switch_to_buffer(include_stack[include_stack_ptr]);
>   +            				}
>   +        				}
>    	YY_BREAK
>    case 13:
>    YY_RULE_SETUP
>   -#line 143 "cpp.l"
>   +#line 149 "cpp.l"
>    { return LEFTPAREN; }
>    	YY_BREAK
>    case 14:
>    YY_RULE_SETUP
>   -#line 144 "cpp.l"
>   +#line 150 "cpp.l"
>    { return RIGHTPAREN; }
>    	YY_BREAK
>    case 15:
>    YY_RULE_SETUP
>   -#line 145 "cpp.l"
>   +#line 151 "cpp.l"
>    { return LEFTBRACK; }
>    	YY_BREAK
>    case 16:
>    YY_RULE_SETUP
>   -#line 146 "cpp.l"
>   +#line 152 "cpp.l"
>    { return RIGHTBRACK; }
>    	YY_BREAK
>    case 17:
>    YY_RULE_SETUP
>   -#line 147 "cpp.l"
>   +#line 153 "cpp.l"
>    { return LEFTARRAY; }
>    	YY_BREAK
>    case 18:
>    YY_RULE_SETUP
>   -#line 148 "cpp.l"
>   +#line 154 "cpp.l"
>    { return RIGHTARRAY; }
>    	YY_BREAK
>    case 19:
>    YY_RULE_SETUP
>   -#line 149 "cpp.l"
>   +#line 155 "cpp.l"
>    { return PLUS; }
>    	YY_BREAK
>    case 20:
>    YY_RULE_SETUP
>   -#line 150 "cpp.l"
>   +#line 156 "cpp.l"
>    { return MINUS; }
>    	YY_BREAK
>    case 21:
>    YY_RULE_SETUP
>   -#line 151 "cpp.l"
>   +#line 157 "cpp.l"
>    { return STAR; }
>    	YY_BREAK
>    case 22:
>    YY_RULE_SETUP
>   -#line 152 "cpp.l"
>   +#line 158 "cpp.l"
>    { return DIVIDE; }
>    	YY_BREAK
>    case 23:
>    YY_RULE_SETUP
>   -#line 153 "cpp.l"
>   +#line 159 "cpp.l"
>    { return MOD; }
>    	YY_BREAK
>    case 24:
>    YY_RULE_SETUP
>   -#line 154 "cpp.l"
>   +#line 160 "cpp.l"
>    { return GREATER; }
>    	YY_BREAK
>    case 25:
>    YY_RULE_SETUP
>   -#line 155 "cpp.l"
>   +#line 161 "cpp.l"
>    { return LESS; }
>    	YY_BREAK
>    case 26:
>    YY_RULE_SETUP
>   -#line 156 "cpp.l"
>   +#line 162 "cpp.l"
>    { return EQUAL; }
>    	YY_BREAK
>    case 27:
>    YY_RULE_SETUP
>   -#line 157 "cpp.l"
> 
=== message truncated === 

_________________________________________________________
Do You Yahoo!? 
暑期大片齐聚雅虎通 网络摄像头+雅虎通调频收音机等你来拿
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.promo.yahoo.com/minisite/messenger1/

Mime
View raw message