-
Notifications
You must be signed in to change notification settings - Fork 41
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
Ambiguities in macros of Text #2416
Comments
It should be |
The text strings to the right of the line are the hard-coded strings I would expect. So to summarize:
I think the precedence of |
I would propose clarify as follows: |
Sounds good to me. |
Agreement by language group. |
And %name, %par means that they are not immediately followed by an identifier character (alpha-numeric and _). |
For quoted identifiers require the We recommend to use |
Clarify macros for text Closes modelica#2416
The way I read it, there still seem to be ambiguities in the specification of how to expand text macros (18.6.5.5 of the 3.5-dev specification).
%{class}
,%{name}
and%{comment}
be expanded to, if anything?name
, what does%name
expand to? The component name or the parameter value?There was a lot of discussion in #2148, but I haven't found a clear answer to the above.
The text was updated successfully, but these errors were encountered: