From 95f621f000aabaabf4e408302fa1d11cccda6c71 Mon Sep 17 00:00:00 2001 From: Stefan Schimanski Date: Mon, 10 Mar 2008 12:49:18 +0000 Subject: [PATCH] * comments for macro tables in Buffer git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23617 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index a5df4bd9f5..3f079a69d9 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -174,6 +174,8 @@ public: typedef pair ScopeMacro; typedef map PositionScopeMacroMap; typedef map NamePositionScopeMacroMap; + /// map from the macro name to the position map, + /// which maps the macro definition position to the scope and the MacroData. NamePositionScopeMacroMap macros; bool macro_lock; @@ -181,7 +183,9 @@ public: typedef map BufferPositionMap; typedef pair ScopeBuffer; typedef map PositionScopeBufferMap; + /// position of children buffers in this buffer BufferPositionMap children_positions; + /// map from children inclusion positions to their scope and their buffer PositionScopeBufferMap position_to_children; /// Container for all sort of Buffer dependant errors. -- 2.39.5