diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2024-03-15 13:24:23 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-03-15 13:31:02 +0000 |
commit | f2e96d4bd90595b0818f02559a53905174496e34 (patch) | |
tree | 1f732d276d95dc0c671e97dd710c1a5f62e24c37 /test/prism/snapshots/keywords.txt | |
parent | ec4333c9703939109588af87936ee43ad48f9dcc (diff) |
[ruby/prism] Add PM_STRING_FLAGS_FROZEN / PM_STRING_FLAGS_MUTABLE on PM_SOURCE_FILE_NODE
For all intent and purposes, `__FILE__` is a string literal subject
to the `# frozen_string_literal: true/false` comment and to the
global `--enable-frozen-string-literal / --disable-frozen-string-literal`
CLI flags.
https://github.com/ruby/prism/commit/7e33c92afd
Diffstat (limited to 'test/prism/snapshots/keywords.txt')
-rw-r--r-- | test/prism/snapshots/keywords.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/prism/snapshots/keywords.txt b/test/prism/snapshots/keywords.txt index 6df11487d7..8a93c38bfd 100644 --- a/test/prism/snapshots/keywords.txt +++ b/test/prism/snapshots/keywords.txt @@ -8,5 +8,6 @@ ├── @ SelfNode (location: (5,0)-(5,4)) ├── @ SourceEncodingNode (location: (7,0)-(7,12)) ├── @ SourceFileNode (location: (9,0)-(9,8)) + │ ├── flags: ∅ │ └── filepath: "keywords.txt" └── @ SourceLineNode (location: (11,0)-(11,8)) |