language-stata icon indicating copy to clipboard operation
language-stata copied to clipboard

Substitutable expressions marked as "invalid.illegal.name.stata"

Open simon-d-s opened this issue 6 years ago • 2 comments

In substitutable expressions used for specifying models in various (nonlinear) estimation commands (eg., nl, nlsur, mlen, gmm), curly braces mark parameters and are legal stata code. The stata grammer of language_stata, however, marks them as illegal: image

simon-d-s avatar Oct 03 '18 08:10 simon-d-s

Sorry I didn't see this until now. I'll see if I can relax my assumptions about placement of braces, so that that only declares it an error after if/elif/foreach/forvalues, where there can't be text on the same line after the opening {

kylebarron avatar Oct 29 '18 17:10 kylebarron

@kylebarron Came here to post about this, but I guess I will just bump it :) image

Thanks for a great package overall!

etjernst avatar Apr 09 '20 06:04 etjernst