TYPEDEF TUPLE <INT id, INT score> MatchResultPair;
see the compiling error when run in up line command from gsql function. what is wrong?
line 85:4 mismatched input ‘typedef’ expecting {ABORT, ANY, AVG, BREAK, BY, CASE, COALESCE, COMMIT, CONTINUE, COUNT, DATETIME_ADD, DATETIME_SUB, DELETE, DISTINCT, FALSE, FILE, FOREACH, GROUP, IF, INSERT, ISEMPTY, LASTHOP, LIST, LOG, MAP, MATCH, MAX, MIN, NOT, NOW, PATH, PER, PRINT, RAISE, RANGE, RETURN, SELECT, SELECT_VERTEX, SRC, SUM, TGT, TO_DATETIME, TRIM, TRUE, TRY, UPDATE, WHILE, GSQL_INT_MAX, GSQL_INT_MIN, GSQL_UINT_MAX, RESET_COLLECTION_ACCUM, ‘__ENGINE__E_ATTR’, ‘__ENGINE__SRC_ATTR’, ‘__ENGINE__TGT_ATTR’, ‘__ENGINE__V_ATTR’, ‘__ENGINE__SRC_VAL’, ‘__ENGINE__TGT_VAL’, ‘__ENGINE__V_VAL’, ‘__ENGINE__MESSAGE’, ‘__ENGINE__CONTEXT’, ‘__ENGINE__REQUEST’, ‘__ENGINE__SERVICEAPI’, ‘(’, ‘[’, ‘-’, ‘.’, ‘_’, CONST_INT, CONST_STR, NAME, GACCNAME}
Parsing encountered 1 syntax error(s)