| 445 | } |
| 446 | |
| 447 | void StringParser::CheckForMixedSpacesAndTabs() noexcept |
| 448 | { |
| 449 | if (seenMetaCommand && !warnedAboutMixedSpacesAndTabs && seenLeadingSpace && seenLeadingTab) |
| 450 | { |
| 451 | reprap.GetPlatform().MessageF(AddWarning(gb.GetResponseMessageType()), |
| 452 | "both space and tab characters used to indent blocks at/before line %" PRIu32 "\n", gb.GetLineNumber()); |
| 453 | warnedAboutMixedSpacesAndTabs = true; |
| 454 | } |
| 455 | } |
| 456 | |
| 457 | // Check for and process a conditional GCode language command returning true if we found one, false if it's a regular line of GCode that we need to process |
| 458 | // If we just finished skipping an if- or elif-block when the condition was false then 'skippedBlockType' is the type of that block, else it is BlockType::plain |
nothing calls this directly
no test coverage detected