Revert "Merge pull request #4203 from storytold/fix/sonar-s2208-remaining"

This reverts commit 15e4054f7a, reversing
changes made to d7a2591dc0.
This commit is contained in:
bflatastic
2026-10-26 09:56:24 +07:00
parent 15e4054f7a
commit f5c528069f
12 changed files with 12 additions and 15 deletions
+1 -1
View File
@@ -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 -2
View File
@@ -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 -2
View File
@@ -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 {