The parser configuration file, generic.conf, is a curly brace-enclosed comma-separated list of key/value pairs:
In Perl jargon, it is a hash.
The key is a string.
The value may be a string, a number, a list, an array or a hash.
Since it is Perl, white spaces and ends of line may appear anywhere to give
the list a nicer look.
Thus, it may also be written as:
You may also add comments starting them with a pound sign (#
).
They extend to the end of the line:
Only 3 keys are defined:
The first two, 'ectagsopts'
and 'eclangnamemapping'
allow to tune ectags for identifier and procedure recognition.
Consult ectags documentation.
The last one, 'langmap'
, defines the different languages
understood by the LXR internal parser.
Every language description is a curly brace-enclosed comma-separated list of key/value pairs:
Read carefully the User's Manual if you want to play with the parser.