Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
max-sixty committed Jul 9, 2024
1 parent e411511 commit bef521b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::fmt::Debug;
use chumsky::error::Cheap;
use serde::Serialize;

use super::parser::error::PError;
use super::parser::perror::PError;
use crate::span::Span;

/// A prqlc error. Used internally, exposed as prqlc::ErrorMessage.
Expand Down
4 changes: 2 additions & 2 deletions prqlc/prqlc-parser/src/parser/common.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use chumsky::prelude::*;

use super::perror::PError;
use super::pr::{Annotation, Stmt, StmtKind};
use crate::lexer::lr::TokenKind;
use crate::parser::error::PError;
use crate::parser::pr::{Annotation, Stmt, StmtKind};
use crate::span::Span;

pub fn ident_part() -> impl Parser<TokenKind, String, Error = PError> + Clone {
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/src/parser/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use itertools::Itertools;
use super::interpolation;
use crate::lexer::lr::{Literal, TokenKind};
use crate::parser::common::{ctrl, ident_part, keyword, new_line};
use crate::parser::error::PError;
use crate::parser::perror::PError;
use crate::parser::pr::Ident;
use crate::parser::pr::*;
use crate::parser::pr::{BinOp, UnOp};
Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/src/parser/interpolation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use chumsky::prelude::*;
use itertools::Itertools;

use crate::lexer::lr::{Literal, TokenKind};
use crate::parser::error::{ChumError, PError};
use crate::parser::perror::{ChumError, PError};
use crate::parser::pr::*;
use crate::span::{string_stream, Span};

Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ use crate::lexer::lr;
use crate::span::Span;

mod common;
pub(crate) mod error;
mod expr;
mod interpolation;
pub(crate) mod perror;
pub mod pr;
pub(crate) mod stmt;
#[cfg(test)]
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/src/parser/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use semver::VersionReq;
use super::common::{ctrl, ident_part, into_stmt, keyword, new_line};
use super::expr::{expr, expr_call, ident, pipeline};
use crate::lexer::lr::{Literal, TokenKind};
use crate::parser::error::PError;
use crate::parser::perror::PError;
use crate::parser::pr::*;
use crate::parser::types::type_expr;

Expand Down
2 changes: 1 addition & 1 deletion prqlc/prqlc-parser/src/parser/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use chumsky::prelude::*;

Check warning on line 2 in prqlc/prqlc-parser/src/parser/types.rs

View workflow job for this annotation

GitHub Actions / test-rust (wasm32-unknown-unknown, ubuntu-latest, default) / test-rust

Diff in /home/runner/work/prql/prql/prqlc/prqlc-parser/src/parser/types.rs
use super::common::*;
use crate::lexer::lr::TokenKind;
use crate::parser::error::PError;
use crate::parser::perror::PError;
use crate::parser::expr::ident;
use crate::parser::pr::*;

Expand Down

0 comments on commit bef521b

Please sign in to comment.