Re: Very First Language to Learn: Phix or Euphoria?
- Posted by petelomax Apr 16, 2018
- 2523 views
jmduro said...
elsifdef is not recognized by Phix
Minor correction: it is EU4_0 which is not recognised, it will be in the next release.
(The extra indent worked because after finding ifdef PHIX to be true, the preprocessor simply replaces the whole elsedef..endifdef with spaces, without really parsing it, whereas it choked trying to identify the elsifdef EU4_0 block)
If you want to fix 0.7.9 yourself, there is a
or ttidx=T_EU4_1
in ptok.e line 2539 which wants to become
or ttidx=T_EU4_0 or ttidx=T_EU4_1
and a missing
global constant T_EU4_0 = 5248 tt_stringF("EU4_0",T_EU4_0)
in pttree.e line 1228 (just after T_shrd).
Then just run p -cp and you should be good to go.
Pete