summaryrefslogtreecommitdiff
path: root/graphics/asymptote/absyn.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/absyn.h')
-rw-r--r--graphics/asymptote/absyn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/asymptote/absyn.h b/graphics/asymptote/absyn.h
index c8b85009ec..a25d463c64 100644
--- a/graphics/asymptote/absyn.h
+++ b/graphics/asymptote/absyn.h
@@ -10,6 +10,7 @@
#define ABSYN_H
#include "common.h"
+#include "symbolmaps.h"
#include "errormsg.h" // For position
// Forward declaration for markPos.
@@ -37,13 +38,14 @@ public:
}
virtual void prettyprint(ostream &out, Int indent) = 0;
+ virtual void createSymMap(AsymptoteLsp::SymbolContext* symContext) {}
private: // Non-copyable
void operator=(const absyn&);
absyn(const absyn&);
};
void prettyindent(ostream &out, Int indent);
-void prettyname(ostream &out, string name, Int indent);
+void prettyname(ostream &out, string name, Int indent, position pos);
class name;
class ty;