diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-25 02:20:39 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-25 20:07:10 +0900 |
commit | 1f76e42b85be4031bdedcc3e457e8fa949195304 (patch) | |
tree | d6a8416d0f1c9c1fba5a11bcecb2e50b9abae644 /parse.y | |
parent | 023b8ddd220f2451b51490ee2e48dedb211e2d1b (diff) |
[Bug #19848] Flush BOM
The token just after BOM needs to position at column 0, so that the
indentation matches closing line.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/8281
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9021,6 +9021,7 @@ parser_prepare(struct parser_params *p) } #endif p->lex.pbeg = p->lex.pcur; + token_flush(p); return; } break; |