Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 385189

Summary: Syntax highlight issue with table:send() sentence
Product: [Tools] LDT Reporter: Laurent Barthelemy <lbarthelemy>
Component: LuaDevelopmentToolsAssignee: Kevin KIN-FOO <kkinfoo>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: contact, kkinfoo
Version: 0.9Flags: kkinfoo: review?
Target Milestone: 0.9 M1   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 385014    
Bug Blocks:    

Description Laurent Barthelemy CLA 2012-07-16 10:21:10 EDT
"end" chars from "table.send()" are colored as "if/then/else" reserved words.

ex:

--[[
-- Send measure to ReadyAgent/AMS
--]]
local function pushTable(table, val)
    table :pushRow{timestamp=val[1],
        powerin=val[2],
        boardtemp=val[3],
        rmtemp=val[4],
        resets=val[5],
        powerontime=val[6]}
    
    -- this is done to not let the server with no values for an hour
    if firstMesure == 1 then
        table :send()
        firstMesure = 0
    end
end
Comment 1 Laurent Barthelemy CLA 2012-07-16 10:22:08 EDT
v: 0.9.0.201207152221
Comment 2 Kevin KIN-FOO CLA 2012-07-16 10:33:11 EDT
Fixed in b86c67681a7d7ddb494629b68095e370544d6c2d
Comment 3 Benjamin Cabé CLA 2012-07-16 11:09:38 EDT
VERIFIED in 0.9.0.201207161437.
Cool!