Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
fix DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
CrysoK committed Jul 26, 2021
1 parent 3c07e7b commit 3822d73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ COMMONFLAGS:=-O2 -ggdb -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wcast-ali
-Wno-discarded-qualifiers -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS \
-fstack-clash-protection -grecord-gcc-switches -fcf-protection -pipe \
-Werror=format-security -Werror=implicit-function-declaration -Wl,-z,defs \
-Wl,-z,relro \
-D DEBUG #Comentar esta linea para eliminar mensajes extra
-Wl,-z,relro
# Opciones solo para C
CFLAGS=$(COMMONFLAGS)
# Opciones solo para C++
Expand Down
7 changes: 1 addition & 6 deletions src/include/LSS.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
#ifndef LSS_H
#define LSS_H

#ifdef DEBUG
#undef DEBUG
#define DEBUG true
#else
#define DEBUG false
#endif
#define DEBUG 0

// Librería estándar que incluye el tipo de dato booleano
#include <stdbool.h>
Expand Down
9 changes: 1 addition & 8 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
/*\
* TRABAJO PRÁCTICO TRANSVERSAL - TEORÍA DE LA COMPUTACIÓN I
*
* @ Ezequiel Lizandro Dzioba
*
* PARTE 1
* 1) Cargar un autómata finito "por partes": primero el conjunto de estados,
* luego el alfabeto y así (la transición de estados cargarla por terna).
Expand Down Expand Up @@ -43,12 +41,7 @@

// PRECOMPILADOR ///////////////////////////////////////////////////////////////

#ifdef DEBUG
#undef DEBUG
#define DEBUG true
#else
#define DEBUG false
#endif
#define DEBUG 0

#include <stdio.h> // Entrada y salida estándar
#include <stdlib.h> // Librería general estándar
Expand Down

0 comments on commit 3822d73

Please sign in to comment.