Update scanner.c

This commit is contained in:
Gwyn 2026-02-16 16:39:43 -05:00
parent 24ff911c78
commit f7a2389e70

View file

@ -5,7 +5,6 @@ char* reverseStrchr(const char* str, int character) {
char* result = NULL; char* result = NULL;
// Iterate through the string // Iterate through the string
while (*str != '\0') { while (*str != '\0') {
// If the character is found, update the result pointer
if (*str == character) { if (*str == character) {
result = (char*)str; result = (char*)str;
} }
@ -15,7 +14,6 @@ char* reverseStrchr(const char* str, int character) {
} }
void parse (char input[75]) { void parse (char input[75]) {
//Morphs input assuming it's a scan to batch code
int lenny; int lenny;
if (strcmp(&input[0], "") == 0) { if (strcmp(&input[0], "") == 0) {
// pass // pass