PDA

View Full Version : [ZScript] Problem with importing, and global constants



_L_
11-30-2007, 09:37 AM
Simply put, this ZScript file:

import "std.zh"

const int X = CF_BOMB;...will not compile!

(Should it?)

DarkDragon
12-15-2007, 12:45 PM
Not currently:


ConstDecl : CONST FLOAT IDENTIFIER ASSIGN NUMBER SEMICOLON


Updating the grammar to allow for more flexible consts would definitely be useful, but probably should wait to post-2.50.