Commit 89b761b4 authored by Seblu's avatar Seblu
Browse files

"Retirage" de DEBUG42 dans les options de compil

ajout du repertoire pour le man

parent a49bbbdc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
lexer: verifier si un EOF apparait si le dernier token est bien pris en compte
 No newline at end of file
+2 −1
Original line number Diff line number Diff line
@@ -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