From pdalgd at gmail.com  Thu May 16 13:40:58 2013
From: pdalgd at gmail.com (peter dalgaard)
Date: Thu, 16 May 2013 13:40:58 +0200
Subject: [Rd] Incorrect target file name for gramLatex.c
In-Reply-To: <b9ab1e8599640541e31eaf44218fa397.squirrel@webmail.tu-dortmund.de>
References: <b9ab1e8599640541e31eaf44218fa397.squirrel@webmail.tu-dortmund.de>
Message-ID: <CE042BAE-6F34-4399-91C4-A3B585389EC9@gmail.com>

Thanks. Yes, that certainly looks like a copy/paste error when the gram* files was moved to tools. (I just wonder why we're not using $< $@ in these rules.) 

It should be harmless until someone tries actually modifying the grammar. (To avoid relying on yacc/bison, we ship the gram*.c along with gram*.y).

-pd

On May 16, 2013, at 11:26 , Ingo Korb wrote:

> Hi!
> 
> The attached patch changes the rule that describes the actions for
> gramLatex.c in src/library/tools/src/Makefile.in so it actually
> generates that file instead of "gramLatex." (no extension). The
> file name without extension is not referenced anywhere else and
> in R-2.12 the same rule still used the full name, so it appears
> that the "c" was lost in editing somewhere along the way.
> 
> The patch was generated for R-3.0.1, but also applies cleanly to
> R-devel_2013-05-14.
> 
> -ik
> <fix-gramLatex-name.patch>______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

-- 
Peter Dalgaard, Professor
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



[Rd] Incorrect target file name for gramLatex.c
peter dalgaard