From 89b761b46eabcf04be62d54496899dc10389dea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Wed, 23 Aug 2006 16:48:15 +0000 Subject: [PATCH] "Retirage" de DEBUG42 dans les options de compil ajout du repertoire pour le man --- GRAMMAR | 4 ++-- TODO | 1 + configure.ac | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/GRAMMAR b/GRAMMAR index eec3387..e52fb9d 100644 --- a/GRAMMAR +++ b/GRAMMAR @@ -13,7 +13,7 @@ command: simple_command | shell_command (redirection)* | funcdec -simple_command: (cmp_prefix)* (element)+ +simple_command: (prefix)* (element)+ shell_command: '{' compound_list '}' | '(' compound_list ')' @@ -35,7 +35,7 @@ redirection: [NUMBER] '>' WORD | [NUMBER] '>|' WORD | [NUMBER] '<>' WORD -cmd_prefix: ASSIGMENT_WORD +prefix: ASSIGMENT_WORD | redirection element: WORD diff --git a/TODO b/TODO index e69de29..e8d5c67 100644 --- a/TODO +++ b/TODO @@ -0,0 +1 @@ +lexer: verifier si un EOF apparait si le dernier token est bien pris en compte \ No newline at end of file diff --git a/configure.ac b/configure.ac index 557712c..b1b8285 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,7 @@ case $host_os in ;; *linux*) AC_SUBST([CFLAGS], ['-Wall -Werror -W -std=c99 -pedantic -D_XOPEN_SOURCE=600']) + AC_SUBST([LDFLAGS], ['-static']) ;; *) pl="`uname -s`" @@ -89,7 +90,7 @@ AC_ARG_WITH([debug], [AS_HELP_STRING([--with-debug], [use -g and don't use -DNDEBUG -O3])], [dnl action-if-given: --with-debug => -g || --without-debug => -DNDEBUG if test x$withval = xyes; then - CFLAGS="$CFLAGS -g -DDEBUG42" + CFLAGS="$CFLAGS -g" else CFLAGS="$CFLAGS -DNDEBUG -O3" fi -- GitLab