Re: euc + edx - C generation issue

new topic     » goto parent     » topic index » view thread      » older message » newer message

Looks like the problem is here: compile.e:6170. You should be able to just drop a semicolon in that string and then rebuild the translator.

procedure opGET_KEY() 
-- read an immediate key (if any) from the keyboard or return -1 
    m_stmtln("#if _WIN32") 
        c_stmt0("show_console();") -- <-- missing semicolon goes here 
    m_stmtln("#endif") 
    CSaveStr("_0", Code[pc+1], 0, 0, 0) 
    c_stmt("@ = get_key(0);\n", Code[pc+1]) 
    CDeRefStr("_0") 
    target = {-1, 1000} 
    SetBBType(Code[pc+1], TYPE_INTEGER, target, TYPE_OBJECT, 0) 
    pc += 2 
end procedure 

Alternatively, you can modify that line and then just run eui.exe euc.ex instead of euc.exe to test the changes. It will be slower but the output should be the same.

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu