зеркало из https://github.com/github/ruby.git
* lex.c.blt: moved from lex.c.
* Makefile.in: use lex.c.blt if gperf is not available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
72734ac154
Коммит
c571d4702e
|
@ -1,3 +1,9 @@
|
|||
Fri Jun 8 11:54:18 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lex.c.blt: moved from lex.c.
|
||||
|
||||
* Makefile.in: use lex.c.blt if gperf is not available.
|
||||
|
||||
Thu Jun 7 21:38:39 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c (rb_thread_execute_interrupts): invoke ensure when
|
||||
|
|
|
@ -160,9 +160,12 @@ $(srcdir)/configure: $(srcdir)/configure.in
|
|||
cd $(srcdir) && $(AUTOCONF)
|
||||
|
||||
lex.c: keywords
|
||||
@-$(RM) $@
|
||||
gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@ || \
|
||||
cp "$(srcdir)/$@" .
|
||||
( \
|
||||
gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@.tmp && \
|
||||
cp $@.tmp $@ && \
|
||||
mv $@.tmp "$(srcdir)/$@.blt" \
|
||||
) || \
|
||||
cp "$(srcdir)/$@.blt" $@
|
||||
|
||||
.y.c:
|
||||
$(YACC) $(YFLAGS) -o $@ $<
|
||||
|
|
Загрузка…
Ссылка в новой задаче