armake icon indicating copy to clipboard operation
armake copied to clipboard

Binarizing throws bracket error

Open pixlcrashr opened this issue 6 years ago • 2 comments

When building a pbo file with binarizing, the lexer throws an error of syntax error, unexpected T_LBRACE, expecting T_EQUALS or T_LBRACKET if a given config file contains class references.

class test; //<- throws an error
class tester: test {};

The lexer might interpret that this would be an actual class (new defined).

pixlcrashr avatar Mar 20 '18 22:03 pixlcrashr

I got this same error message, except it was on an enum declaration. Seems enum needs to be added to the lexer as well

mjmjelde avatar Jul 08 '18 04:07 mjmjelde

Can't reproduce error with class definition's anymore. But yes, armake doesn't support enums. Can you provide a example where you are using enums?

dedmen avatar Nov 20 '18 12:11 dedmen