[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lexer.cc generation
From: |
Michael Welsh Duggan |
Subject: |
lexer.cc generation |
Date: |
Thu, 18 Sep 2003 01:29:01 -0400 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
When lexer.cc is generated, it doesn't have appropriate #line
information for debugging purposes. Instead of #line "lexer.cc"
directives, it inserts #line "<stdin>" directives. I suggest the
following diffs:
*** /usr/local/src/lilypond/stepmake/stepmake/c++-rules.make~ Fri Dec 6
12:18:14 2002
--- /usr/local/src/lilypond/stepmake/stepmake/c++-rules.make Thu Sep 18
01:12:00 2003
***************
*** 25,28 ****
rm -f $(outdir)/$(*F).cc # avoid recompiling the .cc file
$(outdir)/%.cc: %.ll
! $(FLEX) -Cfe -p -p -t $< > $@
--- 25,28 ----
rm -f $(outdir)/$(*F).cc # avoid recompiling the .cc file
$(outdir)/%.cc: %.ll
! $(FLEX) -Cfe -p -p -t -o $(notdir $@) $< > $@
*** /usr/local/src/lilypond/stepmake/stepmake/c-rules.make~ Wed Jul 17
20:08:20 2002
--- /usr/local/src/lilypond/stepmake/stepmake/c-rules.make Thu Sep 18
01:14:51 2003
***************
*** 22,28 ****
rm -f $(*F).tab.c # if this happens in the wrong order it triggers
recompile of the .cc file
$(outdir)/%.c: %.l
! $(FLEX) -Cfe -p -p -t $< > $@
# could be faster:
# $(FLEX) -8 -Cf -t $< > $@
--- 22,28 ----
rm -f $(*F).tab.c # if this happens in the wrong order it triggers
recompile of the .cc file
$(outdir)/%.c: %.l
! $(FLEX) -Cfe -p -p -t -o $(notdir $@) $< > $@
# could be faster:
# $(FLEX) -8 -Cf -t $< > $@
--
Michael Welsh Duggan
(address@hidden)
- lexer.cc generation,
Michael Welsh Duggan <=