Loading GRAMMAR +2 −2 Original line number Diff line number Diff line Loading @@ -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 ')' Loading @@ -35,7 +35,7 @@ redirection: [NUMBER] '>' WORD | [NUMBER] '>|' WORD | [NUMBER] '<>' WORD cmd_prefix: ASSIGMENT_WORD prefix: ASSIGMENT_WORD | redirection element: WORD Loading TODO +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 configure.ac +2 −1 Original line number Diff line number Diff line Loading @@ -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`" Loading Loading @@ -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 Loading Loading
GRAMMAR +2 −2 Original line number Diff line number Diff line Loading @@ -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 ')' Loading @@ -35,7 +35,7 @@ redirection: [NUMBER] '>' WORD | [NUMBER] '>|' WORD | [NUMBER] '<>' WORD cmd_prefix: ASSIGMENT_WORD prefix: ASSIGMENT_WORD | redirection element: WORD Loading
TODO +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
configure.ac +2 −1 Original line number Diff line number Diff line Loading @@ -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`" Loading Loading @@ -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 Loading