diff options
author | Karl Berry <karl@freefriends.org> | 2009-08-15 23:57:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-08-15 23:57:48 +0000 |
commit | 16d128e5e10d541a78654b86409d5a3539f07708 (patch) | |
tree | 66de0af63c3811bb3040c16e9b52c11985f70811 /Build/source/utils/asymptote/frame.h | |
parent | b20f78c549859ec0e8610bdd3ad904245e86b489 (diff) |
asymptote 1.83
git-svn-id: svn://tug.org/texlive/trunk@14696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/frame.h')
-rw-r--r-- | Build/source/utils/asymptote/frame.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/frame.h b/Build/source/utils/asymptote/frame.h index 9f3db9247a4..ee050050061 100644 --- a/Build/source/utils/asymptote/frame.h +++ b/Build/source/utils/asymptote/frame.h @@ -21,9 +21,18 @@ class frame : public gc { size_t numFormals; Int numLocals; +#ifdef DEBUG_FRAME + string name; +#endif + public: - frame(frame *parent, size_t numFormals) - : parent(parent), numFormals(numFormals), numLocals(0) {} + frame(string name, frame *parent, size_t numFormals) + : parent(parent), numFormals(numFormals), numLocals(0) +#ifdef DEBUG_FRAME + , name(name) +#endif + + {} size_t getNumFormals() { return numFormals; |