Kipt / BEdit

Issues and documentation for BEdit
5 stars 0 forks source link

Code in Bitbucket repository fails to parse #50

Open Benjipede opened 3 years ago

Benjipede commented 3 years ago

bmp.bet and png.bet fails to parse (both on Windows 10 and Ubuntu).

-layout bmp.bet:

examples/bmp.bet(64,47): @(Header.FileOffsetToPixelArray) PixelRow(Info.Compression, Info.BitsPerPixel, Info.Width) Rows[abs Info.Height];
                                                                   ~~~~
ERROR Expected start of array declaration.

-layout png.bet:

examples/png.bet(107,21): Chunk[type](size) chunk;
                                      ~~~~
ERROR Expected punctuation , or )
Kipt commented 3 years ago

Thank you for reporting this bug, sadly I cannot reproduce it with the current master branch of the command line (at this time SHA-1: 110af6ba15c3c6cd46f6941e02f053ce5abb3c7f "Reflection for png.bet") nor the 0.2.0 release.

What version are you using? Call the command line with -version parameter to find out.

Benjipede commented 3 years ago

I get

>bedit -version
Version 0.2.0

Unless I somehow accidentally downloaded an earlier commit, it should be the same. It does not happen, when I download the binary.