summaryrefslogtreecommitdiff
path: root/parser_node.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-23 01:42:18 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-08 09:04:28 +0900
commitd8e0337d02476f53bd4e33ffa014c7bf41e8ab15 (patch)
treed20e392ccfea8dc907abd99bcaab7bbe0063cd98 /parser_node.h
parente6e4b4884d42a228aa342758318e1621c2552b62 (diff)
Escape the target string to be checked
Comparing file paths as strings may not work well for some reasons, symlink, relative `__FILE__`, etc. Some alternatives are possible: comparing with `File.realpath`, or with `File.identical?`, it should be most robust to escape the target string contained within this file itself.
Diffstat (limited to 'parser_node.h')
0 files changed, 0 insertions, 0 deletions