From 302eeb67fcc3ba9003a8219c05385457e040a535 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 20 Jan 2003 15:07:07 +0000 Subject: [PATCH] update comment --- dtool/src/cppparser/cppBisonDefs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dtool/src/cppparser/cppBisonDefs.h b/dtool/src/cppparser/cppBisonDefs.h index bc9e54733d..7fe0b0a5f6 100644 --- a/dtool/src/cppparser/cppBisonDefs.h +++ b/dtool/src/cppparser/cppBisonDefs.h @@ -107,6 +107,9 @@ struct cppyyltype { // Beginning around bison 1.35 or so, we need to define this macro as // well, to tell bison how to collect multiple locations together. +// (The default implementation copies only first_line through +// last_column, whereas here we use the struct assignment operator to +// copy all the members of the structure). #define YYLLOC_DEFAULT(Current, Rhs, N) \ Current = Rhs[1]; \ Current.last_line = Rhs[N].last_line; \