Repository navigation
Added lexer support for keywords followed by nested braces - #39
Conversation
|
Hi @ollyfutur Did you run the tests after making your change? As you can see here, when I ran them on GitHub they all failed. To run the tests you need to issue the command: tox -e testsIn the base directory of the package. You also need PLUMED to be available in your PATH for them to run. You can also try building all the inputs into a website that you can load locally by issuing the following commands: cd check_inputs
./make_inputs.shThis creates an html page with all the inputs that could be rendered on it in In my experience, the process of using regex to lex the input is pretty fiddly. If you think that two heads on this might be better than one drop me an email and we can arrange a time for a meeting. |
I only ran the I could not ran the full suite 100% successful locally, I’m not sure why, but the failures are not related to my PR (they are the same before and after the commit). AI points at an upgrade of the Also I suspect there is an unrelated problem in the GitHub CI since it fails at Python setup ( Cheers! |
|
OK. In that case, I will merge (have merged) this and try to find some time to look at how to deal with other problems in the next few days. Once, I fix the problems causes by the changes to Pygments I will create a release so this new code is used to build the manual. Many thanks |
The lexer will now properly decompose
KEYWORD={{...} {...} {...} ... }(one-level nesting only)Solves #38