I want add a new language. What is possible, I know, but what is the reason for wrong parsing
the code looks like :
[code]
// private typdefs
TYPE PRIVATE
Ts_Status : STRUCT
m_bAbgeblasen : BOOL; // status "abgeblasen"
m_bAngesaugt : BOOL; // status "angesaugt"
m_bBlasen_aktiv: BOOL; // Status "Blasen ist aktiv"
m_bSaugen_aktiv: BOOL; // Status "Saugen ist aktiv"
// nach NEW true, nach DELETE false
m_bReady : BOOL;
END_STRUCT;
You can only add basic language support using Languages.txt, not full. If you add the full language support line to it and there isn't a Perl package made to go along with it, it won't work.
Once you add basic support for a language, described here:
Hi,
I want add a new language. What is possible, I know, but what is the reason for wrong parsing
the code looks like :
[code]
// private typdefs
TYPE PRIVATE
Ts_Status : STRUCT
m_bAbgeblasen : BOOL; // status "abgeblasen"
m_bAngesaugt : BOOL; // status "angesaugt"
m_bBlasen_aktiv: BOOL; // Status "Blasen ist aktiv"
m_bSaugen_aktiv: BOOL; // Status "Saugen ist aktiv"
// nach NEW true, nach DELETE false
m_bReady : BOOL;
END_STRUCT;
END_TYPE
[/code]
I create a new language file, changed language headword with full langue support, but nothing happen.
That is my error of reasoning?
Thanks for your help
Related
Code: code
You can only add basic language support using Languages.txt, not full. If you add the full language support line to it and there isn't a Perl package made to go along with it, it won't work.
Once you add basic support for a language, described here:
http://www.naturaldocs.org/customizinglanguages.html#AddingLanguages
you still need to document your code in Natural Docs' syntax, described here:
http://www.naturaldocs.org/documenting.html
The example you provided does not have the comments formatted in a way Natural Docs would recognize.