From albrecht.gebhardt@uni-klu.ac.at  Tue Nov 23 14:23:39 1999
From: albrecht.gebhardt@uni-klu.ac.at (albrecht.gebhardt@uni-klu.ac.at)
Date: Tue, 23 Nov 1999 15:23:39 +0100 (MET)
Subject: cpp problem on alpha (PR#333)
Message-ID: <199911231423.PAA25427@pubhealth.ku.dk>

Full_Name: Albrecht Gebhardt
Version: 0.90.0
OS: osf4.0
Submission from: (NULL) (143.205.61.73)


There is one wrong indented preprocessor directive in src/main/gram.y


cc -I. -I../include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H
-ieee_with_inexact -g -c gram.c -o gram.o
cc: Warning: ../../../R/src/main/gram.y, line 1626: # not in column 1 is
ignored, skipping to end of line. (ignoretokens)
            #if 0
------------^
cc: Warning: ../../../R/src/main/gram.y, line 1628: # not in column 1 is
ignored, skipping to end of line. (ignoretokens)
            #endif
------------^

the patch is:
#############################
--- gram.y.orig       Thu Oct  7 19:10:12 1999
+++ gram.y      Tue Nov 23 15:19:31 1999
@@ -1623,9 +1624,9 @@
                SourcePtr = FunctionSource + 8;
            }
            FunctionStart[FunctionLevel] = SourcePtr - 8;
-           #if 0
+#           if 0
            printf("%d,%d\n",SourcePtr - FunctionSource, FunctionLevel);
-           #endif
+#           endif
        }
        return kw;
     }
#############################

without the patch I got lots of debugging output with parse()

Albrecht

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


cpp problem on alpha (PR#333)
albrecht.gebhardt@uni-klu.ac.at