New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 or more dimension array parameter needs parenthesis #165

ochafik opened this Issue Sep 1, 2011 · 1 comment


None yet
1 participant

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
Created On: 2011-08-01T13:52:20.000Z
Closed On:

@ghost ghost assigned ochafik Sep 1, 2011


This comment has been minimized.


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