Re: [phix] number niggle
- Posted by petelomax Jan 20, 2021
- 656 views
Yup, this was always the case, and more than a bit silly:
integer integer = 1 atom atom = 2.3 string string = "four" ...etc
Of course after that (at least until they drop out of scope) you can't declare any more integers, atoms, or strings...
So, in pmain.e there were 30 uses of S_Rsvd, delivering "illegal use of a reserved word", that I thought I may as well piggy-back on, 7 of which should not be altered, and 23 that now have a preceding "N<=T_Asm or", or equivalent, so that sort of nonsense will flatly error out in the next release. No doubt a few things will snap, but it runs p -c p and p -test ok with those changes in.
Thanks.
PS Of course there will probably be a whole raft of programmers utterly outraged that I've taken away their right to dump on their own doorstep...