This commit is contained in:
Aer Iz 2024-02-11 09:53:28 +02:00
parent 6627ea2127
commit 1739d1afad

View File

@ -26,11 +26,11 @@ typedef enum
static void prefix_operator(Stack *stack, char op)
{
if (NAME[0] != '@' && (NAME[1] == '\0' || NAME[1] == '\n'))
{
printf("%c\n", op);
kms(stack, "Invalid usage of prefix operators");
}
// if (NAME[0] != '@' && (NAME[1] == '\0' || NAME[1] == '\n'))
// {
// printf("%c\n", op);
// kms(stack, "Invalid usage of prefix operators");
// }
switch (op)
{