2 or more dimension array parameter needs parenthesis #165

Closed
ochafik opened this Issue Sep 1, 2011 · 1 comment

Projects

None yet

1 participant

@ochafik
Member
ochafik commented Sep 1, 2011

to produce the problem, see code below:

define row 30

define length 30

char some_paper[row][length+1]

the 0.97 version tool will produce:
public byte[] some_paper = new byte[30*30+1]

Obviously, the expected output is:
public byte[] some_paper = new byte[30*(30+1)]

by the way, 0.98 and 0.99 snapshot lacks a class, and not work when generating java src.

thanks you for your great tool!

Google Code Info:
Issue #: 92
Author: yufan2...@gmail.com
Created On: 2011-08-01T13:52:20.000Z
Closed On:

@ochafik ochafik was assigned Sep 1, 2011
@ochafik
Member
ochafik commented Apr 14, 2012

Fixed in 0.9.10-SNAPSHOT

@ochafik ochafik closed this Apr 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment