[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

treelang does not support empty argument lists



>Submitter-Id:	net
>Originator:	
>Organization:	
>Confidential:	no
>Synopsis:	treelang does not support empty argument lists
>Severity:	serious 
>Priority:	low
>Category:	
>Class:		change-request
>Release:	3.3.2 20030908 (Debian prerelease) (Debian testing/unstable)
>Environment:
System: Linux fra 2.4.22-1-686-smp #1 SMP Sat Sep 6 00:06:59 EST 2003 i686 GNU/Linux
Architecture: i686

	
host: i486-pc-linux-gnu
build: i486-pc-linux-gnu
target: i486-pc-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
>Description:
  The treelang frontend appears to have no support for empty parameter
  lists. To study a very simple call in some language, it would be useful
  if this case was covered as well in treelang. For example, the following
  program should compile:


external_definition void main();

main
{
}
>How-To-Repeat:
  The program above gives the error message

  foo.tree:1:31: syntax error, unexpected RIGHT_PARENTHESIS, expecting CHAR or INT or UNSIGNED or VOID
>Fix:



Reply to: