mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-27 03:06:57 -06:00
Revert "Merge pull request #4203 from storytold/fix/sonar-s2208-remaining"
This reverts commit15e4054f7a, reversing changes made tod7a2591dc0.
This commit is contained in:
@@ -34,7 +34,7 @@ mod sig;
|
||||
|
||||
pub(crate) use declared::{Declared, declarations};
|
||||
use features::platform_name;
|
||||
use sig::{COMPOUND, LineBreaks, Read, Sig, ends_value, for_in, goes_on_after, goes_on_with, is, member_mark, word};
|
||||
use sig::*;
|
||||
|
||||
/// An `#include` line: what it names, its line, and the folders `#includepath` named at that point
|
||||
/// (one list, shared by every line it applies to).
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
//! The names declared, read before the analysis.
|
||||
|
||||
use super::sig::{LineBreaks, Read, Sig, for_in, goes_on_after, goes_on_with, is, member_mark, word};
|
||||
use super::{Acc, Brackets, HashSet, Lexer, T};
|
||||
use super::*;
|
||||
|
||||
/// The names a file's function bodies and its global code declare, read before the analysis. A
|
||||
/// function's `var` statements and the function declarations directly in its body make the names
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
//! The platform features, menu commands and later syntax the analysis recognises.
|
||||
|
||||
use super::sig::{NEWER, Sig, is, member_mark, newer_number, unquote, word};
|
||||
use super::{Analyzer, FeatureId, OutsideId, Pending, T, catalog, report};
|
||||
use super::*;
|
||||
|
||||
/// A global name of the platform the report looks for (`$`, `File`, `Socket`, `alert`, `eval`…).
|
||||
pub(super) fn platform_name(n: &str) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user