-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
closing parantheses #5
Comments
Other enumerations are highlighted just fine: |
If the semicolon after the enumeration comment is moved to the next line (as in second example) highlighting is correct. |
wrong highlighting (closing parantheses is blue): type trigger_type=enumeration(
event_trig "Event",
cyclic_trig "Cyclic",
cyclic_event_trig "Cyclic + Event",
initial_trig "At Start only",
terminal_trig "At Stop only") "Use as trigger"; correct highlighting: type trigger_type=enumeration(
event_trig "Event",
cyclic_trig "Cyclic",
cyclic_event_trig "Cyclic + Event",
initial_trig "At Start only",
terminal_trig "At Stop only") "Use as trigger"
; correct highlighting: type trigger_type=enumeration(
event_trig "Event",
cyclic_trig "Cyclic",
cyclic_event_trig "Cyclic + Event",
initial_trig "At Start only",
terminal_trig "At Stop only")
"Use as trigger"; |
Should enumeration appear as a keyword in the grammar file? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As pointed out by @tbeu in modelica-3rdparty/Modelica_DeviceDrivers#77 the closing parantheses in the enumeration is not highlighted correctly.
Also see http://bit.ly/1ynaPQT
The text was updated successfully, but these errors were encountered: