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

Treat __name the same as __node #494

Merged
merged 4 commits into from
Nov 22, 2019
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion rcl/include/rcl/lexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ typedef enum rcl_lexeme_t
RCL_LEXEME_URL_TOPIC = 4,
/// :
RCL_LEXEME_COLON = 5,
/// __node
/// __node or __name
RCL_LEXEME_NODE = 6,
/// __ns
RCL_LEXEME_NS = 7,
Expand Down
2 changes: 1 addition & 1 deletion rcl/src/rcl/arguments.c
Original file line number Diff line number Diff line change
Expand Up @@ -1557,7 +1557,7 @@ _rcl_parse_remap_namespace_replacement(
return RCL_RET_OK;
}

/// Parse a nodename replacement rule (ex: `__node:=new_name`).
/// Parse a nodename replacement rule (ex: `__node:=new_name` or `__name:=new_name`).
/**
* \sa _rcl_parse_remap_begin_remap_rule()
*/
Expand Down
Loading