|
 |
Am 23.06.2020 um 19:25 schrieb Cousin Ricky:
> On 2020-06-23 7:28 AM (-4), William F Pokorny wrote:
...
>> We have the convention today users should not declare IDs with lower
>> case characters because such things might become, or might already be,
>> SDL keywords. What I'm thinking about for povr is adding checking such
>> that users cannot declare/local a name with only (lower case ascii, _)
>> characters. #declare _a =... would be a parsing error.
>>
>> With this in place, I think it would then be the case we could always
>> use something like _<lowercase_parm> for all our parameters without
>> worry of collisions. The _ leading character would never be part of a
>> keyword.
>>
>> Am I missing something with this planned approach?
Been there. Done that.
Curesed a lot.
> I suppose it could work. It could potentially break old scenes, but I
> don't suppose many such scenes exist. None of the stock include files
> have any such names that I can find.
Look harder.
`functions.inc` is what made me put the idea on the back burner.
Post a reply to this message
|
 |