-
Notifications
You must be signed in to change notification settings - Fork 0
Spec the compact import section #2
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -344,6 +344,7 @@ $${grammar: Tstart_} | |
| .. index:: import, name, tag type, global type, memory type, table type, function type | ||
| pair: text format; import | ||
| .. _text-import: | ||
| .. _text-imports: | ||
|
|
||
| Imports | ||
| ~~~~~~~ | ||
|
|
@@ -356,7 +357,11 @@ $${grammar: Timport_/plain} | |
| Abbreviations | ||
| ............. | ||
|
|
||
| As an abbreviation, imports may also be specified inline with | ||
| Multiple imports with the same ${:nm_1} may be declared together: | ||
|
|
||
| $${grammar: Timports_/abbrev} | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems strange to me that the abbreviation has a different name from the main declaration, but I don't see a way to unify them. For function locals, for example, the declaration is always |
||
|
|
||
| Imports may also be specified inline with | ||
| :ref:`tag <text-tag>`, | ||
| :ref:`global <text-global>`, | ||
| :ref:`memory <text-mem>`, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.