19 lines
485 B
Rust
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)))
|
|
}
|