[futurebasic] Re: [FB] FBToC constant parsing bug?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2009 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Fri, 12 Jun 2009 18:50:01 +1200
Robert Covington wrote:

> begin enum 1
> _item1
> _item2
> _3Ditem
> _Pooey
> end enum

> Error:•• Bad _constant name in line 4
>  4:  _item2

> ...but the problem is apparently that a constant starting with a  
> number is not allowed in FBToC?
> If you remove the 3 from 3Ditem then it works.

Constants must start with an alphabetic character.
The misleading error message is a bug in FBtoC.

Robert P.