* 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:
parent
72734ac154
commit
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>
|
Thu Jun 7 21:38:39 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* thread.c (rb_thread_execute_interrupts): invoke ensure when
|
* thread.c (rb_thread_execute_interrupts): invoke ensure when
|
||||||
|
@ -160,9 +160,12 @@ $(srcdir)/configure: $(srcdir)/configure.in
|
|||||||
cd $(srcdir) && $(AUTOCONF)
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
|
||||||
lex.c: keywords
|
lex.c: keywords
|
||||||
@-$(RM) $@
|
( \
|
||||||
gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@ || \
|
gperf -C -p -j1 -i 1 -g -o -t -N rb_reserved_word -k1,3,$$ $? > $@.tmp && \
|
||||||
cp "$(srcdir)/$@" .
|
cp $@.tmp $@ && \
|
||||||
|
mv $@.tmp "$(srcdir)/$@.blt" \
|
||||||
|
) || \
|
||||||
|
cp "$(srcdir)/$@.blt" $@
|
||||||
|
|
||||||
.y.c:
|
.y.c:
|
||||||
$(YACC) $(YFLAGS) -o $@ $<
|
$(YACC) $(YFLAGS) -o $@ $<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user