2019-07-09 18:08:24 +09:00

19 lines
485 B
Rust

use crate::parser::*;
//use nom::branch::*;
//use nom::combinator::*;
use nom::error::*;
use nom::{Err, IResult};
// -----------------------------------------------------------------------------
#[derive(Debug)]
pub struct UdpDeclaration<'a> {
pub nodes: (Identifier<'a>,),
}
// -----------------------------------------------------------------------------
pub fn udp_declaration(s: Span) -> IResult<Span, UdpDeclaration> {
Err(Err::Error(make_error(s, ErrorKind::Fix)))
}