File tree 3 files changed +450
-21
lines changed
3 files changed +450
-21
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ cargo run --release
27
27
## Extensions
28
28
### GNU
29
29
* Command-line arguments can be specified in long (` -- ` ) form.
30
+ * Spaces can precede a regular expression modifier.
31
+
32
+ ### BSD and GNU
33
+ * The second address in a range can be specified as a relative address with +N.
30
34
31
35
### Other
32
36
* Unicode characters can be specified in regular expression pattern, replacement
Original file line number Diff line number Diff line change @@ -107,6 +107,21 @@ pub struct Command {
107
107
pub next : Option < Box < Command > > , // Pointer to next command
108
108
}
109
109
110
+ impl Default for Command {
111
+ fn default ( ) -> Self {
112
+ Command {
113
+ code : '_' ,
114
+ addr1 : None ,
115
+ addr2 : None ,
116
+ non_select : false ,
117
+ start_line : Some ( 0 ) ,
118
+ text : None ,
119
+ data : CommandData :: None ,
120
+ next : None ,
121
+ }
122
+ }
123
+ }
124
+
110
125
#[ derive( Debug ) ]
111
126
pub enum CommandData {
112
127
None ,
You can’t perform that action at this time.
0 commit comments