Mercurial > vim
comparison src/testdir/dumps/Test_syntax_c_01.dump @ 14625:cd3f0987c0bc v8.1.0326
patch 8.1.0326: screen dump does not consider NUL and space equal
commit https://github.com/vim/vim/commit/98fc8d7b6c8cc3c2f55e8d08617ecc27a3624899
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 24 21:30:28 2018 +0200
patch 8.1.0326: screen dump does not consider NUL and space equal
Problem: Screen dump does not consider NUL and space equal.
Solution: Use temp variables instead of character from cell.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 24 Aug 2018 21:45:05 +0200 |
parents | 73325d39591a |
children | 72a0dbe1c004 |
comparison
equal
deleted
inserted
replaced
14624:8d62c2813fac | 14625:cd3f0987c0bc |
---|---|
1 >/+0#0000e05#ffffff0|*| |c|o|m@1|e|n|t| |l|i|n|e| |a|t| |t|h|e| |t|o|p| |*|/| +0#0000000&@45 | 1 >/+0#0000e05#ffffff0|*| |c|o|m@1|e|n|t| |l|i|n|e| |a|t| |t|h|e| |t|o|p| |*|/| +0#0000000&@45 |
2 | @1|i+0#00e0003&|n|t| +0#0000000&@69 | 2 @2|i+0#00e0003&|n|t| +0#0000000&@69 |
3 |m|a|i|n|(|i+0#00e0003&|n|t| +0#0000000&|a|r|g|c|,| |c+0#00e0003&|h|a|r| +0#0000000&|*@1|a|r|g|v|)|/+0#0000e05&@1| |a|n|o|t|h|e|r| |c|o|m@1|e|n|t| +0#0000000&@29 | 3 |m|a|i|n|(|i+0#00e0003&|n|t| +0#0000000&|a|r|g|c|,| |c+0#00e0003&|h|a|r| +0#0000000&|*@1|a|r|g|v|)|/+0#0000e05&@1| |a|n|o|t|h|e|r| |c|o|m@1|e|n|t| +0#0000000&@29 |
4 |{| @73 | 4 |{| @73 |
5 |#+0#e000e06&|i|f| |0| +0#0000000&@69 | 5 |#+0#e000e06&|i|f| |0| +0#0000000&@69 |
6 | +0#0000e05&@2|i|n|t| @2|n|o|t|_|u|s|e|d|;| +0#0000000&@56 | 6 | +0#0000e05&@2|i|n|t| @2|n|o|t|_|u|s|e|d|;| +0#0000000&@56 |
7 |#+0#e000e06&|e|l|s|e| +0#0000000&@69 | 7 |#+0#e000e06&|e|l|s|e| +0#0000000&@69 |
8 | @2|i+0#00e0003&|n|t| +0#0000000&@2|u|s|e|d|;| @60 | 8 @3|i+0#00e0003&|n|t| +0#0000000&@2|u|s|e|d|;| @60 |
9 |#+0#e000e06&|e|n|d|i|f| +0#0000000&@68 | 9 |#+0#e000e06&|e|n|d|i|f| +0#0000000&@68 |
10 | @2|p|r|i|n|t|f|(|"+0#e000002&|J|u|s|t| |a|n| |e|x|a|m|p|l|e| |p|i|e|c|e| |o|f| |C| |c|o|d|e|\+0#e000e06&|n|"+0#e000002&|)+0#0000000&|;| @27 | 10 @3|p|r|i|n|t|f|(|"+0#e000002&|J|u|s|t| |a|n| |e|x|a|m|p|l|e| |p|i|e|c|e| |o|f| |C| |c|o|d|e|\+0#e000e06&|n|"+0#e000002&|)+0#0000000&|;| @27 |
11 | @2|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|0+0#e000002&|x|0|f@1|;+0#0000000&| @58 | 11 @3|r+0#af5f00255&|e|t|u|r|n| +0#0000000&|0+0#e000002&|x|0|f@1|;+0#0000000&| @58 |
12 |}| @73 | 12 |}| @73 |
13 | @2|s+0#00e0003&|t|a|t|i|c| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&@60 | 13 @3|s+0#00e0003&|t|a|t|i|c| +0#0000000&|v+0#00e0003&|o|i|d| +0#0000000&@60 |
14 |m|y|F|u|n|c|t|i|o|n|(|c+0#00e0003&|o|n|s|t| +0#0000000&|d+0#00e0003&|o|u|b|l|e| +0#0000000&|c|o|u|n|t|,| |s+0#00e0003&|t|r|u|c|t| +0#0000000&|n|o|t|h|i|n|g|,| |l+0#00e0003&|o|n|g| +0#0000000&|t|h|e|r|e|)| |{| @14 | 14 |m|y|F|u|n|c|t|i|o|n|(|c+0#00e0003&|o|n|s|t| +0#0000000&|d+0#00e0003&|o|u|b|l|e| +0#0000000&|c|o|u|n|t|,| |s+0#00e0003&|t|r|u|c|t| +0#0000000&|n|o|t|h|i|n|g|,| |l+0#00e0003&|o|n|g| +0#0000000&|t|h|e|r|e|)| |{| @14 |
15 | @1|/+0#0000e05&@1| |1+0#e000002&|2|3|:+0#0000e05&| |n|o|t|h|i|n|g| |t|o| |r|e|a|d| |h|e|r|e| +0#0000000&@44 | 15 @2|/+0#0000e05&@1| |1+0#e000002&|2|3|:+0#0000e05&| |n|o|t|h|i|n|g| |t|o| |r|e|a|d| |h|e|r|e| +0#0000000&@44 |
16 | @1|f+0#af5f00255&|o|r| +0#0000000&|(|i+0#00e0003&|n|t| +0#0000000&|i| |=| |0+0#e000002&|;+0#0000000&| |i| |<| |c|o|u|n|t|;| |+@1|i|)| |{| @39 | 16 @2|f+0#af5f00255&|o|r| +0#0000000&|(|i+0#00e0003&|n|t| +0#0000000&|i| |=| |0+0#e000002&|;+0#0000000&| |i| |<| |c|o|u|n|t|;| |+@1|i|)| |{| @39 |
17 | @3|b+0#af5f00255&|r|e|a|k|;+0#0000000&| @64 | 17 @4|b+0#af5f00255&|r|e|a|k|;+0#0000000&| @64 |
18 | @1|}| @71 | 18 @2|}| @71 |
19 |}| @73 | 19 |}| @73 |
20 |"|X|t|e|s|t|.|c|"| |1|9|L|,| |3|6|4|C| @37|1|,|1| @10|A|l@1| | 20 |"|X|t|e|s|t|.|c|"| |1|9|L|,| |3|6|4|C| @37|1|,|1| @10|A|l@1| |