mirror of
https://github.com/uutils/coreutils
synced 2024-12-18 00:53:25 +00:00
Add license headers
Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
This commit is contained in:
parent
da46cc8015
commit
0d3fa51d1e
2 changed files with 19 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
// * This file is part of the uutils coreutils package.
|
||||||
|
// *
|
||||||
|
// * (c) Michael Gehring <mg@ebfe.org>
|
||||||
|
// * (c) kwantam <kwantam@gmail.com>
|
||||||
|
// * (c) Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
|
||||||
|
// *
|
||||||
|
// * For the full copyright and license information, please view the LICENSE
|
||||||
|
// * file that was distributed with this source code.
|
||||||
|
|
||||||
// spell-checker:ignore (strings) anychar combinator Alnum Punct Xdigit alnum punct xdigit cntrl
|
// spell-checker:ignore (strings) anychar combinator Alnum Punct Xdigit alnum punct xdigit cntrl
|
||||||
|
|
||||||
use nom::{
|
use nom::{
|
||||||
|
@ -30,9 +39,7 @@ pub enum BadSequence {
|
||||||
impl Display for BadSequence {
|
impl Display for BadSequence {
|
||||||
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
BadSequence::MissingCharClassName => {
|
BadSequence::MissingCharClassName => writeln!(f, "missing character class name '[::]'"),
|
||||||
writeln!(f, "missing character class name '[::]'")
|
|
||||||
}
|
|
||||||
BadSequence::MissingEquivalentClassChar => {
|
BadSequence::MissingEquivalentClassChar => {
|
||||||
writeln!(f, "missing equivalence class character '[==]'")
|
writeln!(f, "missing equivalence class character '[==]'")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,12 @@
|
||||||
|
// * This file is part of the uutils coreutils package.
|
||||||
|
// *
|
||||||
|
// * (c) Michael Gehring <mg@ebfe.org>
|
||||||
|
// * (c) kwantam <kwantam@gmail.com>
|
||||||
|
// * (c) Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
|
||||||
|
// *
|
||||||
|
// * For the full copyright and license information, please view the LICENSE
|
||||||
|
// * file that was distributed with this source code.
|
||||||
|
|
||||||
pub static BEL: char = '\u{0007}';
|
pub static BEL: char = '\u{0007}';
|
||||||
pub static BS: char = '\u{0008}';
|
pub static BS: char = '\u{0008}';
|
||||||
pub static HT: char = '\u{0009}';
|
pub static HT: char = '\u{0009}';
|
||||||
|
|
Loading…
Reference in a new issue