You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$(...) is a valid syntax (believe called nakedvar) that should also be
matched by the CFEngine3 lexer.
Fixes: #767
Signed-off-by: Miek Gieben <miek@miek.nl>
The following snippet returns error tokens with the current XML for cfengine3:
The
$(sys.policy_hub)
isn't detected at all, but returned as:I think this is because currently it is assumed these type a constructs are always embedded in quotes.
The following diff fixes it, but unsure if this should also be a NameVar, @olehermanse any thoughts?
baring any crazier CFengine3 files, this allows me to delete all lexer code dealing with Error tokens in the test corpus I have
The text was updated successfully, but these errors were encountered: