Comments are closed
cJass on the Google Code.
Our BugTracker (recommend to post bugreports and features request there).
Beta tester notes.
all times are GMT +03:00Latest posts
Pages: 1 2 3 4 5 6 7 8 9 [10] 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
posted at 08/02/10 07:59Mooglefrooglian
Fixed. It was not antibj bug - it was bug with combination jass style and c style block.
~ADOLF
posted at 08/02/10 01:55Van Damm
posted at 08/02/10 01:46Nestharus
posted at 08/02/10 00:45Van Damm
a) allow single statement ifs to be only single-lined, ie:
<div class="code">if (true) doSomething()</div>
will translate to
<div class="code">if (true) then
doSomething()
endif</div>
<div class="code">if (true) doSomething()</div>
will translate to
<div class="code">if (true) then
doSomething()
endif</div>
but
<div class="code">if (true)
doSomething()</div>
will translate to
<div class="code">if (true) then
endif
doSomething()</div>
<div class="code">if (true)
doSomething()</div>
will translate to
<div class="code">if (true) then
endif
doSomething()</div>
b) forbid using old syntax if statements without then, ie:
<div class="code">if (true)
doSomething()
endif</div>
will give a syntax error
<div class="code">if (true)
doSomething()
endif</div>
will give a syntax error
~VD
posted at 08/02/10 00:21Dark Dragon
posted at 08/02/10 00:04Nestharus
posted at 07/02/10 23:57Van Damm
posted at 07/02/10 23:55ADOLF
posted at 07/02/10 20:58Sebra
posted at 07/02/10 17:10Dark Dragon
posted at 07/02/10 16:11Sebra
posted at 07/02/10 14:25Dark Dragon
posted at 07/02/10 14:07Sebra
It must compiled to:
=======================
if bool1
func1()
endif
if bool1
func1()
endif
func2()
if bool2
func3()
func4()
endif
=======================
func3()
func4()
endif
=======================
Or not?
~ADOLF
edit: oh yes) if () without endif must compile as if () 'next line' endif
posted at 07/02/10 12:38ADOLF
posted at 07/02/10 12:32Dark Dragon
Ok, thx;) I'll fix it asap
~ADOLF