mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* parse.y: add prototypes for Microsoft compiler.
* ext/ripper/depend (parse.obj): lex.c exists at hdrdir.
* {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c):
  use bison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
			
			
This commit is contained in:
		
							parent
							
								
									e77ddaf0d1
								
							
						
					
					
						commit
						0a4e53a5c5
					
				
					 6 changed files with 19 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,12 @@
 | 
			
		|||
Fri Sep 17 20:29:33 2004  NAKAMURA Usaku  <usa@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* parse.y: add prototypes for Microsoft compiler.
 | 
			
		||||
 | 
			
		||||
	* ext/ripper/depend (parse.obj): lex.c exists at hdrdir.
 | 
			
		||||
 | 
			
		||||
	* {bcc32,win32,wince}/Makefile.sub (YACC, YFLAGS, parse.c):
 | 
			
		||||
	  use bison.
 | 
			
		||||
 | 
			
		||||
Fri Sep 17 17:11:08 2004  Yukihiro Matsumoto  <matz@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* array.c (rb_ary_delete): element comparison might change array
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,7 +49,8 @@ CPP = cpp32
 | 
			
		|||
RC = brcc32
 | 
			
		||||
!endif
 | 
			
		||||
!ifndef YACC
 | 
			
		||||
YACC = byacc
 | 
			
		||||
YACC = bison
 | 
			
		||||
YFLAGS = -o y.tab.c
 | 
			
		||||
!endif
 | 
			
		||||
!ifndef AR
 | 
			
		||||
AR = tlib
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
ripper.o: lex.c eventids1.c eventids2.c
 | 
			
		||||
ripper.o: $(hdrdir)/lex.c eventids1.c eventids2.c
 | 
			
		||||
 | 
			
		||||
ripper.c: ripper.y
 | 
			
		||||
	bison -t -v -o$@ ripper.y
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3
									
								
								parse.y
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								parse.y
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -4412,6 +4412,7 @@ yycompile(parser, f, line)
 | 
			
		|||
}
 | 
			
		||||
#endif /* !RIPPER */
 | 
			
		||||
 | 
			
		||||
static VALUE lex_get_str _((struct parser_params *, VALUE));
 | 
			
		||||
static VALUE
 | 
			
		||||
lex_get_str(parser, s)
 | 
			
		||||
    struct parser_params *parser;
 | 
			
		||||
| 
						 | 
				
			
			@ -4468,6 +4469,7 @@ rb_compile_cstr(f, s, len, line)
 | 
			
		|||
    return rb_compile_string(f, rb_str_new(s, len), line);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static VALUE lex_io_gets _((struct parser_params *, VALUE));
 | 
			
		||||
static VALUE
 | 
			
		||||
lex_io_gets(parser, io)
 | 
			
		||||
    struct parser_params *parser;
 | 
			
		||||
| 
						 | 
				
			
			@ -8466,6 +8468,7 @@ ripper_warning0(parser, fmt)
 | 
			
		|||
    rb_funcall(parser->value, rb_intern("warning"), 1, rb_str_new2(fmt));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static VALUE ripper_lex_get_generic _((struct parser_params *, VALUE));
 | 
			
		||||
static VALUE
 | 
			
		||||
ripper_lex_get_generic(parser, src)
 | 
			
		||||
    struct parser_params *parser;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,7 +38,8 @@ CC = cl
 | 
			
		|||
CPP = $(CC) -E
 | 
			
		||||
!endif
 | 
			
		||||
!if !defined(YACC)
 | 
			
		||||
YACC = byacc
 | 
			
		||||
YACC = bison
 | 
			
		||||
YFLAGS = -o y.tab.c
 | 
			
		||||
!endif
 | 
			
		||||
AR = lib -nologo
 | 
			
		||||
PURIFY =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -38,7 +38,8 @@ CC = cl
 | 
			
		|||
CPP = $(CC) -E
 | 
			
		||||
!endif
 | 
			
		||||
!if !defined(YACC)
 | 
			
		||||
YACC = byacc
 | 
			
		||||
YACC = bison
 | 
			
		||||
YFLAGS = -o y.tab.c
 | 
			
		||||
!endif
 | 
			
		||||
AR = lib -nologo
 | 
			
		||||
PURIFY =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue