Skip to content
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

macros.cr documentation: Grammar fix #10369

Merged
merged 1 commit into from
Feb 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/compiler/crystal/macros.cr
Original file line number Diff line number Diff line change
Expand Up @@ -1614,10 +1614,10 @@ module Crystal::Macros

# A fictitious node representing an identifier like, `foo`, `Bar` or `something_else`.
#
# The parser doesn't create this nodes. Instead, you create them by invoking `id`
# The parser doesn't create these nodes. Instead, you create them by invoking `id`
# on some nodes. For example, invoking `id` on a `StringLiteral` returns a `MacroId`
# for the string's content. Similarly, invoking ID on a `SymbolLiteral`, `Call`, `Var` and `Path`
# return MacroIds for the node's content.
# returns a MacroId for the node's content.
#
# This allows you to treat strings, symbols, variables and calls uniformly. For example:
#
Expand Down