Skip to content

Commit

Permalink
YAYA Tc569-1のLINT系関数とOUTPUTNUM関数に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolat committed Jan 8, 2022
1 parent f1b2315 commit b877a7b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions yaya_saori/builtins.aym
Original file line number Diff line number Diff line change
Expand Up @@ -1840,3 +1840,32 @@ strdigest
{
RES.RESULT = STRDIGEST(REQ.ARGS[0], REQ.ARGS[1])
}

//Tc569-1
lint.getuserdeffuncusedby{lint.common()}
lint.getfuncusedby{lint.common()}
lint.getglobalvarusedby{lint.common()}
lint.getlocalvarusedby{lint.common()}
lint.getglobalvarletted{lint.common()}
lint.getlocalvarletted{lint.common()}
lint.common
{
_a = EVAL(REQ.ARGUMENT0 + '(REQ.ARGS[0])')
_type = GETTYPEEX('_a')
if _type == 4 {
_i = 0
foreach _a; _v {
LETTONAME("RES.VALUE%(_i)", _v)
_i ++
}
RES.RESULT = ''
}
else {
RES.RESULT = _a
}
}

outputnum
{
RES.RESULT = OUTPUTNUM(REQ.ARGS[0])
}
Binary file modified yaya_saori/yaya.dll
Binary file not shown.

0 comments on commit b877a7b

Please sign in to comment.