summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/camp.l
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/camp.l')
-rw-r--r--Build/source/utils/asymptote/camp.l7
1 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/camp.l b/Build/source/utils/asymptote/camp.l
index 5eb8d706808..278e4b3baad 100644
--- a/Build/source/utils/asymptote/camp.l
+++ b/Build/source/utils/asymptote/camp.l
@@ -27,6 +27,8 @@ using mem::string;
#include "opsymbols.h"
+#define YY_NO_INPUT
+
static void yyunput(int, char *);
void (*unused)(int,char *) = yyunput;
@@ -103,6 +105,11 @@ void savesymbol(symbol name)
#define DEFSYMBOL(name) \
savesymbol(name)
+ /* Extra symbols can be added by EXTRASYMBOL */
+#define EXTRASYMBOL(chars, codename) /* blank */
+
+EXTRASYMBOL(tuple, SYM_TUPLE);
+
void makesymbol()
{
assert(strlen(yytext) == (size_t)yyleng);