From ce78d64cc6ca2456d22c4a841489b5a948fbb3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Thu, 7 May 1998 21:52:23 +0200 Subject: [PATCH] Added some comments. Rev: src/cpp.c:1.27 --- src/cpp.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/cpp.c b/src/cpp.c index 8b470b7b1e..6d9e948f5d 100644 --- a/src/cpp.c +++ b/src/cpp.c @@ -5,7 +5,7 @@ \*/ /* - * $Id: cpp.c,v 1.26 1998/05/07 19:03:06 hubbe Exp $ + * $Id: cpp.c,v 1.27 1998/05/07 19:52:23 grubba Exp $ */ #include "global.h" #include "dynamic_buffer.h" @@ -328,7 +328,9 @@ static void simple_add_define(struct cpp *this, } \ }while (0) - +/* At entry pos points to the start-quote. + * At end pos points past the end-quote. + */ #define READSTRING(nf) \ while(1) \ { \ @@ -367,6 +369,9 @@ while(1) \ break; \ } +/* At entry pos points past the start quote. + * At exit pos points past the end quote. + */ #define FIXSTRING(nf,outp) do { \ int trailing_newlines=0; \ if(outp) low_my_putchar('"', &nf); \ @@ -393,7 +398,7 @@ while(1) \ this->current_line++; \ continue; \ } \ - if(outp) low_my_putchar(data[pos-1], &nf); \ + if(outp) low_my_putchar('\\', &nf); \ pos++; \ \ default: \ -- GitLab