summaryrefslogtreecommitdiff
path: root/apl9.h
diff options
context:
space:
mode:
Diffstat (limited to 'apl9.h')
-rw-r--r--apl9.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apl9.h b/apl9.h
index d51bde1..11643d5 100644
--- a/apl9.h
+++ b/apl9.h
@@ -29,6 +29,7 @@ typedef enum
{
OperatortypeDop,
OperatortypePrim,
+ OperatortypeHybrid,
} operatorType;
typedef enum
@@ -37,6 +38,7 @@ typedef enum
FunctypePrim,
FunctypeOp,
FunctypeQuad,
+ FunctypeHybrid,
} functionType;
typedef enum
@@ -122,6 +124,7 @@ struct Datum
Statement stmt;
Function func;
Operator operator;
+ int hybrid;
Symbol *symbol;
};
};
@@ -274,11 +277,13 @@ extern int datasizes[]; /* array.c */
extern Rune primfuncnames[]; /* functions.c */
extern Rune primmonopnames[]; /* operators.c */
extern Rune primdyadopnames[]; /* operators.c */
-extern Rune primhybridnames[]; /* lexer.c */
+extern Rune primhybridnames[]; /* hybrids.c */
extern fnmonad monadfunctiondefs[]; /* functions.c */
extern fndyad dyadfunctiondefs[]; /* functions.c */
extern opmonad monadoperatordefs[]; /* operators.c */
extern opdyad dyadoperatordefs[]; /* operators.c */
+extern fndyad hybridfunctiondefs[]; /* hybrids.c */
+extern opmonad hybridoperatordefs[]; /* hybrids.c */
extern Symtab *globalsymtab; /* symbol.c */
extern Symtab *currentsymtab; /* symbol.c */
extern int alloccounts; /* memory.c */