편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.
최신판 | 당신의 편집 | ||
235번째 줄: | 235번째 줄: | ||
local body = ustring.match(data, "%s*(%d?.)") or '' | local body = ustring.match(data, "%s*(%d?.)") or '' | ||
if (#body == 0) then err(token.error.body, pos, token.chi) end | if (#body == 0) then err(token.error.body, pos, token.chi) end | ||
pos = pos + #body | pos = pos + #body ; data = data:sub(#body+1) | ||
local tail = ustring.match(data, " | local tail = ustring.match(data, "%s*%((.-)%)") or '' -- 괄호 부분 체크 | ||
if (#tail == 0) then err(token.error.braket, pos, token.chi) end | if (#tail == 0) then err(token.error.braket, pos, token.chi) end | ||
pos = pos + #tail | pos = pos + #tail | ||
248번째 줄: | 248번째 줄: | ||
local body = ustring.match(data, "%s*(/?%d?.)") or '' | local body = ustring.match(data, "%s*(/?%d?.)") or '' | ||
if (#body == 0) then err(token.error.body, pos, token.pon) end | if (#body == 0) then err(token.error.body, pos, token.pon) end | ||
pos = pos + #body | pos = pos + #body ; data = data:sub(#body+1) | ||
local tail = ustring.match(data, " | local tail = ustring.match(data, "%s*%((.-)%)") or '' -- 괄호 부분 체크 | ||
if (#tail == 0) then err(token.error.braket, pos, token.pon) end | if (#tail == 0) then err(token.error.braket, pos, token.pon) end | ||
pos = pos + #tail | pos = pos + #tail |