Re: Textpad not recognizing ‘-‘ in identifier

Bob Deskin Bob.Deskin at ca.ibm.com
Tue Sep 16 11:37:38 CDT 2008


I use TextPad and the powerhouse.syn file. I don't think it's the hyphen. 
Rather I think it's looking at each token that's separated by an operator 
or special character. For example, I entered

file test-this primary

and test-this is not coloured. Whereas if I enter

file test-file primary

-file is coloured blue presumably because the word/token "file" is in the 
list of syntax.

Bob 



From:
Peter Bateman <peterbateman808 at hotmail.com>
To:
<powerh-l at lists.sowder.com>
Date:
2008-09-16 10:29 am
Subject:
Textpad not recognizing ‘-‘ in identifier



Hi all:
 
I have allowed '-' to be a valid character in an identifier in the PDL.

However, Textpad does not  recognize this. Instead 
it recognize '-' as an operator.
 
In the following example '-MASTER' is colored blue where as MANUAL 
is colored black.

File MANUAL-MASTER designer alias MASTER_DES
 
Has anyone managed with modification to PowerHouse.Syn to get
Textpad to recognize '-'  as both an arithmetic operator and as an 
embedded 
character in an identifier.
 
Thanks,
Peter Bateman

-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: 'subscribe' in message body to 
powerh-l-request at lists.sowder.com
Unsubscribe: 'unsubscribe &lt;password&gt;' in message body to 
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the 
list archive at Google.





More information about the powerh-l mailing list