Am 19.06.2017 um 12:05 schrieb Cottrell, Allin:
On Fri, Jun 9, 2017 at 8:38 AM, Sven Schreiber
<svetosch(a)gmx.net> wrote:
>
> - The keyword "const" is not syntax colored if it appears as in
"(const" --
> this is something I've noticed for a long time, but obviously not important.
> But suppose I master the handling of git some day, I guess there is some
> kind of regexp in the source where one could correct that? Where would that
> be, or how could it be found without knowing?
The relevant regexp is in gretl.lang, in the gui2 subdirectory of the source.
This file is actually generated via the "mklang" program, but if you can
suggest an edit to gretl.lang it will be easy enough to back that into mklang.
OK, I haven't found gretl.lang in gui2, only mklang.c. But I found
gretl.lang in my gretl installation under gtksourceview.
I would suggest to move the 'const' keyword simply from the command
definitions to the data-type definitions. I know const is a hybrid, but
it is not a command IMO, and that would solve this minor problem.
thanks,
sven