summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/absyn.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/absyn.h')
-rw-r--r--Build/source/utils/asymptote/absyn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/absyn.h b/Build/source/utils/asymptote/absyn.h
index c8b85009ec4..a25d463c64f 100644
--- a/Build/source/utils/asymptote/absyn.h
+++ b/Build/source/utils/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;