home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
guavac-0.2.5-diffs.gz
/
guavac-0.2.5-diffs
Wrap
Text File
|
1996-10-13
|
279KB
|
8,518 lines
This file contains patches that transform the baseline version into
the amiga version. Assuming that you have unarchived the baseline
version in the current directory, just run the command:
patch -p1 -E -b .pbak <diff-file
where 'diff-file' is this patch file. After running patch you should
remove all the generated *.pbak files, and look for any *.rej files
that indicate a problem patching the baseline source.
diff -rup --new-file baseline/contrib/guavac/Makefile.in amiga/contrib/guavac/Makefile.in
--- baseline/contrib/guavac/Makefile.in Fri Aug 2 20:01:36 1996
+++ amiga/contrib/guavac/Makefile.in Sat Sep 28 00:00:00 1996
@@ -3,6 +3,13 @@
# Autoconf for Guavac by Joerg Heitkoetter <joke@Germany.EU.net>, 1996.
# $Id: Makefile.in,v 1.5 1996/08/03 03:01:36 geppetto Exp $
+# Joop van de Wege 24-Jul-1996
+# Added CC=@CXX@ and CC='$(CC)' to MDEFINES so that 'zextract.c' is
+# compiled using gcc instead of using unset CC.
+# Added $(srcdir) to install of classes.zip.
+# It tried to install from the current directory which is wrong
+# when the build dir =! source dir.
+
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
@@ -34,6 +41,7 @@ datadir = $(prefix)/share
datasubdir = $(datadir)/guavac
CCC = @CXX@
+CC = @CXX@ # JOOP: added 24-Jul-1996
CFLAGS = @CFLAGS@
GNUFLAGS = @GNUFLAGS@
TEMPLATEFLAGS = @TEMPLATEFLAGS@
@@ -46,8 +54,8 @@ RANLIB = @RANLIB@
LN_S = @LN_S@
AR = ar
-
-MDEFINES = CCC='$(CCC)' CFLAGS='$(CFLAGS) $(GNUFLAGS)' \
+# JOOP: added CC='$(CC)' to line below.
+MDEFINES = CCC='$(CCC)' CC='$(CC)' CFLAGS='$(CFLAGS) $(GNUFLAGS)' \
TEMPLATEFLAGS='$(TEMPLATEFLAGS)' LDFLAGS='$(LDFLAGS)' LIBS='$(LIBS)' \
prefix='$(prefix)' exec_prefix='$(exec_prefix)' \
bindir='$(bindir)' infodir='$(infodir)' mandir='$(mandir)'
@@ -72,7 +80,7 @@ install: all
$(INSTALL) -d $(datadir)
$(INSTALL) -d $(datasubdir)
rm -rf $(datasubdir)/classes.zip
- $(INSTALL_DATA) classes.zip $(datasubdir)/classes.zip
+ $(INSTALL_DATA) $(srcdir)/classes.zip $(datasubdir)/classes.zip
uninstall:
for subdir in $(SUBDIRS); do \
diff -rup --new-file baseline/contrib/guavac/Product-Info amiga/contrib/guavac/Product-Info
--- baseline/contrib/guavac/Product-Info Wed Dec 31 17:00:00 1969
+++ amiga/contrib/guavac/Product-Info Sat Sep 28 00:00:00 1996
@@ -0,0 +1,25 @@
+.name
+guavac
+.fullname
+Java Compiler
+.type
+Programmer Tool
+.short
+A portable compiler for Java.
+.description
+A portable Java compiler that was developed as part of a much larger project
+to implement a distributed collaborative space using Java bytecode within a
+MUD-like system.
+.version
+0.2.5
+.author
+Effective Edge
+.email
+info@eecs.com
+.distribution
+GNU Public License
+.described-by
+Fred Fish (fnf@ninemoons.com)
+.submittal
+Transfered via ftp from summit.stanford.edu in pub/guavac
+
diff -rup --new-file baseline/contrib/guavac/common/Makefile.in amiga/contrib/guavac/common/Makefile.in
--- baseline/contrib/guavac/common/Makefile.in Sat Jun 29 15:35:55 1996
+++ amiga/contrib/guavac/common/Makefile.in Sat Sep 28 00:00:00 1996
@@ -22,6 +22,8 @@ VERSION = @VERSION@
SHELL = /bin/sh
srcdir = @srcdir@
+VPATH = @srcdir@
+@SET_MAKE@
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
@@ -48,6 +50,8 @@ exec_prefix = @exec_prefix@
bindir = $(exec_prefix)/bin
infodir = $(prefix)/info
+INCLUDES = -I. -I..
+INTERNAL_CFLAGS = $(CFLAGS) $(INCLUDES)
SUBDIRS =
DISTFILES = Makefile.in *.[hC]
@@ -67,39 +71,39 @@ libcommon.a: ${COMMONOBJS}
fi
CommonInstantiations.o: CommonInstantiations.C
- ${CCC} ${CFLAGS} -c CommonInstantiations.C
+ ${CCC} ${INTERNAL_CFLAGS} -c $(srcdir)/CommonInstantiations.C
UnicodeInstantiations.o: UnicodeInstantiations.C
- ${CCC} ${CFLAGS} -c UnicodeInstantiations.C
+ ${CCC} ${INTERNAL_CFLAGS} -c $(srcdir)/UnicodeInstantiations.C
JavaAttribute.o: JavaAttribute.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaAttribute.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaAttribute.C
JavaClassFile.o: JavaClassFile.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaClassFile.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaClassFile.C
JavaConstant.o : JavaConstant.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaConstant.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaConstant.C
JavaFieldInfo.o: JavaFieldInfo.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaFieldInfo.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaFieldInfo.C
JavaMethodInfo.o: JavaMethodInfo.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaMethodInfo.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaMethodInfo.C
unicode_string.o: unicode_string.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c unicode_string.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/unicode_string.C
JavaFieldSignature.o: JavaFieldSignature.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaFieldSignature.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaFieldSignature.C
JavaTypeSignature.o: JavaTypeSignature.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaTypeSignature.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaTypeSignature.C
JavaMethodSignature.o: JavaMethodSignature.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaMethodSignature.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaMethodSignature.C
JavaAccessFlags.o: JavaAccessFlags.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaAccessFlags.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaAccessFlags.C
JavaCodeAttribute.o: JavaCodeAttribute.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaCodeAttribute.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaCodeAttribute.C
FilePath.o: FilePath.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c FilePath.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/FilePath.C
JavaExceptionsTable.o: JavaExceptionsTable.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaExceptionsTable.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaExceptionsTable.C
CommandLine.o: CommandLine.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c CommandLine.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/CommandLine.C
Bitset.o: Bitset.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c Bitset.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/Bitset.C
install: all
@@ -113,6 +117,8 @@ clean: mostlyclean
distclean: clean
rm -f Makefile
+
+realclean: distclean
DISTDIR=../$(PRODUCT)-$(VERSION)/common
diff -rup --new-file baseline/contrib/guavac/compiler/Makefile.in amiga/contrib/guavac/compiler/Makefile.in
--- baseline/contrib/guavac/compiler/Makefile.in Fri Aug 2 20:05:17 1996
+++ amiga/contrib/guavac/compiler/Makefile.in Sat Sep 28 00:00:00 1996
@@ -3,6 +3,10 @@
# Autoconf for Guavac by Joerg Heitkoetter <joke@Germany.EU.net>, 1996.
# $Id: Makefile.in,v 1.10 1996/08/03 03:03:03 geppetto Exp geppetto $
+# Joop van de Wege
+# 24-Jul-1996 Added LDFLAGS to final link step of 'guavac' and 'disassemble'
+# 28-Jul-1996 Added lots of $(srcdir) and fixed parser.C/lexer.C
+
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
@@ -53,6 +57,8 @@ infodir = $(prefix)/info
datadir = $(prefix)/share
datasubdir = $(datadir)/guavac
+INCLUDES = -I. -I.. -I$(srcdir)/../common
+INTERNAL_CFLAGS = $(CFLAGS) $(INCLUDES)
SUBDIRS =
DISTFILES = Makefile.in *.[hcCly] zextract.license.terms
@@ -60,7 +66,7 @@ DISTFILES = Makefile.in *.[hcCly] zextra
all: guavad guavac
guavad: DisassembleMain.o ../common/libcommon.a
- ${CCC} ${CFLAGS} -o $@ DisassembleMain.o ${COMPILELIBS}
+ ${CCC} ${INTERNAL_CFLAGS} -o $@ DisassembleMain.o ${COMPILELIBS} ${LDFLAGS}
COMPILEROBJS = CompilerInstantiations.o CompilerInstantiations2.o \
CompilerInstantiations3.o CompilerMain.o parser.o lexer.o Compiler.o \
@@ -70,62 +76,62 @@ COMPILEROBJS = CompilerInstantiations.o
zextract.o
guavac: ${COMPILEROBJS} ../common/libcommon.a
- ${CCC} ${CFLAGS} -o $@ ${COMPILEROBJS} ${COMPILELIBS}
+ ${CCC} ${INTERNAL_CFLAGS} -o $@ ${COMPILEROBJS} ${COMPILELIBS} ${LDFLAGS}
CompilerInstantiations.o: CompilerInstantiations.C
- ${CCC} ${CFLAGS} -c CompilerInstantiations.C
+ ${CCC} ${INTERNAL_CFLAGS} -c CompilerInstantiations.C
CompilerInstantiations2.o: CompilerInstantiations2.C
- ${CCC} ${CFLAGS} -c CompilerInstantiations2.C
+ ${CCC} ${INTERNAL_CFLAGS} -c CompilerInstantiations2.C
CompilerInstantiations3.o: CompilerInstantiations3.C
- ${CCC} ${CFLAGS} -c CompilerInstantiations3.C
+ ${CCC} ${INTERNAL_CFLAGS} -c CompilerInstantiations3.C
lexer.o: lexer.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c lexer.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c lexer.C
lexer.C: lexer.l
- ${LEX} lexer.l
+ ${LEX} $(srcdir)/lexer.l
parser.o: parser.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c parser.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c parser.C
parser.C: parser.y
- ${YACC} -d parser.y -o parser.C
+ ${YACC} -d $(srcdir)/parser.y -o parser.C
mv parser.C.h parser.h
zextract.o: zextract.c
- ${CCC} ${CFLAGS} -c zextract.c
+ ${CCC} ${INTERNAL_CFLAGS} -c $(srcdir)/zextract.c
DisassembleMain.o: DisassembleMain.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c DisassembleMain.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/DisassembleMain.C
CompilerMain.o: CompilerMain.C
- ${CCC} ${CFLAGS} -DDEFAULT_CLASSPATH=\".:$(datasubdir)/classes.zip\" ${TEMPLATEFLAGS} -c CompilerMain.C
+ ${CCC} ${INTERNAL_CFLAGS} -DDEFAULT_CLASSPATH=\".:$(datasubdir)/classes.zip\" ${TEMPLATEFLAGS} -c $(srcdir)/CompilerMain.C
Compiler.o: Compiler.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c Compiler.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/Compiler.C
BinaryExpression.o: BinaryExpression.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c BinaryExpression.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/BinaryExpression.C
Expression.o: Expression.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c Expression.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/Expression.C
IntermediateClass.o: IntermediateClass.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c IntermediateClass.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/IntermediateClass.C
IntermediateFunction.o: IntermediateFunction.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c IntermediateFunction.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/IntermediateFunction.C
VariableDeclaration.o: VariableDeclaration.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c VariableDeclaration.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/VariableDeclaration.C
Statement.o: Statement.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c Statement.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/Statement.C
CompileError.o: CompileError.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c CompileError.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/CompileError.C
FilterMain.o: FilterMain.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c FilterMain.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/FilterMain.C
CompileContext.o: CompileContext.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c CompileContext.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/CompileContext.C
NonlocalBranch.o: NonlocalBranch.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c NonlocalBranch.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/NonlocalBranch.C
CodeSequence.o: CodeSequence.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c CodeSequence.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/CodeSequence.C
JavaDirectory.o: JavaDirectory.C
- ${CCC} ${CFLAGS} ${TEMPLATEFLAGS} -c JavaDirectory.C
+ ${CCC} ${INTERNAL_CFLAGS} ${TEMPLATEFLAGS} -c $(srcdir)/JavaDirectory.C
classfilter: FilterMain.o
- ${CCC} ${CFLAGS} FilterMain.o ${COMPILELIBS} -o classfilter
+ ${CCC} ${INTERNAL_CFLAGS} FilterMain.o ${COMPILELIBS} -o classfilter
install: all
$(INSTALL_PROGRAM) guavac ${bindir}
diff -rup --new-file baseline/contrib/guavac/compiler/lexer.C amiga/contrib/guavac/compiler/lexer.C
--- baseline/contrib/guavac/compiler/lexer.C Fri Aug 2 20:04:37 1996
+++ amiga/contrib/guavac/compiler/lexer.C Wed Dec 31 17:00:00 1969
@@ -1,2395 +0,0 @@
-#line 2 "lexer.C"
-/* A lexical scanner generated by flex */
-
-/* Scanner skeleton version:
- * $Header: /home/daffy/u0/vern/flex/RCS/flex.skl,v 2.85 95/04/24 10:48:47 vern Exp $
- */
-
-#define FLEX_SCANNER
-#define YY_FLEX_MAJOR_VERSION 2
-#define YY_FLEX_MINOR_VERSION 5
-
-#include <stdio.h>
-
-
-/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
-#ifdef c_plusplus
-#ifndef __cplusplus
-#define __cplusplus
-#endif
-#endif
-
-
-#ifdef __cplusplus
-
-#include <stdlib.h>
-#include <unistd.h>
-
-/* Use prototypes in function declarations. */
-#define YY_USE_PROTOS
-
-/* The "const" storage-class-modifier is valid. */
-#define YY_USE_CONST
-
-#else /* ! __cplusplus */
-
-#if __STDC__
-
-#define YY_USE_PROTOS
-#define YY_USE_CONST
-
-#endif /* __STDC__ */
-#endif /* ! __cplusplus */
-
-#ifdef __TURBOC__
- #pragma warn -rch
- #pragma warn -use
-#include <io.h>
-#include <stdlib.h>
-#define YY_USE_CONST
-#define YY_USE_PROTOS
-#endif
-
-#ifdef YY_USE_CONST
-#define yyconst const
-#else
-#define yyconst
-#endif
-
-
-#ifdef YY_USE_PROTOS
-#define YY_PROTO(proto) proto
-#else
-#define YY_PROTO(proto) ()
-#endif
-
-/* Returned upon end-of-file. */
-#define YY_NULL 0
-
-/* Promotes a possibly negative, possibly signed char to an unsigned
- * integer for use as an array index. If the signed char is negative,
- * we want to instead treat it as an 8-bit unsigned char, hence the
- * double cast.
- */
-#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
-
-/* Enter a start condition. This macro really ought to take a parameter,
- * but we do it the disgusting crufty way forced on us by the ()-less
- * definition of BEGIN.
- */
-#define BEGIN yy_start = 1 + 2 *
-
-/* Translate the current start state into a value that can be later handed
- * to BEGIN to return to the state. The YYSTATE alias is for lex
- * compatibility.
- */
-#define YY_START ((yy_start - 1) / 2)
-#define YYSTATE YY_START
-
-/* Action number for EOF rule of a given start state. */
-#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
-
-/* Special action meaning "start processing a new file". */
-#define YY_NEW_FILE yyrestart( yyin )
-
-#define YY_END_OF_BUFFER_CHAR 0
-
-/* Size of default input buffer. */
-#define YY_BUF_SIZE 16384
-
-typedef struct yy_buffer_state *YY_BUFFER_STATE;
-
-extern int yyleng;
-extern FILE *yyin, *yyout;
-
-#define EOB_ACT_CONTINUE_SCAN 0
-#define EOB_ACT_END_OF_FILE 1
-#define EOB_ACT_LAST_MATCH 2
-
-/* The funky do-while in the following #define is used to turn the definition
- * int a single C statement (which needs a semi-colon terminator). This
- * avoids problems with code like:
- *
- * if ( condition_holds )
- * yyless( 5 );
- * else
- * do_something_else();
- *
- * Prior to using the do-while the compiler would get upset at the
- * "else" because it interpreted the "if" statement as being all
- * done when it reached the ';' after the yyless() call.
- */
-
-/* Return all but the first 'n' matched characters back to the input stream. */
-
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yytext. */ \
- *yy_cp = yy_hold_char; \
- yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
- YY_DO_BEFORE_ACTION; /* set up yytext again */ \
- } \
- while ( 0 )
-
-#define unput(c) yyunput( c, yytext_ptr )
-
-/* The following is because we cannot portably get our hands on size_t
- * (without autoconf's help, which isn't available because we want
- * flex-generated scanners to compile on their own).
- */
-typedef unsigned int yy_size_t;
-
-
-struct yy_buffer_state
- {
- FILE *yy_input_file;
-
- char *yy_ch_buf; /* input buffer */
- char *yy_buf_pos; /* current position in input buffer */
-
- /* Size of input buffer in bytes, not including room for EOB
- * characters.
- */
- yy_size_t yy_buf_size;
-
- /* Number of characters read into yy_ch_buf, not including EOB
- * characters.
- */
- int yy_n_chars;
-
- /* Whether we "own" the buffer - i.e., we know we created it,
- * and can realloc() it to grow it, and should free() it to
- * delete it.
- */
- int yy_is_our_buffer;
-
- /* Whether this is an "interactive" input source; if so, and
- * if we're using stdio for input, then we want to use getc()
- * instead of fread(), to make sure we stop fetching input after
- * each newline.
- */
- int yy_is_interactive;
-
- /* Whether we're considered to be at the beginning of a line.
- * If so, '^' rules will be active on the next match, otherwise
- * not.
- */
- int yy_at_bol;
-
- /* Whether to try to fill the input buffer when we reach the
- * end of it.
- */
- int yy_fill_buffer;
-
- int yy_buffer_status;
-#define YY_BUFFER_NEW 0
-#define YY_BUFFER_NORMAL 1
- /* When an EOF's been seen but there's still some text to process
- * then we mark the buffer as YY_EOF_PENDING, to indicate that we
- * shouldn't try reading from the input source any more. We might
- * still have a bunch of tokens to match, though, because of
- * possible backing-up.
- *
- * When we actually see the EOF, we change the status to "new"
- * (via yyrestart()), so that the user can continue scanning by
- * just pointing yyin at a new input file.
- */
-#define YY_BUFFER_EOF_PENDING 2
- };
-
-static YY_BUFFER_STATE yy_current_buffer = 0;
-
-/* We provide macros for accessing buffer states in case in the
- * future we want to put the buffer states in a more general
- * "scanner state".
- */
-#define YY_CURRENT_BUFFER yy_current_buffer
-
-
-/* yy_hold_char holds the character lost when yytext is formed. */
-static char yy_hold_char;
-
-static int yy_n_chars; /* number of characters read into yy_ch_buf */
-
-
-int yyleng;
-
-/* Points to current character in buffer. */
-static char *yy_c_buf_p = (char *) 0;
-static int yy_init = 1; /* whether we need to initialize */
-static int yy_start = 0; /* start state number */
-
-/* Flag which is used to allow yywrap()'s to do buffer switches
- * instead of setting up a fresh yyin. A bit of a hack ...
- */
-static int yy_did_buffer_switch_on_eof;
-
-void yyrestart YY_PROTO(( FILE *input_file ));
-
-void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
-void yy_load_buffer_state YY_PROTO(( void ));
-YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
-void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
-void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
-#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
-
-YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
-YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *str ));
-YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
-
-static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
-static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
-static void yy_flex_free YY_PROTO(( void * ));
-
-#define yy_new_buffer yy_create_buffer
-
-#define yy_set_interactive(is_interactive) \
- { \
- if ( ! yy_current_buffer ) \
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
- yy_current_buffer->yy_is_interactive = is_interactive; \
- }
-
-#define yy_set_bol(at_bol) \
- { \
- if ( ! yy_current_buffer ) \
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
- yy_current_buffer->yy_at_bol = at_bol; \
- }
-
-#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
-
-
-#define YY_USES_REJECT
-
-#define yywrap() 1
-#define YY_SKIP_YYWRAP
-typedef unsigned char YY_CHAR;
-FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
-typedef int yy_state_type;
-extern int yylineno;
-int yylineno = 1;
-extern char *yytext;
-#define yytext_ptr yytext
-
-static yy_state_type yy_get_previous_state YY_PROTO(( void ));
-static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
-static int yy_get_next_buffer YY_PROTO(( void ));
-static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
-
-/* Done after the current pattern has been matched and before the
- * corresponding action - sets up yytext.
- */
-#define YY_DO_BEFORE_ACTION \
- yytext_ptr = yy_bp; \
- yyleng = (int) (yy_cp - yy_bp); \
- yy_hold_char = *yy_cp; \
- *yy_cp = '\0'; \
- yy_c_buf_p = yy_cp;
-
-#define YY_NUM_RULES 91
-#define YY_END_OF_BUFFER 92
-static yyconst short int yy_acclist[416] =
- { 0,
- 92, 90, 91, 7, 90, 91, 7, 91, 88, 90,
- 91, 90, 91, 89, 90, 91, 88, 90, 91, 88,
- 90, 91, 90, 91, 88, 90, 91, 88, 90, 91,
- 88, 90, 91, 88, 90, 91, 88, 90, 91, 88,
- 90, 91, 13, 90, 91, 11, 90, 91, 88, 90,
- 91, 88, 90, 91, 88, 90, 91, 88, 90, 91,
- 89, 90, 91, 89, 90, 91, 89, 90, 91, 89,
- 90, 91, 89, 90, 91, 89, 90, 91, 89, 90,
- 91, 89, 90, 91, 89, 90, 91, 89, 90, 91,
- 89, 90, 91, 89, 90, 91, 89, 90, 91, 89,
-
- 90, 91, 89, 90, 91, 88, 90, 91, 3, 91,
- 4, 91, 3, 91, 3, 91, 7, 87, 17, 89,
- 73, 82, 74, 71, 80, 69, 81, 70, 16, 5,
- 6, 72, 16, 13, 16, 15, 10, 11, 8, 79,
- 84, 86, 85, 77, 75, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 28, 89, 89, 89, 89, 89,
- 89, 89, 37, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 76, 83, 2, 1, 14, 6, 16,
- 16, 12, 68, 66, 78, 89, 89, 89, 89, 89,
-
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 36, 89, 89, 89, 41, 89, 89, 89, 45,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 89, 89, 89, 63, 89, 89, 89,
- 89, 16, 9, 67, 89, 89, 89, 21, 89, 22,
- 89, 89, 24, 89, 89, 89, 89, 89, 30, 89,
- 89, 89, 89, 89, 89, 89, 89, 89, 43, 89,
- 89, 46, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 89, 89, 57, 89, 89, 89, 62, 89, 64,
- 89, 89, 89, 89, 89, 20, 89, 23, 89, 25,
-
- 89, 89, 89, 89, 89, 32, 89, 33, 89, 35,
- 89, 89, 89, 89, 89, 89, 89, 89, 89, 89,
- 89, 52, 89, 89, 54, 89, 89, 89, 59, 89,
- 89, 89, 65, 89, 89, 89, 89, 89, 29, 89,
- 89, 89, 89, 39, 89, 89, 89, 44, 89, 89,
- 89, 89, 50, 89, 51, 89, 53, 89, 55, 89,
- 89, 60, 89, 89, 89, 89, 19, 89, 89, 27,
- 89, 31, 89, 34, 89, 89, 89, 89, 47, 89,
- 48, 89, 89, 89, 89, 89, 18, 89, 26, 89,
- 89, 89, 89, 89, 89, 89, 58, 89, 89, 89,
-
- 42, 89, 49, 89, 89, 61, 89, 38, 89, 40,
- 89, 89, 89, 56, 89
- } ;
-
-static yyconst short int yy_accept[341] =
- { 0,
- 1, 1, 1, 1, 1, 2, 4, 7, 9, 12,
- 14, 17, 20, 23, 25, 28, 31, 34, 37, 40,
- 43, 46, 49, 52, 55, 58, 61, 64, 67, 70,
- 73, 76, 79, 82, 85, 88, 91, 94, 97, 100,
- 103, 106, 109, 111, 113, 115, 117, 118, 119, 119,
- 120, 120, 120, 121, 122, 123, 124, 124, 124, 124,
- 125, 126, 127, 128, 129, 130, 131, 132, 133, 134,
- 135, 135, 136, 136, 137, 138, 138, 139, 140, 141,
- 142, 143, 144, 145, 146, 147, 148, 149, 150, 151,
- 152, 153, 154, 155, 157, 158, 159, 160, 161, 162,
-
- 163, 165, 166, 167, 168, 169, 170, 171, 172, 173,
- 174, 175, 176, 177, 178, 179, 180, 181, 182, 183,
- 184, 185, 186, 187, 188, 188, 188, 189, 189, 189,
- 189, 190, 191, 191, 192, 193, 194, 195, 196, 197,
- 198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
- 208, 209, 210, 211, 212, 214, 215, 216, 218, 219,
- 220, 222, 223, 224, 225, 226, 227, 228, 229, 230,
- 231, 232, 233, 234, 235, 236, 237, 239, 240, 241,
- 242, 242, 242, 242, 242, 242, 243, 244, 245, 246,
- 247, 248, 250, 252, 253, 255, 256, 257, 258, 259,
-
- 261, 262, 263, 264, 265, 266, 267, 268, 269, 271,
- 272, 274, 275, 276, 277, 278, 279, 280, 281, 282,
- 283, 284, 286, 287, 288, 290, 292, 293, 294, 294,
- 294, 294, 294, 295, 296, 298, 300, 302, 303, 304,
- 305, 306, 308, 310, 312, 313, 314, 315, 316, 317,
- 318, 319, 320, 321, 322, 324, 325, 327, 328, 329,
- 331, 332, 333, 335, 335, 335, 335, 335, 336, 337,
- 338, 339, 341, 342, 343, 344, 346, 347, 348, 350,
- 351, 352, 353, 355, 357, 359, 361, 362, 364, 365,
- 366, 366, 366, 366, 366, 366, 367, 369, 370, 372,
-
- 374, 376, 377, 378, 379, 381, 383, 384, 385, 386,
- 387, 387, 387, 387, 387, 389, 391, 392, 393, 394,
- 395, 396, 397, 399, 399, 399, 399, 399, 400, 401,
- 403, 405, 406, 408, 410, 412, 413, 414, 416, 416
- } ;
-
-static yyconst int yy_ec[256] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
- 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 2, 4, 5, 1, 6, 7, 8, 9, 10,
- 10, 11, 12, 10, 13, 14, 15, 16, 17, 18,
- 19, 20, 20, 20, 20, 21, 21, 10, 10, 22,
- 23, 24, 10, 1, 25, 25, 25, 26, 27, 28,
- 6, 6, 6, 6, 6, 29, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 30, 6, 6,
- 31, 32, 33, 34, 6, 1, 35, 36, 37, 38,
-
- 39, 40, 41, 42, 43, 6, 44, 45, 46, 47,
- 48, 49, 6, 50, 51, 52, 53, 54, 55, 56,
- 57, 58, 10, 59, 10, 10, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1
- } ;
-
-static yyconst int yy_meta[60] =
- { 0,
- 1, 1, 2, 1, 1, 3, 1, 1, 4, 1,
- 1, 1, 1, 1, 1, 5, 5, 5, 5, 5,
- 5, 1, 1, 1, 6, 5, 6, 5, 3, 3,
- 1, 1, 1, 1, 6, 6, 6, 5, 6, 5,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 1
- } ;
-
-static yyconst short int yy_base[352] =
- { 0,
- 0, 0, 57, 58, 642, 643, 60, 62, 618, 61,
- 0, 617, 59, 39, 643, 616, 62, 63, 78, 64,
- 86, 129, 55, 615, 57, 614, 600, 60, 85, 70,
- 45, 93, 113, 587, 84, 126, 595, 120, 41, 585,
- 590, 106, 643, 643, 616, 619, 86, 643, 139, 643,
- 173, 81, 0, 643, 643, 643, 620, 123, 177, 643,
- 643, 643, 643, 643, 215, 643, 0, 643, 174, 110,
- 242, 643, 190, 643, 643, 0, 0, 643, 605, 643,
- 643, 643, 98, 643, 576, 578, 586, 572, 100, 588,
- 587, 574, 580, 566, 567, 565, 571, 568, 566, 563,
-
- 0, 563, 112, 564, 558, 554, 563, 570, 139, 570,
- 553, 556, 568, 553, 558, 553, 138, 161, 140, 556,
- 643, 643, 643, 643, 195, 278, 643, 581, 588, 203,
- 0, 0, 228, 212, 168, 643, 643, 573, 543, 549,
- 558, 553, 552, 553, 539, 537, 535, 551, 549, 545,
- 544, 531, 546, 545, 0, 153, 527, 539, 536, 533,
- 0, 530, 530, 519, 520, 526, 517, 519, 516, 528,
- 514, 528, 513, 515, 515, 522, 0, 522, 524, 513,
- 246, 303, 539, 0, 255, 262, 643, 643, 506, 516,
- 510, 0, 0, 511, 0, 501, 508, 497, 504, 0,
-
- 501, 508, 501, 493, 505, 493, 507, 491, 0, 486,
- 0, 504, 503, 498, 493, 485, 482, 490, 482, 494,
- 488, 0, 474, 462, 0, 0, 457, 464, 260, 328,
- 463, 0, 446, 445, 0, 0, 0, 432, 422, 426,
- 426, 0, 418, 0, 414, 407, 411, 411, 398, 395,
- 382, 395, 394, 383, 0, 392, 0, 386, 368, 366,
- 373, 372, 0, 345, 363, 292, 0, 377, 366, 358,
- 353, 0, 346, 339, 355, 0, 355, 352, 0, 336,
- 330, 310, 0, 0, 0, 0, 312, 0, 319, 312,
- 354, 388, 280, 317, 277, 300, 0, 312, 0, 0,
-
- 0, 285, 288, 270, 0, 0, 250, 240, 237, 228,
- 390, 407, 424, 436, 0, 0, 214, 209, 200, 199,
- 186, 176, 0, 430, 452, 457, 469, 174, 177, 0,
- 0, 141, 0, 0, 0, 145, 116, 0, 643, 489,
- 495, 499, 505, 511, 513, 516, 130, 518, 106, 520,
- 522
- } ;
-
-static yyconst short int yy_def[352] =
- { 0,
- 339, 1, 340, 340, 339, 339, 339, 339, 339, 341,
- 342, 339, 339, 343, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 339, 339, 339, 339, 339, 339, 339, 341, 339,
- 341, 341, 342, 339, 339, 339, 339, 339, 343, 339,
- 339, 339, 339, 339, 339, 339, 344, 339, 65, 21,
- 339, 339, 339, 339, 339, 345, 22, 339, 339, 339,
- 339, 339, 339, 339, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
-
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 339, 339, 339, 339, 341, 341, 339, 339, 346, 339,
- 344, 69, 339, 347, 345, 339, 339, 339, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 341, 126, 339, 348, 339, 349, 339, 339, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
-
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 341, 126,
- 339, 350, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 341, 126, 339, 351, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 341, 341, 341, 339, 339, 342, 342, 342, 342, 342,
-
- 342, 342, 342, 342, 342, 342, 342, 342, 342, 342,
- 341, 341, 339, 339, 342, 342, 342, 342, 342, 342,
- 342, 342, 342, 341, 341, 339, 339, 342, 342, 342,
- 342, 342, 342, 342, 342, 342, 342, 342, 0, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339
- } ;
-
-static yyconst short int yy_nxt[703] =
- { 0,
- 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 22, 22, 22,
- 22, 23, 24, 25, 11, 11, 11, 11, 11, 11,
- 15, 6, 15, 26, 27, 28, 29, 30, 31, 32,
- 11, 11, 33, 11, 34, 11, 35, 11, 36, 37,
- 38, 39, 11, 40, 41, 11, 11, 11, 42, 44,
- 44, 47, 47, 47, 47, 50, 55, 45, 45, 58,
- 59, 46, 46, 61, 66, 63, 79, 80, 67, 82,
- 83, 56, 117, 339, 62, 64, 68, 47, 47, 95,
- 118, 51, 52, 65, 65, 65, 65, 65, 65, 69,
-
- 96, 70, 70, 70, 70, 70, 71, 86, 93, 87,
- 186, 72, 73, 74, 75, 76, 88, 94, 105, 89,
- 137, 138, 106, 72, 73, 74, 90, 97, 121, 91,
- 75, 127, 92, 126, 134, 98, 107, 99, 128, 339,
- 100, 76, 69, 50, 77, 77, 77, 77, 77, 77,
- 143, 144, 101, 338, 72, 73, 74, 78, 102, 103,
- 108, 112, 157, 158, 122, 339, 72, 73, 74, 51,
- 52, 113, 114, 78, 115, 109, 116, 50, 110, 339,
- 173, 164, 178, 337, 179, 57, 165, 174, 125, 132,
- 132, 132, 132, 132, 132, 175, 187, 205, 336, 50,
-
- 206, 133, 133, 51, 52, 134, 134, 134, 134, 134,
- 134, 181, 187, 176, 185, 185, 335, 177, 186, 186,
- 186, 186, 186, 186, 334, 51, 52, 333, 332, 129,
- 65, 65, 65, 65, 65, 65, 331, 72, 330, 74,
- 72, 130, 74, 134, 134, 134, 134, 134, 134, 72,
- 50, 74, 72, 130, 74, 69, 329, 71, 71, 71,
- 71, 71, 71, 229, 50, 328, 323, 72, 73, 74,
- 186, 186, 186, 186, 186, 186, 51, 52, 264, 72,
- 73, 74, 50, 322, 50, 127, 321, 72, 320, 74,
- 51, 52, 294, 182, 182, 182, 182, 182, 182, 72,
-
- 127, 74, 182, 182, 182, 182, 319, 294, 51, 52,
- 51, 52, 182, 182, 182, 182, 182, 182, 230, 230,
- 230, 230, 230, 230, 295, 127, 318, 230, 230, 230,
- 230, 317, 313, 314, 314, 314, 314, 230, 230, 230,
- 230, 230, 230, 265, 265, 265, 265, 265, 265, 50,
- 316, 315, 265, 265, 265, 265, 310, 309, 50, 308,
- 291, 307, 265, 265, 265, 265, 265, 265, 306, 311,
- 312, 312, 312, 312, 305, 51, 52, 292, 293, 293,
- 293, 293, 293, 293, 51, 52, 304, 293, 293, 293,
- 293, 303, 50, 302, 50, 301, 300, 293, 293, 293,
-
- 293, 293, 293, 291, 299, 324, 325, 325, 325, 325,
- 298, 50, 297, 296, 290, 289, 288, 287, 51, 52,
- 51, 52, 311, 312, 312, 312, 312, 286, 285, 284,
- 283, 282, 127, 281, 50, 280, 279, 51, 52, 326,
- 327, 327, 327, 327, 127, 324, 325, 325, 325, 325,
- 278, 313, 314, 314, 314, 314, 50, 277, 276, 275,
- 51, 52, 274, 273, 272, 127, 271, 324, 325, 325,
- 325, 325, 326, 327, 327, 327, 327, 127, 270, 269,
- 268, 266, 51, 52, 326, 327, 327, 327, 327, 43,
- 43, 43, 43, 43, 43, 49, 49, 49, 49, 49,
-
- 49, 53, 263, 53, 53, 57, 57, 57, 262, 57,
- 57, 131, 261, 131, 131, 131, 131, 135, 135, 184,
- 184, 184, 232, 232, 267, 267, 57, 57, 260, 259,
- 258, 257, 256, 255, 254, 253, 252, 251, 250, 249,
- 248, 247, 246, 245, 244, 243, 242, 241, 240, 239,
- 238, 237, 236, 235, 234, 233, 231, 228, 227, 226,
- 225, 224, 223, 222, 221, 220, 219, 218, 217, 216,
- 215, 214, 213, 212, 211, 210, 209, 208, 207, 204,
- 203, 202, 201, 200, 199, 198, 197, 196, 195, 194,
- 193, 192, 191, 190, 189, 188, 127, 183, 180, 172,
-
- 171, 170, 169, 168, 167, 166, 163, 162, 161, 160,
- 159, 156, 155, 154, 153, 152, 151, 150, 149, 148,
- 147, 146, 145, 142, 141, 140, 139, 136, 127, 124,
- 123, 120, 119, 111, 104, 85, 84, 81, 60, 54,
- 48, 339, 5, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
-
- 339, 339
- } ;
-
-static yyconst short int yy_chk[703] =
- { 0,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 1, 1, 1, 1, 1, 1, 1, 3,
- 4, 7, 7, 8, 8, 10, 13, 3, 4, 14,
- 14, 3, 4, 17, 20, 18, 23, 23, 20, 25,
- 25, 13, 39, 52, 17, 18, 20, 47, 47, 31,
- 39, 10, 10, 19, 19, 19, 19, 19, 19, 21,
-
- 31, 21, 21, 21, 21, 21, 21, 28, 30, 28,
- 349, 21, 21, 21, 21, 21, 28, 30, 35, 29,
- 83, 83, 35, 21, 21, 21, 29, 32, 42, 29,
- 21, 58, 29, 52, 347, 32, 35, 32, 58, 70,
- 32, 21, 22, 49, 22, 22, 22, 22, 22, 22,
- 89, 89, 33, 337, 22, 22, 22, 22, 33, 33,
- 36, 38, 103, 103, 42, 70, 22, 22, 22, 49,
- 49, 38, 38, 22, 38, 36, 38, 51, 36, 59,
- 117, 109, 119, 336, 119, 59, 109, 117, 51, 69,
- 69, 69, 69, 69, 69, 118, 135, 156, 332, 125,
-
- 156, 73, 73, 51, 51, 73, 73, 73, 73, 73,
- 73, 125, 135, 118, 130, 130, 329, 118, 130, 130,
- 130, 130, 130, 130, 328, 125, 125, 322, 321, 59,
- 65, 65, 65, 65, 65, 65, 320, 134, 319, 134,
- 65, 65, 65, 133, 133, 133, 133, 133, 133, 134,
- 181, 134, 65, 65, 65, 71, 318, 71, 71, 71,
- 71, 71, 71, 181, 229, 317, 310, 71, 71, 71,
- 185, 185, 185, 185, 185, 185, 181, 181, 229, 71,
- 71, 71, 126, 309, 293, 295, 308, 186, 307, 186,
- 229, 229, 295, 126, 126, 126, 126, 126, 126, 186,
-
- 266, 186, 126, 126, 126, 126, 304, 266, 126, 126,
- 293, 293, 126, 126, 126, 126, 126, 126, 182, 182,
- 182, 182, 182, 182, 266, 294, 303, 182, 182, 182,
- 182, 302, 294, 294, 294, 294, 294, 182, 182, 182,
- 182, 182, 182, 230, 230, 230, 230, 230, 230, 264,
- 298, 296, 230, 230, 230, 230, 290, 289, 291, 287,
- 264, 282, 230, 230, 230, 230, 230, 230, 281, 291,
- 291, 291, 291, 291, 280, 264, 264, 264, 265, 265,
- 265, 265, 265, 265, 291, 291, 278, 265, 265, 265,
- 265, 277, 292, 275, 311, 274, 273, 265, 265, 265,
-
- 265, 265, 265, 292, 271, 311, 311, 311, 311, 311,
- 270, 312, 269, 268, 262, 261, 260, 259, 292, 292,
- 311, 311, 312, 312, 312, 312, 312, 258, 256, 254,
- 253, 252, 313, 251, 324, 250, 249, 312, 312, 313,
- 313, 313, 313, 313, 314, 324, 324, 324, 324, 324,
- 248, 314, 314, 314, 314, 314, 325, 247, 246, 245,
- 324, 324, 243, 241, 240, 326, 239, 325, 325, 325,
- 325, 325, 326, 326, 326, 326, 326, 327, 238, 234,
- 233, 231, 325, 325, 327, 327, 327, 327, 327, 340,
- 340, 340, 340, 340, 340, 341, 341, 341, 341, 341,
-
- 341, 342, 228, 342, 342, 343, 343, 343, 227, 343,
- 343, 344, 224, 344, 344, 344, 344, 345, 345, 346,
- 346, 346, 348, 348, 350, 350, 351, 351, 223, 221,
- 220, 219, 218, 217, 216, 215, 214, 213, 212, 210,
- 208, 207, 206, 205, 204, 203, 202, 201, 199, 198,
- 197, 196, 194, 191, 190, 189, 183, 180, 179, 178,
- 176, 175, 174, 173, 172, 171, 170, 169, 168, 167,
- 166, 165, 164, 163, 162, 160, 159, 158, 157, 154,
- 153, 152, 151, 150, 149, 148, 147, 146, 145, 144,
- 143, 142, 141, 140, 139, 138, 129, 128, 120, 116,
-
- 115, 114, 113, 112, 111, 110, 108, 107, 106, 105,
- 104, 102, 100, 99, 98, 97, 96, 95, 94, 93,
- 92, 91, 90, 88, 87, 86, 85, 79, 57, 46,
- 45, 41, 40, 37, 34, 27, 26, 24, 16, 12,
- 9, 5, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
- 339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
-
- 339, 339
- } ;
-
-static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
-static char *yy_full_match;
-static int yy_lp;
-#define REJECT \
-{ \
-*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
-yy_cp = yy_full_match; /* restore poss. backed-over text */ \
-++yy_lp; \
-goto find_rule; \
-}
-#define yymore() yymore_used_but_not_detected
-#define YY_MORE_ADJ 0
-char *yytext;
-#line 1 "lexer.l"
-#define INITIAL 0
-#line 2 "lexer.l"
-// Copyright (c) 1995 David Engberg All rights reserved
-// $Id: lexer.l,v 1.6 1996/08/03 03:03:06 geppetto Exp $
- #include <string>
- #include <cstdio>
- #include <cctype>
- #include <stream.h>
- #include "unicode_string.h"
- #include "parser_decls.h"
- #include "parser.h"
-
- YY_BUFFER_STATE gInputBuffer;
-
- unicode_string LexStringToUnicode(const char* inputString);
- unsigned long long ParseLong(const char* inputString, unsigned short base);
-#define YY_NEVER_INTERACTIVE 1
-#define INCOMMENT 1
-
-/*
- * The {DIGIT}+ part of both of these is contrary to the written spec, but
- * their compiler accepts 0f as a valid float literal, so I needed to add this
- * for compatibility.
- */
-/* haven't dealt with their Unicode scheme yet. */
-#line 717 "lexer.C"
-
-/* Macros after this point can all be overridden by user definitions in
- * section 1.
- */
-
-#ifndef YY_SKIP_YYWRAP
-#ifdef __cplusplus
-extern "C" int yywrap YY_PROTO(( void ));
-#else
-extern int yywrap YY_PROTO(( void ));
-#endif
-#endif
-
-#ifndef YY_NO_UNPUT
-static void yyunput YY_PROTO(( int c, char *buf_ptr ));
-#endif
-
-#ifndef yytext_ptr
-static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
-#endif
-
-#ifndef YY_NO_INPUT
-#ifdef __cplusplus
-static int yyinput YY_PROTO(( void ));
-#else
-static int input YY_PROTO(( void ));
-#endif
-#endif
-
-#if YY_STACK_USED
-static int yy_start_stack_ptr = 0;
-static int yy_start_stack_depth = 0;
-static int *yy_start_stack = 0;
-#ifndef YY_NO_PUSH_STATE
-static void yy_push_state YY_PROTO(( int new_state ));
-#endif
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state YY_PROTO(( void ));
-#endif
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state YY_PROTO(( void ));
-#endif
-
-#else
-#define YY_NO_PUSH_STATE 1
-#define YY_NO_POP_STATE 1
-#define YY_NO_TOP_STATE 1
-#endif
-
-#ifdef YY_MALLOC_DECL
-YY_MALLOC_DECL
-#else
-#if __STDC__
-#ifndef __cplusplus
-#include <stdlib.h>
-#endif
-#else
-/* Just try to get by without declaring the routines. This will fail
- * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
- * or sizeof(void*) != sizeof(int).
- */
-#endif
-#endif
-
-/* Amount of stuff to slurp up with each read. */
-#ifndef YY_READ_BUF_SIZE
-#define YY_READ_BUF_SIZE 8192
-#endif
-
-/* Copy whatever the last rule matched to the standard output. */
-
-#ifndef ECHO
-/* This used to be an fputs(), but since the string might contain NUL's,
- * we now use fwrite().
- */
-#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
-#endif
-
-/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
- * is returned in "result".
- */
-#ifndef YY_INPUT
-#define YY_INPUT(buf,result,max_size) \
- if ( yy_current_buffer->yy_is_interactive ) \
- { \
- int c = '*', n; \
- for ( n = 0; n < max_size && \
- (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
- buf[n] = (char) c; \
- if ( c == '\n' ) \
- buf[n++] = (char) c; \
- if ( c == EOF && ferror( yyin ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" ); \
- result = n; \
- } \
- else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
- && ferror( yyin ) ) \
- YY_FATAL_ERROR( "input in flex scanner failed" );
-#endif
-
-/* No semi-colon after return; correct usage is to write "yyterminate();" -
- * we don't want an extra ';' after the "return" because that will cause
- * some compilers to complain about unreachable statements.
- */
-#ifndef yyterminate
-#define yyterminate() return YY_NULL
-#endif
-
-/* Number of entries by which start-condition stack grows. */
-#ifndef YY_START_STACK_INCR
-#define YY_START_STACK_INCR 25
-#endif
-
-/* Report a fatal error. */
-#ifndef YY_FATAL_ERROR
-#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
-#endif
-
-/* Default declaration of generated scanner - a define so the user can
- * easily add parameters.
- */
-#ifndef YY_DECL
-#define YY_DECL int yylex YY_PROTO(( void ))
-#endif
-
-/* Code executed at the beginning of each rule, after yytext and yyleng
- * have been set up.
- */
-#ifndef YY_USER_ACTION
-#define YY_USER_ACTION
-#endif
-
-/* Code executed at the end of each rule. */
-#ifndef YY_BREAK
-#define YY_BREAK break;
-#endif
-
-#define YY_RULE_SETUP \
- YY_USER_ACTION
-
-YY_DECL
- {
- register yy_state_type yy_current_state;
- register char *yy_cp, *yy_bp;
- register int yy_act;
-
-#line 58 "lexer.l"
-
-
-#line 867 "lexer.C"
-
- if ( yy_init )
- {
- yy_init = 0;
-
-#ifdef YY_USER_INIT
- YY_USER_INIT;
-#endif
-
- if ( ! yy_start )
- yy_start = 1; /* first start state */
-
- if ( ! yyin )
- yyin = stdin;
-
- if ( ! yyout )
- yyout = stdout;
-
- if ( ! yy_current_buffer )
- yy_current_buffer =
- yy_create_buffer( yyin, YY_BUF_SIZE );
-
- yy_load_buffer_state();
- }
-
- while ( 1 ) /* loops until end-of-file is reached */
- {
- yy_cp = yy_c_buf_p;
-
- /* Support of yytext. */
- *yy_cp = yy_hold_char;
-
- /* yy_bp points to the position in yy_ch_buf of the start of
- * the current run.
- */
- yy_bp = yy_cp;
-
- yy_current_state = yy_start;
- yy_state_ptr = yy_state_buf;
- *yy_state_ptr++ = yy_current_state;
-yy_match:
- do
- {
- register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 340 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- *yy_state_ptr++ = yy_current_state;
- ++yy_cp;
- }
- while ( yy_base[yy_current_state] != 643 );
-
-yy_find_action:
- yy_current_state = *--yy_state_ptr;
- yy_lp = yy_accept[yy_current_state];
-find_rule: /* we branch to this label when backing up */
- for ( ; ; ) /* until we find what rule we matched */
- {
- if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
- {
- yy_act = yy_acclist[yy_lp];
- {
- yy_full_match = yy_cp;
- break;
- }
- }
- --yy_cp;
- yy_current_state = *--yy_state_ptr;
- yy_lp = yy_accept[yy_current_state];
- }
-
- YY_DO_BEFORE_ACTION;
-
- if ( yy_act != YY_END_OF_BUFFER )
- {
- int yyl;
- for ( yyl = 0; yyl < yyleng; ++yyl )
- if ( yytext[yyl] == '\n' )
- ++yylineno;
- }
-
-do_action: /* This label is used only to access EOF actions. */
-
-
- switch ( yy_act )
- { /* beginning of action switch */
-case 1:
-YY_RULE_SETUP
-#line 60 "lexer.l"
-;
- YY_BREAK
-case 2:
-YY_RULE_SETUP
-#line 61 "lexer.l"
-{ BEGIN(INITIAL); }
- YY_BREAK
-case 3:
-YY_RULE_SETUP
-#line 62 "lexer.l"
-;
- YY_BREAK
-case 4:
-YY_RULE_SETUP
-#line 63 "lexer.l"
-;
- YY_BREAK
-case 5:
-YY_RULE_SETUP
-#line 64 "lexer.l"
-{ BEGIN(INCOMMENT); }
- YY_BREAK
-case 6:
-YY_RULE_SETUP
-#line 65 "lexer.l"
-;
- YY_BREAK
-case 7:
-YY_RULE_SETUP
-#line 66 "lexer.l"
-;
- YY_BREAK
-case 8:
-YY_RULE_SETUP
-#line 67 "lexer.l"
-{ yytext[yyleng - 1] = '\0';
- yylval.doubleLong = ::ParseLong(yytext, 10);
- return(LONG_LITERAL); }
- YY_BREAK
-case 9:
-YY_RULE_SETUP
-#line 70 "lexer.l"
-{ yytext[yyleng - 1] = '\0';
- yylval.doubleLong = ::ParseLong(yytext + 2, 16);
- return(LONG_LITERAL); }
- YY_BREAK
-case 10:
-YY_RULE_SETUP
-#line 73 "lexer.l"
-{ yytext[yyleng - 1] = '\0';
- yylval.doubleLong = ::ParseLong(yytext + 1, 8);
- return(LONG_LITERAL); }
- YY_BREAK
-case 11:
-YY_RULE_SETUP
-#line 76 "lexer.l"
-{ yylval.longNumber = ::atoi(yytext); return(INT_LITERAL); }
- YY_BREAK
-case 12:
-YY_RULE_SETUP
-#line 77 "lexer.l"
-{ yylval.longNumber = ::strtol(yytext, 0, 16);
- return(INT_LITERAL); }
- YY_BREAK
-case 13:
-YY_RULE_SETUP
-#line 79 "lexer.l"
-{ yylval.longNumber = ::strtol(yytext, 0, 8);
- return(INT_LITERAL); }
- YY_BREAK
-case 14:
-YY_RULE_SETUP
-#line 81 "lexer.l"
-{ yytext[yyleng - 1] = '\0';
- unicode_string tempString = ::LexStringToUnicode(yytext + 1);
- if (tempString.length() > 0) {
- yylval.longNumber = tempString[tempString.length() - 1];
- return (CHARACTER_LITERAL);
- } else {
- return(ERROR);
- }
- }
- YY_BREAK
-case 15:
-YY_RULE_SETUP
-#line 90 "lexer.l"
-{ yylval.floatNumber = ::atof(yytext); return(FLOAT_LITERAL); }
- YY_BREAK
-case 16:
-YY_RULE_SETUP
-#line 91 "lexer.l"
-{ yylval.doubleFloat = ::atof(yytext);
- return(DOUBLE_LITERAL); }
- YY_BREAK
-case 17:
-YY_RULE_SETUP
-#line 93 "lexer.l"
-{ yytext[yyleng - 1] = '\0';
- yylval.text =
- new unicode_string(::LexStringToUnicode(yytext + 1));
- yytext[yyleng] = '"'; // restore it, just in case
- return(STRING_LITERAL); }
- YY_BREAK
-case 18:
-YY_RULE_SETUP
-#line 98 "lexer.l"
-{ return(ABSTRACT); }
- YY_BREAK
-case 19:
-YY_RULE_SETUP
-#line 99 "lexer.l"
-{ return(BOOLEAN); }
- YY_BREAK
-case 20:
-YY_RULE_SETUP
-#line 100 "lexer.l"
-{ return(BREAK); }
- YY_BREAK
-case 21:
-YY_RULE_SETUP
-#line 101 "lexer.l"
-{ return(BYTE); }
- YY_BREAK
-case 22:
-YY_RULE_SETUP
-#line 102 "lexer.l"
-{ return(CASE); }
- YY_BREAK
-case 23:
-YY_RULE_SETUP
-#line 103 "lexer.l"
-{ return(CATCH); }
- YY_BREAK
-case 24:
-YY_RULE_SETUP
-#line 104 "lexer.l"
-{ return(CHAR); }
- YY_BREAK
-case 25:
-YY_RULE_SETUP
-#line 105 "lexer.l"
-{ return(CLASS); }
- YY_BREAK
-case 26:
-YY_RULE_SETUP
-#line 106 "lexer.l"
-{ return(CONTINUE); }
- YY_BREAK
-case 27:
-YY_RULE_SETUP
-#line 107 "lexer.l"
-{ return(DEFAULT ); }
- YY_BREAK
-case 28:
-YY_RULE_SETUP
-#line 108 "lexer.l"
-{ return(DO); }
- YY_BREAK
-case 29:
-YY_RULE_SETUP
-#line 109 "lexer.l"
-{ return(DOUBLE); }
- YY_BREAK
-case 30:
-YY_RULE_SETUP
-#line 110 "lexer.l"
-{ return(ELSE); }
- YY_BREAK
-case 31:
-YY_RULE_SETUP
-#line 111 "lexer.l"
-{ return(EXTENDS); }
- YY_BREAK
-case 32:
-YY_RULE_SETUP
-#line 112 "lexer.l"
-{ return(FALSE_TOKEN); }
- YY_BREAK
-case 33:
-YY_RULE_SETUP
-#line 113 "lexer.l"
-{ return(FINAL); }
- YY_BREAK
-case 34:
-YY_RULE_SETUP
-#line 114 "lexer.l"
-{ return(FINALLY); }
- YY_BREAK
-case 35:
-YY_RULE_SETUP
-#line 115 "lexer.l"
-{ return(FLOAT); }
- YY_BREAK
-case 36:
-YY_RULE_SETUP
-#line 116 "lexer.l"
-{ return(FOR); }
- YY_BREAK
-case 37:
-YY_RULE_SETUP
-#line 117 "lexer.l"
-{ return(IF); }
- YY_BREAK
-case 38:
-YY_RULE_SETUP
-#line 118 "lexer.l"
-{ return(IMPLEMENTS ); }
- YY_BREAK
-case 39:
-YY_RULE_SETUP
-#line 119 "lexer.l"
-{ return(IMPORT); }
- YY_BREAK
-case 40:
-YY_RULE_SETUP
-#line 120 "lexer.l"
-{ return(INSTANCEOF); }
- YY_BREAK
-case 41:
-YY_RULE_SETUP
-#line 121 "lexer.l"
-{ return(INT); }
- YY_BREAK
-case 42:
-YY_RULE_SETUP
-#line 122 "lexer.l"
-{ return(INTERFACE); }
- YY_BREAK
-case 43:
-YY_RULE_SETUP
-#line 123 "lexer.l"
-{ return(LONG); }
- YY_BREAK
-case 44:
-YY_RULE_SETUP
-#line 124 "lexer.l"
-{ return(NATIVE); }
- YY_BREAK
-case 45:
-YY_RULE_SETUP
-#line 125 "lexer.l"
-{ return(NEW); }
- YY_BREAK
-case 46:
-YY_RULE_SETUP
-#line 126 "lexer.l"
-{ return(NULL_TOKEN); }
- YY_BREAK
-case 47:
-YY_RULE_SETUP
-#line 127 "lexer.l"
-{ return(PACKAGE ); }
- YY_BREAK
-case 48:
-YY_RULE_SETUP
-#line 128 "lexer.l"
-{ return(PRIVATE); }
- YY_BREAK
-case 49:
-YY_RULE_SETUP
-#line 129 "lexer.l"
-{ return(PROTECTED); }
- YY_BREAK
-case 50:
-YY_RULE_SETUP
-#line 130 "lexer.l"
-{ return(PUBLIC); }
- YY_BREAK
-case 51:
-YY_RULE_SETUP
-#line 131 "lexer.l"
-{ return(RETURN); }
- YY_BREAK
-case 52:
-YY_RULE_SETUP
-#line 132 "lexer.l"
-{ return(SHORT); }
- YY_BREAK
-case 53:
-YY_RULE_SETUP
-#line 133 "lexer.l"
-{ return(STATIC); }
- YY_BREAK
-case 54:
-YY_RULE_SETUP
-#line 134 "lexer.l"
-{ return(SUPER); }
- YY_BREAK
-case 55:
-YY_RULE_SETUP
-#line 135 "lexer.l"
-{ return(SWITCH); }
- YY_BREAK
-case 56:
-YY_RULE_SETUP
-#line 136 "lexer.l"
-{ return(SYNCHRONIZED ); }
- YY_BREAK
-case 57:
-YY_RULE_SETUP
-#line 137 "lexer.l"
-{ return(THIS); }
- YY_BREAK
-case 58:
-YY_RULE_SETUP
-#line 138 "lexer.l"
-{ return(VOLATILE); }
- YY_BREAK
-case 59:
-YY_RULE_SETUP
-#line 139 "lexer.l"
-{ return(THROW); }
- YY_BREAK
-case 60:
-YY_RULE_SETUP
-#line 140 "lexer.l"
-{ return(THROWS); }
- YY_BREAK
-case 61:
-YY_RULE_SETUP
-#line 141 "lexer.l"
-{ return(TRANSIENT); }
- YY_BREAK
-case 62:
-YY_RULE_SETUP
-#line 142 "lexer.l"
-{ return(TRUE_TOKEN); }
- YY_BREAK
-case 63:
-YY_RULE_SETUP
-#line 143 "lexer.l"
-{ return(TRY); }
- YY_BREAK
-case 64:
-YY_RULE_SETUP
-#line 144 "lexer.l"
-{ return(VOID); }
- YY_BREAK
-case 65:
-YY_RULE_SETUP
-#line 145 "lexer.l"
-{ return(WHILE ); }
- YY_BREAK
-case 66:
-YY_RULE_SETUP
-#line 146 "lexer.l"
-{ return(SHIFT_RIGHT_EQUALS); }
- YY_BREAK
-case 67:
-YY_RULE_SETUP
-#line 147 "lexer.l"
-{ return(FILL_SHIFT_RIGHT_EQUALS); }
- YY_BREAK
-case 68:
-YY_RULE_SETUP
-#line 148 "lexer.l"
-{ return(SHIFT_LEFT_EQUALS); }
- YY_BREAK
-case 69:
-YY_RULE_SETUP
-#line 149 "lexer.l"
-{ return(ADD_EQUALS); }
- YY_BREAK
-case 70:
-YY_RULE_SETUP
-#line 150 "lexer.l"
-{ return(SUB_EQUALS); }
- YY_BREAK
-case 71:
-YY_RULE_SETUP
-#line 151 "lexer.l"
-{ return(MUL_EQUALS); }
- YY_BREAK
-case 72:
-YY_RULE_SETUP
-#line 152 "lexer.l"
-{ return(DIV_EQUALS); }
- YY_BREAK
-case 73:
-YY_RULE_SETUP
-#line 153 "lexer.l"
-{ return(MOD_EQUALS); }
- YY_BREAK
-case 74:
-YY_RULE_SETUP
-#line 154 "lexer.l"
-{ return(AND_EQUALS); }
- YY_BREAK
-case 75:
-YY_RULE_SETUP
-#line 155 "lexer.l"
-{ return(XOR_EQUALS); }
- YY_BREAK
-case 76:
-YY_RULE_SETUP
-#line 156 "lexer.l"
-{ return(OR_EQUALS); }
- YY_BREAK
-case 77:
-YY_RULE_SETUP
-#line 157 "lexer.l"
-{ return(BITSHIFT_RIGHT); }
- YY_BREAK
-case 78:
-YY_RULE_SETUP
-#line 158 "lexer.l"
-{ return(FILL_SHIFT_RIGHT); }
- YY_BREAK
-case 79:
-YY_RULE_SETUP
-#line 159 "lexer.l"
-{ return(SHIFT_LEFT); }
- YY_BREAK
-case 80:
-YY_RULE_SETUP
-#line 160 "lexer.l"
-{ return(INCR); }
- YY_BREAK
-case 81:
-YY_RULE_SETUP
-#line 161 "lexer.l"
-{ return(DECR); }
- YY_BREAK
-case 82:
-YY_RULE_SETUP
-#line 162 "lexer.l"
-{ return(AND); }
- YY_BREAK
-case 83:
-YY_RULE_SETUP
-#line 163 "lexer.l"
-{ return(OR); }
- YY_BREAK
-case 84:
-YY_RULE_SETUP
-#line 164 "lexer.l"
-{ return(LTEQ); }
- YY_BREAK
-case 85:
-YY_RULE_SETUP
-#line 165 "lexer.l"
-{ return(GTEQ); }
- YY_BREAK
-case 86:
-YY_RULE_SETUP
-#line 166 "lexer.l"
-{ return(EQUAL_COMPARE); }
- YY_BREAK
-case 87:
-YY_RULE_SETUP
-#line 167 "lexer.l"
-{ return(NOT_EQUAL); }
- YY_BREAK
-case 88:
-YY_RULE_SETUP
-#line 168 "lexer.l"
-{ return(*yytext); }
- YY_BREAK
-case 89:
-YY_RULE_SETUP
-#line 169 "lexer.l"
-{ yylval.text =
- new unicode_string(::LexStringToUnicode(yytext));
- return(SYMBOL); }
- YY_BREAK
-case 90:
-YY_RULE_SETUP
-#line 172 "lexer.l"
-{ yylval.longNumber = *yytext; return(ERROR); }
- YY_BREAK
-case 91:
-YY_RULE_SETUP
-#line 174 "lexer.l"
-ECHO;
- YY_BREAK
-#line 1436 "lexer.C"
- case YY_STATE_EOF(INITIAL):
- case YY_STATE_EOF(INCOMMENT):
- yyterminate();
-
- case YY_END_OF_BUFFER:
- {
- /* Amount of text matched not including the EOB char. */
- int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
-
- /* Undo the effects of YY_DO_BEFORE_ACTION. */
- *yy_cp = yy_hold_char;
-
- if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
- {
- /* We're scanning a new file or input source. It's
- * possible that this happened because the user
- * just pointed yyin at a new source and called
- * yylex(). If so, then we have to assure
- * consistency between yy_current_buffer and our
- * globals. Here is the right place to do so, because
- * this is the first action (other than possibly a
- * back-up) that will match for the new input source.
- */
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yy_current_buffer->yy_input_file = yyin;
- yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
- }
-
- /* Note that here we test for yy_c_buf_p "<=" to the position
- * of the first EOB in the buffer, since yy_c_buf_p will
- * already have been incremented past the NUL character
- * (since all states make transitions on EOB to the
- * end-of-buffer state). Contrast this with the test
- * in input().
- */
- if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
- { /* This was really a NUL. */
- yy_state_type yy_next_state;
-
- yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state();
-
- /* Okay, we're now positioned to make the NUL
- * transition. We couldn't have
- * yy_get_previous_state() go ahead and do it
- * for us because it doesn't know how to deal
- * with the possibility of jamming (and we don't
- * want to build jamming into it because then it
- * will run more slowly).
- */
-
- yy_next_state = yy_try_NUL_trans( yy_current_state );
-
- yy_bp = yytext_ptr + YY_MORE_ADJ;
-
- if ( yy_next_state )
- {
- /* Consume the NUL. */
- yy_cp = ++yy_c_buf_p;
- yy_current_state = yy_next_state;
- goto yy_match;
- }
-
- else
- {
- yy_cp = yy_c_buf_p;
- goto yy_find_action;
- }
- }
-
- else switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_END_OF_FILE:
- {
- yy_did_buffer_switch_on_eof = 0;
-
- if ( yywrap() )
- {
- /* Note: because we've taken care in
- * yy_get_next_buffer() to have set up
- * yytext, we can now set up
- * yy_c_buf_p so that if some total
- * hoser (like flex itself) wants to
- * call the scanner after we return the
- * YY_NULL, it'll still work - another
- * YY_NULL will get returned.
- */
- yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
-
- yy_act = YY_STATE_EOF(YY_START);
- goto do_action;
- }
-
- else
- {
- if ( ! yy_did_buffer_switch_on_eof )
- YY_NEW_FILE;
- }
- break;
- }
-
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p =
- yytext_ptr + yy_amount_of_matched_text;
-
- yy_current_state = yy_get_previous_state();
-
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
- goto yy_match;
-
- case EOB_ACT_LAST_MATCH:
- yy_c_buf_p =
- &yy_current_buffer->yy_ch_buf[yy_n_chars];
-
- yy_current_state = yy_get_previous_state();
-
- yy_cp = yy_c_buf_p;
- yy_bp = yytext_ptr + YY_MORE_ADJ;
- goto yy_find_action;
- }
- break;
- }
-
- default:
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--no action found" );
- } /* end of action switch */
- } /* end of scanning one token */
- } /* end of yylex */
-
-
-/* yy_get_next_buffer - try to read in a new buffer
- *
- * Returns a code representing an action:
- * EOB_ACT_LAST_MATCH -
- * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
- * EOB_ACT_END_OF_FILE - end of file
- */
-
-static int yy_get_next_buffer()
- {
- register char *dest = yy_current_buffer->yy_ch_buf;
- register char *source = yytext_ptr;
- register int number_to_move, i;
- int ret_val;
-
- if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
- YY_FATAL_ERROR(
- "fatal flex scanner internal error--end of buffer missed" );
-
- if ( yy_current_buffer->yy_fill_buffer == 0 )
- { /* Don't try to fill the buffer, so this is an EOF. */
- if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
- {
- /* We matched a singled characater, the EOB, so
- * treat this as a final EOF.
- */
- return EOB_ACT_END_OF_FILE;
- }
-
- else
- {
- /* We matched some text prior to the EOB, first
- * process it.
- */
- return EOB_ACT_LAST_MATCH;
- }
- }
-
- /* Try to read more data. */
-
- /* First move last chars to start of buffer. */
- number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
-
- for ( i = 0; i < number_to_move; ++i )
- *(dest++) = *(source++);
-
- if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
- /* don't do the read, it's not guaranteed to return an EOF,
- * just force an EOF
- */
- yy_n_chars = 0;
-
- else
- {
- int num_to_read =
- yy_current_buffer->yy_buf_size - number_to_move - 1;
-
- while ( num_to_read <= 0 )
- { /* Not enough room in the buffer - grow it. */
-#ifdef YY_USES_REJECT
- YY_FATAL_ERROR(
-"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
-#else
-
- /* just a shorter name for the current buffer */
- YY_BUFFER_STATE b = yy_current_buffer;
-
- int yy_c_buf_p_offset =
- (int) (yy_c_buf_p - b->yy_ch_buf);
-
- if ( b->yy_is_our_buffer )
- {
- int new_size = b->yy_buf_size * 2;
-
- if ( new_size <= 0 )
- b->yy_buf_size += b->yy_buf_size / 8;
- else
- b->yy_buf_size *= 2;
-
- b->yy_ch_buf = (char *)
- /* Include room in for 2 EOB chars. */
- yy_flex_realloc( (void *) b->yy_ch_buf,
- b->yy_buf_size + 2 );
- }
- else
- /* Can't grow it, we don't own it. */
- b->yy_ch_buf = 0;
-
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR(
- "fatal error - scanner input buffer overflow" );
-
- yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
-
- num_to_read = yy_current_buffer->yy_buf_size -
- number_to_move - 1;
-#endif
- }
-
- if ( num_to_read > YY_READ_BUF_SIZE )
- num_to_read = YY_READ_BUF_SIZE;
-
- /* Read in more data. */
- YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
- yy_n_chars, num_to_read );
- }
-
- if ( yy_n_chars == 0 )
- {
- if ( number_to_move == YY_MORE_ADJ )
- {
- ret_val = EOB_ACT_END_OF_FILE;
- yyrestart( yyin );
- }
-
- else
- {
- ret_val = EOB_ACT_LAST_MATCH;
- yy_current_buffer->yy_buffer_status =
- YY_BUFFER_EOF_PENDING;
- }
- }
-
- else
- ret_val = EOB_ACT_CONTINUE_SCAN;
-
- yy_n_chars += number_to_move;
- yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
- yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
-
- yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
-
- return ret_val;
- }
-
-
-/* yy_get_previous_state - get the state just before the EOB char was reached */
-
-static yy_state_type yy_get_previous_state()
- {
- register yy_state_type yy_current_state;
- register char *yy_cp;
-
- yy_current_state = yy_start;
- yy_state_ptr = yy_state_buf;
- *yy_state_ptr++ = yy_current_state;
-
- for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
- {
- register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 340 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- *yy_state_ptr++ = yy_current_state;
- }
-
- return yy_current_state;
- }
-
-
-/* yy_try_NUL_trans - try to make a transition on the NUL character
- *
- * synopsis
- * next_state = yy_try_NUL_trans( current_state );
- */
-
-#ifdef YY_USE_PROTOS
-static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
-#else
-static yy_state_type yy_try_NUL_trans( yy_current_state )
-yy_state_type yy_current_state;
-#endif
- {
- register int yy_is_jam;
-
- register YY_CHAR yy_c = 1;
- while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
- {
- yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 340 )
- yy_c = yy_meta[(unsigned int) yy_c];
- }
- yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- *yy_state_ptr++ = yy_current_state;
- yy_is_jam = (yy_current_state == 339);
-
- return yy_is_jam ? 0 : yy_current_state;
- }
-
-
-#ifndef YY_NO_UNPUT
-#ifdef YY_USE_PROTOS
-static void yyunput( int c, register char *yy_bp )
-#else
-static void yyunput( c, yy_bp )
-int c;
-register char *yy_bp;
-#endif
- {
- register char *yy_cp = yy_c_buf_p;
-
- /* undo effects of setting up yytext */
- *yy_cp = yy_hold_char;
-
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- { /* need to shift things up to make room */
- /* +2 for EOB chars. */
- register int number_to_move = yy_n_chars + 2;
- register char *dest = &yy_current_buffer->yy_ch_buf[
- yy_current_buffer->yy_buf_size + 2];
- register char *source =
- &yy_current_buffer->yy_ch_buf[number_to_move];
-
- while ( source > yy_current_buffer->yy_ch_buf )
- *--dest = *--source;
-
- yy_cp += (int) (dest - source);
- yy_bp += (int) (dest - source);
- yy_n_chars = yy_current_buffer->yy_buf_size;
-
- if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
- YY_FATAL_ERROR( "flex scanner push-back overflow" );
- }
-
- *--yy_cp = (char) c;
-
- if ( c == '\n' )
- --yylineno;
-
- yytext_ptr = yy_bp;
- yy_hold_char = *yy_cp;
- yy_c_buf_p = yy_cp;
- }
-#endif /* ifndef YY_NO_UNPUT */
-
-
-#ifdef __cplusplus
-static int yyinput()
-#else
-static int input()
-#endif
- {
- int c;
-
- *yy_c_buf_p = yy_hold_char;
-
- if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
- {
- /* yy_c_buf_p now points to the character we want to return.
- * If this occurs *before* the EOB characters, then it's a
- * valid NUL; if not, then we've hit the end of the buffer.
- */
- if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
- /* This was really a NUL. */
- *yy_c_buf_p = '\0';
-
- else
- { /* need more input */
- yytext_ptr = yy_c_buf_p;
- ++yy_c_buf_p;
-
- switch ( yy_get_next_buffer() )
- {
- case EOB_ACT_END_OF_FILE:
- {
- if ( yywrap() )
- {
- yy_c_buf_p =
- yytext_ptr + YY_MORE_ADJ;
- return EOF;
- }
-
- if ( ! yy_did_buffer_switch_on_eof )
- YY_NEW_FILE;
-#ifdef __cplusplus
- return yyinput();
-#else
- return input();
-#endif
- }
-
- case EOB_ACT_CONTINUE_SCAN:
- yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
- break;
-
- case EOB_ACT_LAST_MATCH:
-#ifdef __cplusplus
- YY_FATAL_ERROR(
- "unexpected last match in yyinput()" );
-#else
- YY_FATAL_ERROR(
- "unexpected last match in input()" );
-#endif
- }
- }
- }
-
- c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
- *yy_c_buf_p = '\0'; /* preserve yytext */
- yy_hold_char = *++yy_c_buf_p;
-
- if ( c == '\n' )
- ++yylineno;
-
- return c;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yyrestart( FILE *input_file )
-#else
-void yyrestart( input_file )
-FILE *input_file;
-#endif
- {
- if ( ! yy_current_buffer )
- yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
-
- yy_init_buffer( yy_current_buffer, input_file );
- yy_load_buffer_state();
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
-#else
-void yy_switch_to_buffer( new_buffer )
-YY_BUFFER_STATE new_buffer;
-#endif
- {
- if ( yy_current_buffer == new_buffer )
- return;
-
- if ( yy_current_buffer )
- {
- /* Flush out information for old buffer. */
- *yy_c_buf_p = yy_hold_char;
- yy_current_buffer->yy_buf_pos = yy_c_buf_p;
- yy_current_buffer->yy_n_chars = yy_n_chars;
- }
-
- yy_current_buffer = new_buffer;
- yy_load_buffer_state();
-
- /* We don't actually know whether we did this switch during
- * EOF (yywrap()) processing, but the only time this flag
- * is looked at is after yywrap() is called, so it's safe
- * to go ahead and always set it.
- */
- yy_did_buffer_switch_on_eof = 1;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_load_buffer_state( void )
-#else
-void yy_load_buffer_state()
-#endif
- {
- yy_n_chars = yy_current_buffer->yy_n_chars;
- yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
- yyin = yy_current_buffer->yy_input_file;
- yy_hold_char = *yy_c_buf_p;
- }
-
-
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
-#else
-YY_BUFFER_STATE yy_create_buffer( file, size )
-FILE *file;
-int size;
-#endif
- {
- YY_BUFFER_STATE b;
-
- b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-
- b->yy_buf_size = size;
-
- /* yy_ch_buf has to be 2 characters longer than the size given because
- * we need to put in 2 end-of-buffer characters.
- */
- b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
- if ( ! b->yy_ch_buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
-
- b->yy_is_our_buffer = 1;
-
- yy_init_buffer( b, file );
-
- return b;
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_delete_buffer( YY_BUFFER_STATE b )
-#else
-void yy_delete_buffer( b )
-YY_BUFFER_STATE b;
-#endif
- {
- if ( ! b )
- return;
-
- if ( b == yy_current_buffer )
- yy_current_buffer = (YY_BUFFER_STATE) 0;
-
- if ( b->yy_is_our_buffer )
- yy_flex_free( (void *) b->yy_ch_buf );
-
- yy_flex_free( (void *) b );
- }
-
-
-#ifndef YY_ALWAYS_INTERACTIVE
-#ifndef YY_NEVER_INTERACTIVE
-extern int isatty YY_PROTO(( int ));
-#endif
-#endif
-
-#ifdef YY_USE_PROTOS
-void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
-#else
-void yy_init_buffer( b, file )
-YY_BUFFER_STATE b;
-FILE *file;
-#endif
-
-
- {
- yy_flush_buffer( b );
-
- b->yy_input_file = file;
- b->yy_fill_buffer = 1;
-
-#if YY_ALWAYS_INTERACTIVE
- b->yy_is_interactive = 1;
-#else
-#if YY_NEVER_INTERACTIVE
- b->yy_is_interactive = 0;
-#else
- b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
-#endif
-#endif
- }
-
-
-#ifdef YY_USE_PROTOS
-void yy_flush_buffer( YY_BUFFER_STATE b )
-#else
-void yy_flush_buffer( b )
-YY_BUFFER_STATE b;
-#endif
-
- {
- b->yy_n_chars = 0;
-
- /* We always need two end-of-buffer characters. The first causes
- * a transition to the end-of-buffer state. The second causes
- * a jam in that state.
- */
- b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
- b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
-
- b->yy_buf_pos = &b->yy_ch_buf[0];
-
- b->yy_at_bol = 1;
- b->yy_buffer_status = YY_BUFFER_NEW;
-
- if ( b == yy_current_buffer )
- yy_load_buffer_state();
- }
-
-
-#ifndef YY_NO_SCAN_BUFFER
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
-#else
-YY_BUFFER_STATE yy_scan_buffer( base, size )
-char *base;
-yy_size_t size;
-#endif
- {
- YY_BUFFER_STATE b;
-
- if ( size < 2 ||
- base[size-2] != YY_END_OF_BUFFER_CHAR ||
- base[size-1] != YY_END_OF_BUFFER_CHAR )
- /* They forgot to leave room for the EOB's. */
- return 0;
-
- b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
- if ( ! b )
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
-
- b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
- b->yy_buf_pos = b->yy_ch_buf = base;
- b->yy_is_our_buffer = 0;
- b->yy_input_file = 0;
- b->yy_n_chars = b->yy_buf_size;
- b->yy_is_interactive = 0;
- b->yy_at_bol = 1;
- b->yy_fill_buffer = 0;
- b->yy_buffer_status = YY_BUFFER_NEW;
-
- yy_switch_to_buffer( b );
-
- return b;
- }
-#endif
-
-
-#ifndef YY_NO_SCAN_STRING
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_string( yyconst char *str )
-#else
-YY_BUFFER_STATE yy_scan_string( str )
-yyconst char *str;
-#endif
- {
- int len;
- for ( len = 0; str[len]; ++len )
- ;
-
- return yy_scan_bytes( str, len );
- }
-#endif
-
-
-#ifndef YY_NO_SCAN_BYTES
-#ifdef YY_USE_PROTOS
-YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
-#else
-YY_BUFFER_STATE yy_scan_bytes( bytes, len )
-yyconst char *bytes;
-int len;
-#endif
- {
- YY_BUFFER_STATE b;
- char *buf;
- yy_size_t n;
- int i;
-
- /* Get memory for full buffer, including space for trailing EOB's. */
- n = len + 2;
- buf = (char *) yy_flex_alloc( n );
- if ( ! buf )
- YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
-
- for ( i = 0; i < len; ++i )
- buf[i] = bytes[i];
-
- buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
-
- b = yy_scan_buffer( buf, n );
- if ( ! b )
- YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
-
- /* It's okay to grow etc. this buffer, and we should throw it
- * away when we're done.
- */
- b->yy_is_our_buffer = 1;
-
- return b;
- }
-#endif
-
-
-#ifndef YY_NO_PUSH_STATE
-#ifdef YY_USE_PROTOS
-static void yy_push_state( int new_state )
-#else
-static void yy_push_state( new_state )
-int new_state;
-#endif
- {
- if ( yy_start_stack_ptr >= yy_start_stack_depth )
- {
- yy_size_t new_size;
-
- yy_start_stack_depth += YY_START_STACK_INCR;
- new_size = yy_start_stack_depth * sizeof( int );
-
- if ( ! yy_start_stack )
- yy_start_stack = (int *) yy_flex_alloc( new_size );
-
- else
- yy_start_stack = (int *) yy_flex_realloc(
- (void *) yy_start_stack, new_size );
-
- if ( ! yy_start_stack )
- YY_FATAL_ERROR(
- "out of memory expanding start-condition stack" );
- }
-
- yy_start_stack[yy_start_stack_ptr++] = YY_START;
-
- BEGIN(new_state);
- }
-#endif
-
-
-#ifndef YY_NO_POP_STATE
-static void yy_pop_state()
- {
- if ( --yy_start_stack_ptr < 0 )
- YY_FATAL_ERROR( "start-condition stack underflow" );
-
- BEGIN(yy_start_stack[yy_start_stack_ptr]);
- }
-#endif
-
-
-#ifndef YY_NO_TOP_STATE
-static int yy_top_state()
- {
- return yy_start_stack[yy_start_stack_ptr - 1];
- }
-#endif
-
-#ifndef YY_EXIT_FAILURE
-#define YY_EXIT_FAILURE 2
-#endif
-
-#ifdef YY_USE_PROTOS
-static void yy_fatal_error( yyconst char msg[] )
-#else
-static void yy_fatal_error( msg )
-char msg[];
-#endif
- {
- (void) fprintf( stderr, "%s\n", msg );
- exit( YY_EXIT_FAILURE );
- }
-
-
-
-/* Redefine yyless() so it works in section 3 code. */
-
-#undef yyless
-#define yyless(n) \
- do \
- { \
- /* Undo effects of setting up yytext. */ \
- yytext[yyleng] = yy_hold_char; \
- yy_c_buf_p = yytext + n - YY_MORE_ADJ; \
- yy_hold_char = *yy_c_buf_p; \
- *yy_c_buf_p = '\0'; \
- yyleng = n; \
- } \
- while ( 0 )
-
-
-/* Internal utility routines. */
-
-#ifndef yytext_ptr
-#ifdef YY_USE_PROTOS
-static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
-#else
-static void yy_flex_strncpy( s1, s2, n )
-char *s1;
-yyconst char *s2;
-int n;
-#endif
- {
- register int i;
- for ( i = 0; i < n; ++i )
- s1[i] = s2[i];
- }
-#endif
-
-
-#ifdef YY_USE_PROTOS
-static void *yy_flex_alloc( yy_size_t size )
-#else
-static void *yy_flex_alloc( size )
-yy_size_t size;
-#endif
- {
- return (void *) malloc( size );
- }
-
-#ifdef YY_USE_PROTOS
-static void *yy_flex_realloc( void *ptr, yy_size_t size )
-#else
-static void *yy_flex_realloc( ptr, size )
-void *ptr;
-yy_size_t size;
-#endif
- {
- /* The cast to (char *) in the following accommodates both
- * implementations that use char* generic pointers, and those
- * that use void* generic pointers. It works with the latter
- * because both ANSI C and C++ allow castless assignment from
- * any pointer type to void*, and deal with argument conversions
- * as though doing an assignment.
- */
- return (void *) realloc( (char *) ptr, size );
- }
-
-#ifdef YY_USE_PROTOS
-static void yy_flex_free( void *ptr )
-#else
-static void yy_flex_free( ptr )
-void *ptr;
-#endif
- {
- free( ptr );
- }
-
-#if YY_MAIN
-int main()
- {
- yylex();
- return 0;
- }
-#endif
-#line 174 "lexer.l"
-
-
-void
-InitializeLexer(const string& tokenizeString)
-{
- yylineno = 1;
- const char* inputBytes = tokenizeString.c_str();
- gInputBuffer = yy_scan_bytes(inputBytes, tokenizeString.length());
-}
-
-void
-FinishLexer()
-{
- yy_delete_buffer(gInputBuffer);
-}
-
-unicode_string
-LexStringToUnicode(const char* inputString) {
- unicode_string tempString;
- while (*inputString != '\0') {
- unsigned short characterValue = 0;
- if (*inputString == '\\') {
- switch (inputString[1]) {
- case '0': case '1': case '2': case '3':
- case '4': case '5': case '6': case '7':
- characterValue = inputString[1] - '0';
- if (inputString[2] >= '0' && inputString[2] <= '9') {
- characterValue *= 8;
- characterValue += inputString[2] - '0';
- ++inputString;
- }
- if ((*(inputString - 2) <= '3') &&
- (inputString[2] >= '0' && inputString[2] <= '9')) {
- characterValue *= 8;
- characterValue += inputString[2] - '0';
- ++inputString;
- }
- tempString += characterValue;
- break;
- case 'u':
- if (isxdigit(inputString[2]) && isxdigit(inputString[3]) &&
- isxdigit(inputString[4]) && isxdigit(inputString[5])) {
- char hexBuffer[5];
- ::strncpy(hexBuffer, inputString + 2, 4);
- tempString += (unicode_char)::strtol(hexBuffer, 0, 16);
- inputString += 4;
- } else {
- tempString += 0x5c;
- }
- break;
- case 'b':
- tempString += 0x8;
- break;
- case 't':
- tempString += 0x9;
- break;
- case 'n':
- tempString += 0xa;
- break;
- case 'f':
- tempString += 0xc;
- break;
- case 'r':
- tempString += 0xd;
- break;
- case '"':
- tempString += 0x22;
- break;
- case '\'':
- tempString += 0x27;
- break;
- case '\\':
- tempString += 0x5c;
- break;
- default:
- tempString += 0x5c;
- }
- ++inputString;
- } else {
- tempString += (unicode_string::value_type)*inputString;
- }
- inputString++;
- }
- return tempString;
-}
-
-unsigned long long
-ParseLong(const char* inputString, unsigned short base) {
- unsigned long long result = 0;
- for (; *inputString != 0; ++inputString) {
- unsigned long adder;
- if (*inputString >= '0' && *inputString <= '9') {
- adder = *inputString - '0';
- } else if (*inputString >= 'a' && *inputString <= 'z') {
- adder = (*inputString - 'a') + 10;
- } else if (*inputString >= 'A' && *inputString <= 'Z') {
- adder = (*inputString - 'A') + 10;
- }
- result = result * base + adder;
- }
- return result;
-}
diff -rup --new-file baseline/contrib/guavac/compiler/parser.C amiga/contrib/guavac/compiler/parser.C
--- baseline/contrib/guavac/compiler/parser.C Fri Aug 2 20:04:42 1996
+++ amiga/contrib/guavac/compiler/parser.C Wed Dec 31 17:00:00 1969
@@ -1,3230 +0,0 @@
-
-/* A Bison parser, made from parser.y with Bison version GNU Bison version 1.22
- */
-
-#define YYBISON 1 /* Identify Bison output. */
-
-#define ERROR 258
-#define ABSTRACT 259
-#define BOOLEAN 260
-#define BREAK 261
-#define BYTE 262
-#define CASE 263
-#define CATCH 264
-#define CHAR 265
-#define CLASS 266
-#define CONTINUE 267
-#define DEFAULT 268
-#define DO 269
-#define DOUBLE 270
-#define EXTENDS 271
-#define FALSE_TOKEN 272
-#define FINAL 273
-#define FINALLY 274
-#define FLOAT 275
-#define FOR 276
-#define IF 277
-#define IMPLEMENTS 278
-#define IMPORT 279
-#define INSTANCEOF 280
-#define INT 281
-#define INTERFACE 282
-#define LONG 283
-#define NATIVE 284
-#define NULL_TOKEN 285
-#define PACKAGE 286
-#define PRIVATE 287
-#define PROTECTED 288
-#define PUBLIC 289
-#define RETURN 290
-#define SHORT 291
-#define STATIC 292
-#define SUPER 293
-#define SWITCH 294
-#define SYNCHRONIZED 295
-#define THIS 296
-#define THROW 297
-#define THROWS 298
-#define TRANSIENT 299
-#define VOLATILE 300
-#define TRUE_TOKEN 301
-#define TRY 302
-#define VOID 303
-#define WHILE 304
-#define INT_LITERAL 305
-#define CHARACTER_LITERAL 306
-#define LONG_LITERAL 307
-#define FLOAT_LITERAL 308
-#define DOUBLE_LITERAL 309
-#define SYMBOL 310
-#define STRING_LITERAL 311
-#define NOT_AN_OPERATOR 312
-#define SHIFT_RIGHT_EQUALS 313
-#define FILL_SHIFT_RIGHT_EQUALS 314
-#define SHIFT_LEFT_EQUALS 315
-#define ADD_EQUALS 316
-#define SUB_EQUALS 317
-#define MUL_EQUALS 318
-#define DIV_EQUALS 319
-#define MOD_EQUALS 320
-#define AND_EQUALS 321
-#define XOR_EQUALS 322
-#define OR_EQUALS 323
-#define OR 324
-#define AND 325
-#define EQUAL_COMPARE 326
-#define NOT_EQUAL 327
-#define LTEQ 328
-#define GTEQ 329
-#define BITSHIFT_RIGHT 330
-#define FILL_SHIFT_RIGHT 331
-#define SHIFT_LEFT 332
-#define CAST 333
-#define INCR 334
-#define DECR 335
-#define UMINUS 336
-#define UPLUS 337
-#define POST_INCR 338
-#define POST_DECR 339
-#define NEW 340
-#define LOWER_THAN_ELSE 341
-#define ELSE 342
-
-#line 1 "parser.y"
-
-// Copyright (c) 1995 David Engberg All rights reserved
-// $Id: parser.y,v 1.11 1996/05/03 23:39:15 geppetto Exp $
-#include <map>
-#include <stream.h>
-#include <cstdlib>
-#include <deque>
-#include "unicode_string.h"
-#include "Compiler.h"
-#include "parser_decls.h"
-#include "JavaAccessFlags.h"
-#include "JavaTypeSignature.h"
-#include "JavaFieldSignature.h"
-#include "Expression.h"
-#include "VariableDeclaration.h"
-#include "Statement.h"
-#include "IntermediateClass.h"
-#include "BinaryExpression.h"
-
-CCompiler* gCurrentCompiler = 0;
-const unicode_char kSymbolDivider = (unicode_char)'/';
-
-CExpression* InterpretSymbolExpression(const unicode_string& symbol);
-
-#ifndef NDEBUG
-#ifndef YYDEBUG
-#define YYDEBUG 1
-#endif
-#endif
-
-
-#line 33 "parser.y"
-typedef union {
- unicode_string* text;
- deque<unicode_string>* stringList;
- unsigned long longNumber; // also used for a single character, etc.
- unsigned long long doubleLong;
- float floatNumber;
- double doubleFloat;
- CJavaAccessFlags* modifiers;
- CJavaTypeSignature* typeSignature;
- CJavaFieldSignature* fieldSignature;
- deque<CJavaFieldSignature>* fieldList;
- CExpression* expression;
- ExpressionList* expressionList;
- deque<CVariableDeclaration*>* variableList;
- CStatement* statement;
- CCompoundStatement* compoundStatement;
- StatementList* statementList;
- deque<CCatchClause*>* catchList;
- CCatchClause* catchClause;
-} YYSTYPE;
-
-#ifndef YYLTYPE
-typedef
- struct yyltype
- {
- int timestamp;
- int first_line;
- int first_column;
- int last_line;
- int last_column;
- char *text;
- }
- yyltype;
-
-#define YYLTYPE yyltype
-#endif
-
-#include <stdio.h>
-
-#ifndef __cplusplus
-#ifndef __STDC__
-#define const
-#endif
-#endif
-
-
-
-#define YYFINAL 414
-#define YYFLAG -32768
-#define YYNTBASE 112
-
-#define YYTRANSLATE(x) ((unsigned)(x) <= 342 ? yytranslate[x] : 183)
-
-static const char yytranslate[] = { 0,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 94, 2, 2, 2, 90, 75, 2, 101,
- 102, 88, 86, 111, 87, 105, 89, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 71, 108, 81,
- 69, 82, 70, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 103, 2, 104, 76, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 109, 74, 110, 95, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 2, 2, 1, 2, 3, 4, 5,
- 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
- 26, 27, 28, 29, 30, 31, 32, 33, 34, 35,
- 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
- 46, 47, 48, 49, 50, 51, 52, 53, 54, 55,
- 56, 57, 58, 59, 60, 61, 62, 63, 64, 65,
- 66, 67, 68, 72, 73, 77, 78, 79, 80, 83,
- 84, 85, 91, 92, 93, 96, 97, 98, 99, 100,
- 106, 107
-};
-
-#if YYDEBUG != 0
-static const short yyprhs[] = { 0,
- 0, 4, 5, 9, 10, 13, 19, 23, 24, 27,
- 29, 31, 33, 34, 42, 43, 50, 51, 54, 57,
- 60, 61, 64, 65, 68, 69, 72, 75, 79, 81,
- 84, 86, 88, 90, 93, 95, 98, 99, 110, 111,
- 112, 124, 125, 128, 129, 132, 139, 146, 148, 150,
- 151, 153, 155, 159, 163, 166, 171, 177, 178, 181,
- 183, 187, 188, 191, 193, 197, 198, 200, 201, 206,
- 207, 210, 212, 215, 218, 220, 223, 225, 231, 239,
- 245, 253, 256, 260, 263, 267, 270, 274, 275, 285,
- 289, 295, 299, 304, 308, 314, 319, 323, 324, 326,
- 328, 331, 333, 334, 336, 338, 342, 343, 345, 348,
- 350, 353, 354, 355, 364, 366, 368, 372, 374, 380,
- 384, 388, 392, 396, 400, 404, 408, 412, 416, 420,
- 424, 428, 432, 436, 440, 444, 448, 452, 456, 459,
- 462, 465, 468, 472, 474, 476, 478, 480, 482, 484,
- 488, 492, 497, 502, 506, 508, 512, 516, 520, 524,
- 528, 532, 536, 540, 544, 548, 552, 556, 559, 562,
- 565, 568, 570, 572, 577, 584, 590, 595, 602, 607,
- 612, 615, 621, 624, 629, 635, 636, 640, 642, 644,
- 646, 648, 650, 652, 654, 656, 657, 659, 661, 665,
- 669, 671, 674, 677, 679, 681, 683, 685, 687, 689,
- 691, 693, 695, 696, 699, 702, 705, 708, 711, 714,
- 717, 720, 723, 726, 728, 732, 734, 738
-};
-
-static const short yyrhs[] = { 113,
- 114, 116, 0, 0, 31, 180, 108, 0, 0, 114,
- 115, 0, 24, 180, 105, 88, 108, 0, 24, 180,
- 108, 0, 0, 116, 117, 0, 108, 0, 118, 0,
- 120, 0, 0, 122, 11, 182, 123, 125, 119, 126,
- 0, 0, 122, 27, 182, 124, 121, 126, 0, 0,
- 122, 18, 0, 122, 34, 0, 122, 4, 0, 0,
- 16, 180, 0, 0, 16, 181, 0, 0, 23, 181,
- 0, 109, 110, 0, 109, 127, 110, 0, 128, 0,
- 127, 128, 0, 108, 0, 130, 0, 132, 0, 179,
- 141, 0, 129, 0, 179, 148, 0, 0, 179, 176,
- 182, 101, 138, 102, 172, 135, 131, 137, 0, 0,
- 0, 179, 182, 133, 101, 138, 102, 135, 109, 134,
- 136, 110, 0, 0, 43, 181, 0, 0, 151, 150,
- 0, 38, 101, 174, 102, 108, 150, 0, 41, 101,
- 174, 102, 108, 150, 0, 108, 0, 148, 0, 0,
- 139, 0, 140, 0, 139, 111, 140, 0, 176, 182,
- 172, 0, 142, 108, 0, 176, 182, 172, 143, 0,
- 142, 111, 182, 172, 143, 0, 0, 69, 144, 0,
- 163, 0, 109, 145, 110, 0, 0, 146, 147, 0,
- 144, 0, 146, 111, 144, 0, 0, 111, 0, 0,
- 109, 149, 150, 110, 0, 0, 150, 151, 0, 108,
- 0, 1, 108, 0, 1, 110, 0, 148, 0, 167,
- 108, 0, 141, 0, 22, 101, 163, 102, 151, 0,
- 22, 101, 163, 102, 151, 107, 151, 0, 49, 101,
- 163, 102, 151, 0, 14, 151, 49, 101, 163, 102,
- 108, 0, 6, 108, 0, 6, 182, 108, 0, 12,
- 108, 0, 12, 182, 108, 0, 35, 108, 0, 35,
- 163, 108, 0, 0, 21, 101, 152, 154, 153, 108,
- 155, 102, 151, 0, 42, 163, 108, 0, 40, 101,
- 163, 102, 151, 0, 182, 71, 151, 0, 47, 148,
- 159, 157, 0, 47, 148, 158, 0, 39, 101, 163,
- 102, 148, 0, 8, 163, 71, 151, 0, 13, 71,
- 151, 0, 0, 163, 0, 108, 0, 156, 108, 0,
- 141, 0, 0, 156, 0, 167, 0, 156, 111, 167,
- 0, 0, 158, 0, 19, 148, 0, 160, 0, 159,
- 160, 0, 0, 0, 9, 101, 161, 180, 182, 162,
- 102, 148, 0, 180, 0, 165, 0, 177, 163, 104,
- 0, 167, 0, 163, 70, 163, 71, 163, 0, 163,
- 72, 163, 0, 163, 73, 163, 0, 163, 74, 163,
- 0, 163, 75, 163, 0, 163, 76, 163, 0, 163,
- 77, 163, 0, 163, 78, 163, 0, 163, 79, 163,
- 0, 163, 80, 163, 0, 163, 81, 163, 0, 163,
- 82, 163, 0, 163, 83, 163, 0, 163, 84, 163,
- 0, 163, 85, 163, 0, 163, 86, 163, 0, 163,
- 87, 163, 0, 163, 88, 163, 0, 163, 89, 163,
- 0, 163, 90, 163, 0, 87, 163, 0, 86, 163,
- 0, 94, 163, 0, 95, 163, 0, 163, 25, 176,
- 0, 169, 0, 166, 0, 38, 0, 41, 0, 30,
- 0, 173, 0, 101, 165, 102, 0, 101, 180, 102,
- 0, 166, 103, 163, 104, 0, 168, 103, 163, 104,
- 0, 165, 105, 182, 0, 164, 0, 163, 69, 163,
- 0, 163, 58, 163, 0, 163, 59, 163, 0, 163,
- 60, 163, 0, 163, 61, 163, 0, 163, 62, 163,
- 0, 163, 63, 163, 0, 163, 64, 163, 0, 163,
- 65, 163, 0, 163, 66, 163, 0, 163, 67, 163,
- 0, 163, 68, 163, 0, 92, 163, 0, 93, 163,
- 0, 163, 92, 0, 163, 93, 0, 168, 0, 170,
- 0, 180, 101, 174, 102, 0, 165, 105, 182, 101,
- 174, 102, 0, 101, 178, 172, 102, 163, 0, 101,
- 180, 102, 163, 0, 101, 177, 104, 172, 102, 163,
- 0, 100, 178, 103, 171, 0, 100, 180, 103, 171,
- 0, 100, 180, 0, 100, 180, 101, 174, 102, 0,
- 163, 104, 0, 163, 104, 103, 171, 0, 163, 104,
- 103, 104, 172, 0, 0, 172, 103, 104, 0, 50,
- 0, 56, 0, 51, 0, 52, 0, 53, 0, 54,
- 0, 46, 0, 17, 0, 0, 175, 0, 163, 0,
- 175, 111, 163, 0, 177, 104, 172, 0, 180, 0,
- 178, 172, 0, 180, 103, 0, 5, 0, 7, 0,
- 10, 0, 36, 0, 26, 0, 20, 0, 28, 0,
- 15, 0, 48, 0, 0, 179, 32, 0, 179, 34,
- 0, 179, 33, 0, 179, 37, 0, 179, 44, 0,
- 179, 45, 0, 179, 18, 0, 179, 4, 0, 179,
- 29, 0, 179, 40, 0, 182, 0, 180, 105, 182,
- 0, 180, 0, 181, 111, 180, 0, 55, 0
-};
-
-#endif
-
-#if YYDEBUG != 0
-static const short yyrline[] = { 0,
- 131, 134, 135, 142, 143, 146, 156, 168, 169, 172,
- 173, 174, 177, 184, 187, 202, 205, 207, 216, 225,
- 236, 238, 242, 244, 248, 250, 254, 255, 258, 259,
- 262, 263, 264, 265, 279, 282, 302, 329, 349, 359,
- 372, 379, 381, 385, 387, 394, 400, 408, 410, 414,
- 416, 420, 425, 442, 455, 471, 515, 554, 556, 560,
- 562, 566, 568, 572, 577, 584, 585, 588, 590, 597,
- 599, 608, 610, 612, 614, 616, 618, 620, 622, 624,
- 626, 628, 630, 632, 634, 636, 638, 640, 641, 646,
- 648, 650, 652, 661, 668, 670, 672, 676, 678, 682,
- 684, 693, 697, 699, 703, 708, 715, 717, 721, 725,
- 730, 737, 739, 751, 759, 764, 768, 775, 777, 779,
- 781, 783, 785, 787, 789, 791, 793, 795, 797, 799,
- 801, 803, 805, 807, 809, 811, 813, 815, 817, 819,
- 821, 823, 825, 830, 832, 834, 836, 838, 842, 844,
- 846, 851, 853, 855, 860, 864, 873, 882, 891, 900,
- 909, 918, 927, 936, 945, 954, 963, 972, 974, 976,
- 978, 980, 982, 986, 1008, 1015, 1025, 1030, 1039, 1052,
- 1061, 1066, 1073, 1078, 1083, 1094, 1096, 1100, 1102, 1107,
- 1109, 1111, 1113, 1115, 1117, 1121, 1123, 1127, 1132, 1139,
- 1144, 1149, 1160, 1164, 1166, 1168, 1170, 1172, 1174, 1176,
- 1178, 1180, 1184, 1186, 1195, 1204, 1213, 1222, 1231, 1240,
- 1249, 1258, 1267, 1278, 1280, 1289, 1295, 1303
-};
-
-static const char * const yytname[] = { "$","error","$illegal.","ERROR","ABSTRACT",
-"BOOLEAN","BREAK","BYTE","CASE","CATCH","CHAR","CLASS","CONTINUE","DEFAULT",
-"DO","DOUBLE","EXTENDS","FALSE_TOKEN","FINAL","FINALLY","FLOAT","FOR","IF","IMPLEMENTS",
-"IMPORT","INSTANCEOF","INT","INTERFACE","LONG","NATIVE","NULL_TOKEN","PACKAGE",
-"PRIVATE","PROTECTED","PUBLIC","RETURN","SHORT","STATIC","SUPER","SWITCH","SYNCHRONIZED",
-"THIS","THROW","THROWS","TRANSIENT","VOLATILE","TRUE_TOKEN","TRY","VOID","WHILE",
-"INT_LITERAL","CHARACTER_LITERAL","LONG_LITERAL","FLOAT_LITERAL","DOUBLE_LITERAL",
-"SYMBOL","STRING_LITERAL","NOT_AN_OPERATOR","SHIFT_RIGHT_EQUALS","FILL_SHIFT_RIGHT_EQUALS",
-"SHIFT_LEFT_EQUALS","ADD_EQUALS","SUB_EQUALS","MUL_EQUALS","DIV_EQUALS","MOD_EQUALS",
-"AND_EQUALS","XOR_EQUALS","OR_EQUALS","'='","'?'","':'","OR","AND","'|'","'&'",
-"'^'","EQUAL_COMPARE","NOT_EQUAL","LTEQ","GTEQ","'<'","'>'","BITSHIFT_RIGHT",
-"FILL_SHIFT_RIGHT","SHIFT_LEFT","'+'","'-'","'*'","'/'","'%'","CAST","INCR",
-"DECR","'!'","'~'","UMINUS","UPLUS","POST_INCR","POST_DECR","NEW","'('","')'",
-"'['","']'","'.'","LOWER_THAN_ELSE","ELSE","';'","'{'","'}'","','","compilationUnit",
-"optPackage","importList","import","typeDeclarationList","typeDeclaration","classDeclaration",
-"@1","interfaceDeclaration","@2","classModifierList","extends","interfaceExtends",
-"interfaces","classBlock","fieldList","field","staticInitializer","methodDeclaration",
-"@3","constructorDeclaration","@4","@5","optThrows","optConstructorStatements",
-"methodBlock","optParameterList","parameterList","parameter","variableDeclaration",
-"partialVariable","optInitializer","initializer","optVariableInitializerList",
-"variableInitializerList","optComma","compoundStatement","@6","statementList",
-"statement","@7","optExpression","forInit","forIncr","expressionStatements",
-"optFinally","finally","catchList","catchItem","@8","@9","expression","symbolArrayExpression",
-"nonSymbolExpression","nonSymbolComplexPrimary","expressionStatement","methodCall",
-"cast","newExpression","allocationBounds","optArrayBounds","literal","optArgumentList",
-"argumentList","type","qualifiedSymbolWithLBracket","simpleType","modifierList",
-"qualifiedSymbol","qualifiedSymbolList","simpleSymbol",""
-};
-#endif
-
-static const short yyr1[] = { 0,
- 112, 113, 113, 114, 114, 115, 115, 116, 116, 117,
- 117, 117, 119, 118, 121, 120, 122, 122, 122, 122,
- 123, 123, 124, 124, 125, 125, 126, 126, 127, 127,
- 128, 128, 128, 128, 128, 129, 131, 130, 133, 134,
- 132, 135, 135, 136, 136, 136, 136, 137, 137, 138,
- 138, 139, 139, 140, 141, 142, 142, 143, 143, 144,
- 144, 145, 145, 146, 146, 147, 147, 149, 148, 150,
- 150, 151, 151, 151, 151, 151, 151, 151, 151, 151,
- 151, 151, 151, 151, 151, 151, 151, 152, 151, 151,
- 151, 151, 151, 151, 151, 151, 151, 153, 153, 154,
- 154, 154, 155, 155, 156, 156, 157, 157, 158, 159,
- 159, 161, 162, 160, 163, 163, 164, 165, 165, 165,
- 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
- 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
- 165, 165, 165, 165, 165, 165, 165, 165, 166, 166,
- 166, 166, 166, 166, 166, 167, 167, 167, 167, 167,
- 167, 167, 167, 167, 167, 167, 167, 167, 167, 167,
- 167, 167, 167, 168, 168, 169, 169, 169, 170, 170,
- 170, 170, 171, 171, 171, 172, 172, 173, 173, 173,
- 173, 173, 173, 173, 173, 174, 174, 175, 175, 176,
- 176, 176, 177, 178, 178, 178, 178, 178, 178, 178,
- 178, 178, 179, 179, 179, 179, 179, 179, 179, 179,
- 179, 179, 179, 180, 180, 181, 181, 182
-};
-
-static const short yyr2[] = { 0,
- 3, 0, 3, 0, 2, 5, 3, 0, 2, 1,
- 1, 1, 0, 7, 0, 6, 0, 2, 2, 2,
- 0, 2, 0, 2, 0, 2, 2, 3, 1, 2,
- 1, 1, 1, 2, 1, 2, 0, 10, 0, 0,
- 11, 0, 2, 0, 2, 6, 6, 1, 1, 0,
- 1, 1, 3, 3, 2, 4, 5, 0, 2, 1,
- 3, 0, 2, 1, 3, 0, 1, 0, 4, 0,
- 2, 1, 2, 2, 1, 2, 1, 5, 7, 5,
- 7, 2, 3, 2, 3, 2, 3, 0, 9, 3,
- 5, 3, 4, 3, 5, 4, 3, 0, 1, 1,
- 2, 1, 0, 1, 1, 3, 0, 1, 2, 1,
- 2, 0, 0, 8, 1, 1, 3, 1, 5, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 2, 2,
- 2, 2, 3, 1, 1, 1, 1, 1, 1, 3,
- 3, 4, 4, 3, 1, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 2, 2, 2,
- 2, 1, 1, 4, 6, 5, 4, 6, 4, 4,
- 2, 5, 2, 4, 5, 0, 3, 1, 1, 1,
- 1, 1, 1, 1, 1, 0, 1, 1, 3, 3,
- 1, 2, 2, 1, 1, 1, 1, 1, 1, 1,
- 1, 1, 0, 2, 2, 2, 2, 2, 2, 2,
- 2, 2, 2, 1, 3, 1, 3, 1
-};
-
-static const short yydefact[] = { 2,
- 0, 4, 228, 0, 224, 8, 0, 3, 0, 5,
- 17, 225, 0, 10, 9, 11, 12, 0, 0, 7,
- 20, 0, 18, 0, 19, 0, 21, 23, 6, 0,
- 25, 0, 15, 22, 0, 13, 226, 24, 0, 26,
- 0, 0, 213, 16, 14, 227, 31, 27, 213, 29,
- 35, 32, 33, 0, 28, 30, 221, 204, 205, 206,
- 211, 220, 209, 208, 210, 222, 214, 216, 215, 207,
- 217, 223, 218, 219, 212, 68, 34, 0, 36, 0,
- 0, 186, 201, 224, 70, 55, 0, 186, 186, 202,
- 203, 0, 0, 186, 50, 58, 200, 0, 50, 0,
- 0, 0, 0, 0, 0, 195, 0, 0, 148, 0,
- 146, 0, 0, 147, 0, 194, 0, 0, 188, 190,
- 191, 192, 193, 189, 0, 0, 0, 0, 0, 0,
- 0, 0, 72, 69, 77, 75, 71, 0, 155, 116,
- 145, 118, 172, 144, 173, 149, 0, 0, 115, 224,
- 58, 0, 51, 52, 0, 0, 56, 187, 0, 73,
- 74, 82, 0, 0, 118, 0, 115, 84, 0, 0,
- 0, 88, 0, 86, 0, 0, 0, 0, 0, 0,
- 140, 139, 168, 169, 141, 142, 0, 181, 116, 0,
- 186, 115, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 170, 171, 0, 0, 76,
- 0, 186, 0, 196, 0, 57, 186, 0, 186, 62,
- 59, 60, 42, 83, 0, 85, 97, 0, 0, 0,
- 87, 0, 0, 90, 0, 0, 94, 107, 110, 0,
- 0, 196, 0, 150, 186, 0, 151, 143, 157, 158,
- 159, 160, 161, 162, 163, 164, 165, 166, 167, 156,
- 0, 120, 121, 122, 123, 124, 125, 126, 127, 128,
- 129, 130, 131, 132, 133, 134, 135, 136, 137, 138,
- 154, 0, 0, 117, 198, 0, 197, 92, 42, 53,
- 54, 64, 0, 66, 0, 0, 96, 0, 100, 102,
- 98, 0, 118, 0, 0, 0, 112, 109, 93, 108,
- 111, 0, 0, 179, 0, 180, 0, 0, 177, 0,
- 196, 152, 153, 174, 0, 37, 61, 67, 63, 43,
- 40, 0, 0, 99, 101, 0, 78, 95, 91, 0,
- 80, 183, 182, 0, 176, 119, 0, 199, 0, 65,
- 0, 0, 103, 118, 0, 0, 0, 178, 175, 48,
- 38, 49, 146, 147, 0, 70, 81, 0, 104, 79,
- 113, 186, 184, 196, 196, 41, 0, 0, 0, 185,
- 0, 0, 89, 0, 0, 0, 114, 70, 70, 0,
- 0, 0, 0, 0
-};
-
-static const short yydefgoto[] = { 412,
- 2, 6, 10, 11, 15, 16, 41, 17, 39, 18,
- 31, 33, 36, 44, 49, 50, 51, 52, 369, 53,
- 92, 371, 316, 385, 381, 152, 153, 154, 135, 78,
- 157, 241, 313, 314, 349, 136, 85, 93, 137, 249,
- 353, 321, 388, 322, 329, 257, 258, 259, 360, 399,
- 138, 139, 140, 141, 165, 143, 144, 145, 334, 96,
- 146, 306, 307, 147, 166, 82, 54, 167, 38, 5
-};
-
-static const short yypact[] = { 7,
- -25,-32768,-32768, -81,-32768, 24, -25,-32768, -25,-32768,
- 11,-32768, -73,-32768,-32768,-32768,-32768, 98, -22,-32768,
--32768, -25,-32768, -25,-32768, -38, 48, 74,-32768, -25,
- 59, -25,-32768, -9, -25,-32768, -9, -8, -2, -8,
- -2, -25, -54,-32768,-32768, -9,-32768,-32768, 0,-32768,
--32768,-32768,-32768, 513,-32768,-32768,-32768,-32768,-32768,-32768,
--32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
--32768,-32768,-32768,-32768,-32768,-32768,-32768, -62,-32768, -25,
- 23,-32768, 8, 28,-32768,-32768, -25, 34,-32768, 47,
--32768, 56, 634,-32768, 32, -46, 47, 33, 32, 18,
- -39, 1601, -36, 100, 1164,-32768, 82, 95,-32768, 1441,
--32768, 96, 97,-32768, 1601,-32768, 81, 99,-32768,-32768,
--32768,-32768,-32768,-32768, 1601, 1601, 1601, 1601, 1601, 1601,
- 32, 1353,-32768,-32768,-32768,-32768,-32768, 2422,-32768, 102,
- 105, 93, 106,-32768,-32768,-32768, -25, 1460, -10, 131,
- -46, 103, 101,-32768, -25, 1380,-32768,-32768, 108,-32768,
--32768,-32768, 107, 2290,-32768, 1601, 19,-32768, 110, 1164,
- 162,-32768, 1601,-32768, 1664, 1601, 1601, 1730, 17, 1601,
- -15, -15, -15, -15, -15, -15, 111, 90, -43, 1521,
--32768, 84, 32, 1601, 1601, 1601, 1601, 1601, 1601, 1601,
- 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601,
- 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601, 1601,
- 1601, 1601, 1601, 1601, 1601,-32768,-32768, -25, 1601,-32768,
- 1601,-32768, 1796, 1601, 1164,-32768,-32768, 32,-32768, 1380,
--32768, 2422, 173,-32768, 1164,-32768,-32768, 118, 1261, 2060,
--32768, 2106, 2152,-32768, 119, 81,-32768, 17,-32768, 2198,
- 1601, 1601, 1601,-32768,-32768, 15, 1620,-32768, 2422, 2422,
- 2422, 2422, 2422, 2422, 2422, 2422, 2422, 2422, 2422, 2422,
- 2356, 618, 724, 830, 936, 1042, 1148, 1148, 89, 89,
- 89, 89, 66, 66, 66, 75, 75, 41, 41, 41,
- 120, 1862, 1928,-32768, 2422, 121, 115,-32768, -29,-32768,
- 47,-32768, 112, 117, -25, 123,-32768, 1601,-32768,-32768,
- 1601, -27, -23, 1164, 81, 1164,-32768,-32768,-32768,-32768,
--32768, 1164, 1994,-32768, 127,-32768, 39, 1601, 41, 1601,
- 1601,-32768,-32768,-32768, 1601,-32768,-32768, 1380,-32768, -8,
--32768, 2244, 122, 2422,-32768, 1601, 128,-32768,-32768, -25,
--32768, 133,-32768, 1601, 41, 497, 136, 2422, 36,-32768,
- 740, 132, 1601, 4, 1164, -30, 1540, 41,-32768,-32768,
--32768,-32768, 138, 141, 135,-32768,-32768, 144, 139,-32768,
--32768,-32768,-32768, 1601, 1601,-32768, 846, 1164, 145, 47,
- 147, 149,-32768, 81, 146, 148,-32768,-32768,-32768, 952,
- 1058, 243, 252,-32768
-};
-
-static const short yypgoto[] = {-32768,
--32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768,
--32768,-32768,-32768, 212,-32768, 206,-32768,-32768,-32768,-32768,
--32768,-32768, -51,-32768,-32768, 158,-32768, 22, -50,-32768,
- 113, -227,-32768,-32768,-32768, -52,-32768, -365, -99,-32768,
--32768,-32768,-32768, -111,-32768, 5,-32768, 10,-32768,-32768,
- 273,-32768, 134,-32768, -65,-32768,-32768,-32768, -254, -77,
--32768, -255,-32768, -44, -32, 16,-32768, -1, -34, -4
-};
-
-
-#define YYLAST 2515
-
-
-static const short yytable[] = { 4,
- 40, 79, 12, 77, 90, 171, 335, 13, 336, 80,
- -1, 97, 312, 315, 12, 3, 151, 27, 3, 28,
- 397, 81, 156, 7, 3, 255, 8, 142, 34, 3,
- 37, 19, 3, 37, 20, 256, 58, 1, 59, 142,
- 46, 60, 410, 411, -201, 86, 61, 9, 87, 84,
- 155, 63, 83, 47, 155, 48, 98, 64, 264, 65,
- 148, 228, 81, 30, 179, 26, 81, 70, 162, 29,
- 247, 168, 148, 98, 7, 88,-32768,-32768, -105, 75,
- 355, 35, 94, 356, -105, 367, 3, -105, 150, 32,
- 234, 149, 91, 83, 7, 7, 163, 83, 169, 190,
- 150, 21, 42, 149, 142, -106, 43, 47, 22, 55,
- 91, -106, 7, 266, -106, 23, 338, 98, 14, 234,
- 370, 91, 393, 7, 24, 160, 89, 161, -39, 188,
- 192, 25, 226, 227, 95, 308, 158, 148, 401, 402,
- 364, 98, 232, 380, 76, 317, 187, 191, 268, 98,
- 239, 221, 222, 223, 224, 225, 99, 226, 227, 309,
- 81, 311, 223, 224, 225, 150, 226, 227, 149, 142,
- 170, 218, 219, 220, 221, 222, 223, 224, 225, 142,
- 226, 227, 172, 323, 234, 267, 91, 337, 7, 76,
- 262, 83, 263, 155, 7, 173, 176, 177, 320, 180,
- 230, 235, 148, 328, 237, 81, 228, 229, 231, 243,
- 248, 238, 148, 261, 244, 315, 148, 246, 318, 327,
- 341, 347, 344, 301, 357, 345, 359, 348, 363, 373,
- 150, 351, 361, 149, 375, 377, 83, 379, 394, 387,
- 150, 395, 413, 149, 396, 398, 404, 149, 405, 356,
- 406, 414, 45, 408, 56, 409, 159, 346, 142, 310,
- 142, 389, 330, 236, 0, 189, 142, 331, 0, 0,
- 0, 386, 358, 0, 0, 390, 0, 0, 0, 0,
- 350, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 374, 148, 0, 148, 0, 0, 0, 0, 403, 148,
- 0, 0, 0, 0, 0, 142, 0, 323, 0, 142,
- 0, 0, 0, 37, 400, 0, 382, 0, 0, 150,
- 0, 150, 149, 0, 149, 0, 0, 150, 0, 0,
- 149, 142, 142, 0, 0, 0, 0, 0, 148, 0,
- 0, 0, 148, 0, 142, 142, 0, 0, 0, 0,
- 0, 407, 0, 0, 0, 0, 0, 0, 376, 0,
- 0, 0, 0, 0, 148, 148, 150, 0, 0, 149,
- 150, 391, 0, 149, 164, 0, 0, 148, 148, 0,
- 0, 0, 175, 0, 0, 0, 0, 178, 0, 0,
- 0, 0, 150, 150, 0, 149, 149, 181, 182, 183,
- 184, 185, 186, 0, 0, 150, 150, 0, 149, 149,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 233, 0, 0, 0, 0, 0, 0, 0, 242, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 233, 0,
- 0, 0, 0, 0, 0, 250, 0, 0, 252, 253,
- 0, 0, 260, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 233, 0, 0, 0, 269, 270, 271, 272,
- 273, 274, 275, 276, 277, 278, 279, 280, 281, 282,
- 283, 284, 285, 286, 287, 288, 289, 290, 291, 292,
- 293, 294, 295, 296, 297, 298, 299, 300, 0, 0,
- 0, 302, 0, 303, 0, 0, 305, 0, 0, 0,
- 0, 0, 242, 0, 0, 0, 57, 58, 0, 59,
- 0, 193, 60, 0, 0, 0, 0, 61, 0, 0,
- 62, 0, 63, 333, 305, 333, 0, 0, 64, 339,
- 65, 66, 0, 0, 67, 68, 69, 0, 70, 71,
- 0, 0, 72, 0, 0, 0, 73, 74, 0, 0,
- 75, 0, 0, 0, 0, 0, 206, 3, 207, 208,
- 209, 210, 211, 212, 213, 214, 215, 216, 217, 218,
- 219, 220, 221, 222, 223, 224, 225, 0, 226, 227,
- 352, 0, 0, 354, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 365, 0, 366, 305, 0, 0, 0, 368, 0, 0,
- 242, 76, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 100, 0, 378, 0, 58, 101,
- 59, 102, 193, 60, 0, 103, 104, 105, 61, 333,
- 106, 0, 0, 63, 107, 108, 0, 0, 0, 64,
- 0, 65, 0, 109, 0, 0, 305, 305, 110, 70,
- 0, 111, 112, 113, 114, 115, 0, 0, 0, 116,
- 117, 75, 118, 119, 120, 121, 122, 123, 3, 124,
- 208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
- 218, 219, 220, 221, 222, 223, 224, 225, 0, 226,
- 227, 0, 0, 0, 0, 0, 0, 0, 0, 125,
- 126, 0, 0, 0, 0, 127, 128, 129, 130, 0,
- 0, 0, 0, 131, 132, 0, 0, 0, 0, 0,
- 100, 133, 76, 134, 58, 101, 59, 102, 193, 60,
- 0, 103, 104, 105, 61, 0, 106, 0, 0, 63,
- 107, 108, 0, 0, 0, 64, 0, 65, 0, 109,
- 0, 0, 0, 0, 110, 70, 0, 383, 112, 113,
- 384, 115, 0, 0, 0, 116, 117, 75, 118, 119,
- 120, 121, 122, 123, 3, 124, 0, 209, 210, 211,
- 212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
- 222, 223, 224, 225, 0, 226, 227, 0, 0, 0,
- 0, 0, 0, 0, 0, 125, 126, 0, 0, 0,
- 0, 127, 128, 129, 130, 0, 0, 0, 0, 131,
- 132, 0, 0, 0, 0, 0, 100, 133, 76, -44,
- 58, 101, 59, 102, 193, 60, 0, 103, 104, 105,
- 61, 0, 106, 0, 0, 63, 107, 108, 0, 0,
- 0, 64, 0, 65, 0, 109, 0, 0, 0, 0,
- 110, 70, 0, 111, 112, 113, 114, 115, 0, 0,
- 0, 116, 117, 75, 118, 119, 120, 121, 122, 123,
- 3, 124, 0, 0, 210, 211, 212, 213, 214, 215,
- 216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
- 0, 226, 227, 0, 0, 0, 0, 0, 0, 0,
- 0, 125, 126, 0, 0, 0, 0, 127, 128, 129,
- 130, 0, 0, 0, 0, 131, 132, 0, 0, 0,
- 0, 0, 100, 133, 76, -45, 58, 101, 59, 102,
- 193, 60, 0, 103, 104, 105, 61, 0, 106, 0,
- 0, 63, 107, 108, 0, 0, 0, 64, 0, 65,
- 0, 109, 0, 0, 0, 0, 110, 70, 0, 111,
- 112, 113, 114, 115, 0, 0, 0, 116, 117, 75,
- 118, 119, 120, 121, 122, 123, 3, 124, 0, 0,
- 0, 211, 212, 213, 214, 215, 216, 217, 218, 219,
- 220, 221, 222, 223, 224, 225, 0, 226, 227, 0,
- 0, 0, 0, 0, 0, 0, 0, 125, 126, 0,
- 0, 0, 0, 127, 128, 129, 130, 0, 0, 0,
- 0, 131, 132, 0, 0, 0, 0, 0, 100, 133,
- 76, -46, 58, 101, 59, 102, 193, 60, 0, 103,
- 104, 105, 61, 0, 106, 0, 0, 63, 107, 108,
- 0, 0, 0, 64, 0, 65, 0, 109, 0, 0,
- 0, 0, 110, 70, 0, 111, 112, 113, 114, 115,
- 0, 0, 0, 116, 117, 75, 118, 119, 120, 121,
- 122, 123, 3, 124, 0, 0, 0, 0, 212, 213,
- 214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
- 224, 225, 0, 226, 227, 0, 0, 0, 0, 0,
- 0, 0, 0, 125, 126, 0, 0, 0, 0, 127,
- 128, 129, 130, 0, 0, 0, 0, 131, 132, 0,
- 0, 0, 0, 0, 100, 133, 76, -47, 58, 101,
- 59, 102, 193, 60, 0, 103, 104, 105, 61, 0,
- 106, 0, 0, 63, 107, 108, 0, 0, 0, 64,
- 0, 65, 0, 109, 0, 0, 0, 0, 110, 70,
- 0, 111, 112, 113, 114, 115, 0, 0, 0, 116,
- 117, 75, 118, 119, 120, 121, 122, 123, 3, 124,
- 0, 0, 0, 0, 0, 0, 214, 215, 216, 217,
- 218, 219, 220, 221, 222, 223, 224, 225, 0, 226,
- 227, 0, 0, 0, 0, 0, 0, 0, 0, 125,
- 126, 0, 0, 0, 0, 127, 128, 129, 130, 0,
- 0, 0, 0, 131, 132, 58, 0, 59, 0, 0,
- 60, 133, 76, 0, 0, 61, 0, 106, 0, 0,
- 63, 0, 0, 0, 0, 0, 64, 0, 65, 0,
- 109, 0, 0, 0, 0, 0, 70, 0, 111, 0,
- 0, 114, 0, 0, 0, 0, 116, 0, 75, 0,
- 119, 120, 121, 122, 123, 3, 124, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 125, 126, 0, 0,
- 0, 0, 127, 128, 129, 130, 0, 58, 0, 59,
- 131, 132, 60, 0, 0, 0, 0, 61, 319, 106,
- 0, 0, 63, 0, 0, 0, 0, 0, 64, 0,
- 65, 0, 109, 0, 0, 0, 0, 0, 70, 0,
- 111, 0, 0, 114, 0, 0, 106, 0, 116, 0,
- 75, 0, 119, 120, 121, 122, 123, 3, 124, 109,
- 0, 0, 0, 0, 0, 0, 0, 111, 0, 0,
- 114, 0, 0, 0, 0, 116, 0, 0, 0, 119,
- 120, 121, 122, 123, 3, 124, 0, 0, 125, 126,
- 0, 0, 0, 0, 127, 128, 129, 130, 0, 0,
- 0, 0, 131, 132, 0, 0, 0, 106, 0, 0,
- 0, 0, 0, 0, 0, 125, 126, 0, 0, 0,
- 109, 127, 128, 129, 130, 0, 106, 0, 111, 131,
- 132, 114, 0, 0, 0, 0, 116, 0, 240, 109,
- 119, 120, 121, 122, 123, 3, 124, 111, 0, 0,
- 114, 0, 0, 0, 0, 116, 0, 0, 0, 119,
- 120, 121, 122, 123, 3, 124, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 125, 126, 0, 0,
- 0, 0, 127, 128, 129, 130, 0, 106, 0, 0,
- 131, 132, 0, 0, 0, 125, 126, 0, 174, 0,
- 109, 127, 128, 129, 130, 0, 106, 0, 111, 131,
- 132, 114, 0, 89, 0, 0, 116, 0, 0, 109,
- 119, 120, 121, 122, 123, 3, 124, 111, 0, 0,
- 114, 0, 0, 0, 0, 116, 0, 0, 0, 119,
- 120, 121, 122, 123, 3, 124, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 125, 126, 0, 0,
- 0, 0, 127, 128, 129, 130, 0, 106, 0, 0,
- 131, 132, 0, 0, 265, 125, 126, 0, 0, 0,
- 109, 127, 128, 129, 130, 0, 106, 0, 111, 131,
- 132, 114, 0, 392, 0, 0, 116, 0, 0, 109,
- 119, 120, 121, 122, 123, 3, 124, 111, 0, 0,
- 114, 0, 0, 0, 0, 116, 0, 0, 0, 119,
- 120, 121, 122, 123, 3, 124, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 125, 126, 193, 0,
- 0, 0, 127, 128, 129, 130, 0, 0, 0, 0,
- 131, 132, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 129, 130, 0, 0, 0, 0, 131,
- 132, 194, 195, 196, 197, 198, 199, 200, 201, 202,
- 203, 204, 205, 206, 0, 207, 208, 209, 210, 211,
- 212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
- 222, 223, 224, 225, 193, 226, 227, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 251, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 194, 195, 196,
- 197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
- 0, 207, 208, 209, 210, 211, 212, 213, 214, 215,
- 216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
- 193, 226, 227, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 254, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 194, 195, 196, 197, 198, 199, 200,
- 201, 202, 203, 204, 205, 206, 0, 207, 208, 209,
- 210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
- 220, 221, 222, 223, 224, 225, 193, 226, 227, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 304,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 194,
- 195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
- 205, 206, 0, 207, 208, 209, 210, 211, 212, 213,
- 214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
- 224, 225, 193, 226, 227, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 342, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 194, 195, 196, 197, 198,
- 199, 200, 201, 202, 203, 204, 205, 206, 0, 207,
- 208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
- 218, 219, 220, 221, 222, 223, 224, 225, 193, 226,
- 227, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 343, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 194, 195, 196, 197, 198, 199, 200, 201, 202,
- 203, 204, 205, 206, 0, 207, 208, 209, 210, 211,
- 212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
- 222, 223, 224, 225, 193, 226, 227, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 362, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 194, 195, 196,
- 197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
- 193, 207, 208, 209, 210, 211, 212, 213, 214, 215,
- 216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
- 0, 226, 227, 0, 0, 0, 0, 0, 0, 0,
- 0, 324, 0, 194, 195, 196, 197, 198, 199, 200,
- 201, 202, 203, 204, 205, 206, 193, 207, 208, 209,
- 210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
- 220, 221, 222, 223, 224, 225, 0, 226, 227, 0,
- 0, 0, 0, 0, 0, 0, 0, 325, 0, 194,
- 195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
- 205, 206, 193, 207, 208, 209, 210, 211, 212, 213,
- 214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
- 224, 225, 0, 226, 227, 0, 0, 0, 0, 0,
- 0, 0, 0, 326, 0, 194, 195, 196, 197, 198,
- 199, 200, 201, 202, 203, 204, 205, 206, 193, 207,
- 208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
- 218, 219, 220, 221, 222, 223, 224, 225, 0, 226,
- 227, 0, 0, 0, 0, 0, 0, 0, 0, 332,
- 0, 194, 195, 196, 197, 198, 199, 200, 201, 202,
- 203, 204, 205, 206, 193, 207, 208, 209, 210, 211,
- 212, 213, 214, 215, 216, 217, 218, 219, 220, 221,
- 222, 223, 224, 225, 0, 226, 227, 0, 0, 0,
- 0, 0, 0, 0, 0, 372, 0, 194, 195, 196,
- 197, 198, 199, 200, 201, 202, 203, 204, 205, 206,
- 245, 207, 208, 209, 210, 211, 212, 213, 214, 215,
- 216, 217, 218, 219, 220, 221, 222, 223, 224, 225,
- 193, 226, 227, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 194, 195, 196, 197, 198, 199, 200,
- 201, 202, 203, 204, 205, 206, 340, 207, 208, 209,
- 210, 211, 212, 213, 214, 215, 216, 217, 218, 219,
- 220, 221, 222, 223, 224, 225, 193, 226, 227, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 194,
- 195, 196, 197, 198, 199, 200, 201, 202, 203, 204,
- 205, 206, 0, 207, 208, 209, 210, 211, 212, 213,
- 214, 215, 216, 217, 218, 219, 220, 221, 222, 223,
- 224, 225, 0, 226, 227
-};
-
-static const short yycheck[] = { 1,
- 35, 54, 7, 54, 82, 105, 262, 9, 263, 54,
- 0, 89, 240, 43, 19, 55, 94, 22, 55, 24,
- 386, 54, 69, 105, 55, 9, 108, 93, 30, 55,
- 32, 105, 55, 35, 108, 19, 5, 31, 7, 105,
- 42, 10, 408, 409, 55, 108, 15, 24, 111, 54,
- 95, 20, 54, 108, 99, 110, 103, 26, 102, 28,
- 93, 105, 95, 16, 117, 88, 99, 36, 108, 108,
- 170, 108, 105, 103, 105, 80, 92, 93, 102, 48,
- 108, 23, 87, 111, 108, 341, 55, 111, 93, 16,
- 101, 93, 103, 95, 105, 105, 101, 99, 103, 132,
- 105, 4, 111, 105, 170, 102, 109, 108, 11, 110,
- 103, 108, 105, 191, 111, 18, 102, 103, 108, 101,
- 348, 103, 377, 105, 27, 108, 104, 110, 101, 131,
- 132, 34, 92, 93, 101, 235, 104, 170, 394, 395,
- 102, 103, 147, 108, 109, 245, 131, 132, 193, 103,
- 155, 86, 87, 88, 89, 90, 101, 92, 93, 237,
- 193, 239, 88, 89, 90, 170, 92, 93, 170, 235,
- 71, 83, 84, 85, 86, 87, 88, 89, 90, 245,
- 92, 93, 101, 249, 101, 102, 103, 265, 105, 109,
- 101, 193, 103, 238, 105, 101, 101, 101, 249, 101,
- 108, 71, 235, 256, 102, 238, 105, 103, 103, 102,
- 49, 111, 245, 103, 108, 43, 249, 108, 101, 101,
- 101, 110, 102, 228, 324, 111, 326, 111, 102, 108,
- 235, 109, 332, 235, 107, 103, 238, 102, 101, 108,
- 245, 101, 0, 245, 110, 102, 102, 249, 102, 111,
- 102, 0, 41, 108, 49, 108, 99, 309, 324, 238,
- 326, 373, 258, 151, -1, 132, 332, 258, -1, -1,
- -1, 371, 325, -1, -1, 375, -1, -1, -1, -1,
- 315, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 356, 324, -1, 326, -1, -1, -1, -1, 398, 332,
- -1, -1, -1, -1, -1, 371, -1, 373, -1, 375,
- -1, -1, -1, 315, 392, -1, 369, -1, -1, 324,
- -1, 326, 324, -1, 326, -1, -1, 332, -1, -1,
- 332, 397, 398, -1, -1, -1, -1, -1, 371, -1,
- -1, -1, 375, -1, 410, 411, -1, -1, -1, -1,
- -1, 404, -1, -1, -1, -1, -1, -1, 360, -1,
- -1, -1, -1, -1, 397, 398, 371, -1, -1, 371,
- 375, 376, -1, 375, 102, -1, -1, 410, 411, -1,
- -1, -1, 110, -1, -1, -1, -1, 115, -1, -1,
- -1, -1, 397, 398, -1, 397, 398, 125, 126, 127,
- 128, 129, 130, -1, -1, 410, 411, -1, 410, 411,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 148, -1, -1, -1, -1, -1, -1, -1, 156, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 166, -1,
- -1, -1, -1, -1, -1, 173, -1, -1, 176, 177,
- -1, -1, 180, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 190, -1, -1, -1, 194, 195, 196, 197,
- 198, 199, 200, 201, 202, 203, 204, 205, 206, 207,
- 208, 209, 210, 211, 212, 213, 214, 215, 216, 217,
- 218, 219, 220, 221, 222, 223, 224, 225, -1, -1,
- -1, 229, -1, 231, -1, -1, 234, -1, -1, -1,
- -1, -1, 240, -1, -1, -1, 4, 5, -1, 7,
- -1, 25, 10, -1, -1, -1, -1, 15, -1, -1,
- 18, -1, 20, 261, 262, 263, -1, -1, 26, 267,
- 28, 29, -1, -1, 32, 33, 34, -1, 36, 37,
- -1, -1, 40, -1, -1, -1, 44, 45, -1, -1,
- 48, -1, -1, -1, -1, -1, 70, 55, 72, 73,
- 74, 75, 76, 77, 78, 79, 80, 81, 82, 83,
- 84, 85, 86, 87, 88, 89, 90, -1, 92, 93,
- 318, -1, -1, 321, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 338, -1, 340, 341, -1, -1, -1, 345, -1, -1,
- 348, 109, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 1, -1, 364, -1, 5, 6,
- 7, 8, 25, 10, -1, 12, 13, 14, 15, 377,
- 17, -1, -1, 20, 21, 22, -1, -1, -1, 26,
- -1, 28, -1, 30, -1, -1, 394, 395, 35, 36,
- -1, 38, 39, 40, 41, 42, -1, -1, -1, 46,
- 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
- 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
- 83, 84, 85, 86, 87, 88, 89, 90, -1, 92,
- 93, -1, -1, -1, -1, -1, -1, -1, -1, 86,
- 87, -1, -1, -1, -1, 92, 93, 94, 95, -1,
- -1, -1, -1, 100, 101, -1, -1, -1, -1, -1,
- 1, 108, 109, 110, 5, 6, 7, 8, 25, 10,
- -1, 12, 13, 14, 15, -1, 17, -1, -1, 20,
- 21, 22, -1, -1, -1, 26, -1, 28, -1, 30,
- -1, -1, -1, -1, 35, 36, -1, 38, 39, 40,
- 41, 42, -1, -1, -1, 46, 47, 48, 49, 50,
- 51, 52, 53, 54, 55, 56, -1, 74, 75, 76,
- 77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
- 87, 88, 89, 90, -1, 92, 93, -1, -1, -1,
- -1, -1, -1, -1, -1, 86, 87, -1, -1, -1,
- -1, 92, 93, 94, 95, -1, -1, -1, -1, 100,
- 101, -1, -1, -1, -1, -1, 1, 108, 109, 110,
- 5, 6, 7, 8, 25, 10, -1, 12, 13, 14,
- 15, -1, 17, -1, -1, 20, 21, 22, -1, -1,
- -1, 26, -1, 28, -1, 30, -1, -1, -1, -1,
- 35, 36, -1, 38, 39, 40, 41, 42, -1, -1,
- -1, 46, 47, 48, 49, 50, 51, 52, 53, 54,
- 55, 56, -1, -1, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
- -1, 92, 93, -1, -1, -1, -1, -1, -1, -1,
- -1, 86, 87, -1, -1, -1, -1, 92, 93, 94,
- 95, -1, -1, -1, -1, 100, 101, -1, -1, -1,
- -1, -1, 1, 108, 109, 110, 5, 6, 7, 8,
- 25, 10, -1, 12, 13, 14, 15, -1, 17, -1,
- -1, 20, 21, 22, -1, -1, -1, 26, -1, 28,
- -1, 30, -1, -1, -1, -1, 35, 36, -1, 38,
- 39, 40, 41, 42, -1, -1, -1, 46, 47, 48,
- 49, 50, 51, 52, 53, 54, 55, 56, -1, -1,
- -1, 76, 77, 78, 79, 80, 81, 82, 83, 84,
- 85, 86, 87, 88, 89, 90, -1, 92, 93, -1,
- -1, -1, -1, -1, -1, -1, -1, 86, 87, -1,
- -1, -1, -1, 92, 93, 94, 95, -1, -1, -1,
- -1, 100, 101, -1, -1, -1, -1, -1, 1, 108,
- 109, 110, 5, 6, 7, 8, 25, 10, -1, 12,
- 13, 14, 15, -1, 17, -1, -1, 20, 21, 22,
- -1, -1, -1, 26, -1, 28, -1, 30, -1, -1,
- -1, -1, 35, 36, -1, 38, 39, 40, 41, 42,
- -1, -1, -1, 46, 47, 48, 49, 50, 51, 52,
- 53, 54, 55, 56, -1, -1, -1, -1, 77, 78,
- 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
- 89, 90, -1, 92, 93, -1, -1, -1, -1, -1,
- -1, -1, -1, 86, 87, -1, -1, -1, -1, 92,
- 93, 94, 95, -1, -1, -1, -1, 100, 101, -1,
- -1, -1, -1, -1, 1, 108, 109, 110, 5, 6,
- 7, 8, 25, 10, -1, 12, 13, 14, 15, -1,
- 17, -1, -1, 20, 21, 22, -1, -1, -1, 26,
- -1, 28, -1, 30, -1, -1, -1, -1, 35, 36,
- -1, 38, 39, 40, 41, 42, -1, -1, -1, 46,
- 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,
- -1, -1, -1, -1, -1, -1, 79, 80, 81, 82,
- 83, 84, 85, 86, 87, 88, 89, 90, -1, 92,
- 93, -1, -1, -1, -1, -1, -1, -1, -1, 86,
- 87, -1, -1, -1, -1, 92, 93, 94, 95, -1,
- -1, -1, -1, 100, 101, 5, -1, 7, -1, -1,
- 10, 108, 109, -1, -1, 15, -1, 17, -1, -1,
- 20, -1, -1, -1, -1, -1, 26, -1, 28, -1,
- 30, -1, -1, -1, -1, -1, 36, -1, 38, -1,
- -1, 41, -1, -1, -1, -1, 46, -1, 48, -1,
- 50, 51, 52, 53, 54, 55, 56, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 86, 87, -1, -1,
- -1, -1, 92, 93, 94, 95, -1, 5, -1, 7,
- 100, 101, 10, -1, -1, -1, -1, 15, 108, 17,
- -1, -1, 20, -1, -1, -1, -1, -1, 26, -1,
- 28, -1, 30, -1, -1, -1, -1, -1, 36, -1,
- 38, -1, -1, 41, -1, -1, 17, -1, 46, -1,
- 48, -1, 50, 51, 52, 53, 54, 55, 56, 30,
- -1, -1, -1, -1, -1, -1, -1, 38, -1, -1,
- 41, -1, -1, -1, -1, 46, -1, -1, -1, 50,
- 51, 52, 53, 54, 55, 56, -1, -1, 86, 87,
- -1, -1, -1, -1, 92, 93, 94, 95, -1, -1,
- -1, -1, 100, 101, -1, -1, -1, 17, -1, -1,
- -1, -1, -1, -1, -1, 86, 87, -1, -1, -1,
- 30, 92, 93, 94, 95, -1, 17, -1, 38, 100,
- 101, 41, -1, -1, -1, -1, 46, -1, 109, 30,
- 50, 51, 52, 53, 54, 55, 56, 38, -1, -1,
- 41, -1, -1, -1, -1, 46, -1, -1, -1, 50,
- 51, 52, 53, 54, 55, 56, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 86, 87, -1, -1,
- -1, -1, 92, 93, 94, 95, -1, 17, -1, -1,
- 100, 101, -1, -1, -1, 86, 87, -1, 108, -1,
- 30, 92, 93, 94, 95, -1, 17, -1, 38, 100,
- 101, 41, -1, 104, -1, -1, 46, -1, -1, 30,
- 50, 51, 52, 53, 54, 55, 56, 38, -1, -1,
- 41, -1, -1, -1, -1, 46, -1, -1, -1, 50,
- 51, 52, 53, 54, 55, 56, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 86, 87, -1, -1,
- -1, -1, 92, 93, 94, 95, -1, 17, -1, -1,
- 100, 101, -1, -1, 104, 86, 87, -1, -1, -1,
- 30, 92, 93, 94, 95, -1, 17, -1, 38, 100,
- 101, 41, -1, 104, -1, -1, 46, -1, -1, 30,
- 50, 51, 52, 53, 54, 55, 56, 38, -1, -1,
- 41, -1, -1, -1, -1, 46, -1, -1, -1, 50,
- 51, 52, 53, 54, 55, 56, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 86, 87, 25, -1,
- -1, -1, 92, 93, 94, 95, -1, -1, -1, -1,
- 100, 101, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 94, 95, -1, -1, -1, -1, 100,
- 101, 58, 59, 60, 61, 62, 63, 64, 65, 66,
- 67, 68, 69, 70, -1, 72, 73, 74, 75, 76,
- 77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
- 87, 88, 89, 90, 25, 92, 93, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 108, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 58, 59, 60,
- 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
- -1, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
- 25, 92, 93, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 108, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 58, 59, 60, 61, 62, 63, 64,
- 65, 66, 67, 68, 69, 70, -1, 72, 73, 74,
- 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
- 85, 86, 87, 88, 89, 90, 25, 92, 93, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 104,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 58,
- 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
- 69, 70, -1, 72, 73, 74, 75, 76, 77, 78,
- 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
- 89, 90, 25, 92, 93, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 104, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 58, 59, 60, 61, 62,
- 63, 64, 65, 66, 67, 68, 69, 70, -1, 72,
- 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
- 83, 84, 85, 86, 87, 88, 89, 90, 25, 92,
- 93, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 104, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 58, 59, 60, 61, 62, 63, 64, 65, 66,
- 67, 68, 69, 70, -1, 72, 73, 74, 75, 76,
- 77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
- 87, 88, 89, 90, 25, 92, 93, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 104, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 58, 59, 60,
- 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
- 25, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
- -1, 92, 93, -1, -1, -1, -1, -1, -1, -1,
- -1, 102, -1, 58, 59, 60, 61, 62, 63, 64,
- 65, 66, 67, 68, 69, 70, 25, 72, 73, 74,
- 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
- 85, 86, 87, 88, 89, 90, -1, 92, 93, -1,
- -1, -1, -1, -1, -1, -1, -1, 102, -1, 58,
- 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
- 69, 70, 25, 72, 73, 74, 75, 76, 77, 78,
- 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
- 89, 90, -1, 92, 93, -1, -1, -1, -1, -1,
- -1, -1, -1, 102, -1, 58, 59, 60, 61, 62,
- 63, 64, 65, 66, 67, 68, 69, 70, 25, 72,
- 73, 74, 75, 76, 77, 78, 79, 80, 81, 82,
- 83, 84, 85, 86, 87, 88, 89, 90, -1, 92,
- 93, -1, -1, -1, -1, -1, -1, -1, -1, 102,
- -1, 58, 59, 60, 61, 62, 63, 64, 65, 66,
- 67, 68, 69, 70, 25, 72, 73, 74, 75, 76,
- 77, 78, 79, 80, 81, 82, 83, 84, 85, 86,
- 87, 88, 89, 90, -1, 92, 93, -1, -1, -1,
- -1, -1, -1, -1, -1, 102, -1, 58, 59, 60,
- 61, 62, 63, 64, 65, 66, 67, 68, 69, 70,
- 71, 72, 73, 74, 75, 76, 77, 78, 79, 80,
- 81, 82, 83, 84, 85, 86, 87, 88, 89, 90,
- 25, 92, 93, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 58, 59, 60, 61, 62, 63, 64,
- 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
- 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
- 85, 86, 87, 88, 89, 90, 25, 92, 93, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 58,
- 59, 60, 61, 62, 63, 64, 65, 66, 67, 68,
- 69, 70, -1, 72, 73, 74, 75, 76, 77, 78,
- 79, 80, 81, 82, 83, 84, 85, 86, 87, 88,
- 89, 90, -1, 92, 93
-};
-/* -*-C-*- Note some compilers choke on comments on `#line' lines. */
-#line 3 "/usr/lib/bison.simple"
-
-/* Skeleton output parser for bison,
- Copyright (C) 1984, 1989, 1990 Bob Corbett and Richard Stallman
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 1, or (at your option)
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
-
-
-#ifndef alloca
-#ifdef __GNUC__
-#define alloca __builtin_alloca
-#else /* not GNU C. */
-#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
-#include <alloca.h>
-#else /* not sparc */
-#if defined (MSDOS) && !defined (__TURBOC__)
-#include <malloc.h>
-#else /* not MSDOS, or __TURBOC__ */
-#if defined(_AIX)
-#include <malloc.h>
- #pragma alloca
-#else /* not MSDOS, __TURBOC__, or _AIX */
-#ifdef __hpux
-#ifdef __cplusplus
-extern "C" {
-void *alloca (unsigned int);
-};
-#else /* not __cplusplus */
-void *alloca ();
-#endif /* not __cplusplus */
-#endif /* __hpux */
-#endif /* not _AIX */
-#endif /* not MSDOS, or __TURBOC__ */
-#endif /* not sparc. */
-#endif /* not GNU C. */
-#endif /* alloca not defined. */
-
-/* This is the parser code that is written into each bison parser
- when the %semantic_parser declaration is not specified in the grammar.
- It was written by Richard Stallman by simplifying the hairy parser
- used when %semantic_parser is specified. */
-
-/* Note: there must be only one dollar sign in this file.
- It is replaced by the list of actions, each action
- as one case of the switch. */
-
-#define yyerrok (yyerrstatus = 0)
-#define yyclearin (yychar = YYEMPTY)
-#define YYEMPTY -2
-#define YYEOF 0
-#define YYACCEPT return(0)
-#define YYABORT return(1)
-#define YYERROR goto yyerrlab1
-/* Like YYERROR except do call yyerror.
- This remains here temporarily to ease the
- transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
-#define YYFAIL goto yyerrlab
-#define YYRECOVERING() (!!yyerrstatus)
-#define YYBACKUP(token, value) \
-do \
- if (yychar == YYEMPTY && yylen == 1) \
- { yychar = (token), yylval = (value); \
- yychar1 = YYTRANSLATE (yychar); \
- YYPOPSTACK; \
- goto yybackup; \
- } \
- else \
- { yyerror ("syntax error: cannot back up"); YYERROR; } \
-while (0)
-
-#define YYTERROR 1
-#define YYERRCODE 256
-
-#ifndef YYPURE
-#define YYLEX yylex()
-#endif
-
-#ifdef YYPURE
-#ifdef YYLSP_NEEDED
-#define YYLEX yylex(&yylval, &yylloc)
-#else
-#define YYLEX yylex(&yylval)
-#endif
-#endif
-
-/* If nonreentrant, generate the variables here */
-
-#ifndef YYPURE
-
-int yychar; /* the lookahead symbol */
-YYSTYPE yylval; /* the semantic value of the */
- /* lookahead symbol */
-
-#ifdef YYLSP_NEEDED
-YYLTYPE yylloc; /* location data for the lookahead */
- /* symbol */
-#endif
-
-int yynerrs; /* number of parse errors so far */
-#endif /* not YYPURE */
-
-#if YYDEBUG != 0
-int yydebug; /* nonzero means print parse trace */
-/* Since this is uninitialized, it does not stop multiple parsers
- from coexisting. */
-#endif
-
-/* YYINITDEPTH indicates the initial size of the parser's stacks */
-
-#ifndef YYINITDEPTH
-#define YYINITDEPTH 200
-#endif
-
-/* YYMAXDEPTH is the maximum size the stacks can grow to
- (effective only if the built-in stack extension method is used). */
-
-#if YYMAXDEPTH == 0
-#undef YYMAXDEPTH
-#endif
-
-#ifndef YYMAXDEPTH
-#define YYMAXDEPTH 10000
-#endif
-
-/* Prevent warning if -Wstrict-prototypes. */
-#ifdef __GNUC__
-int yyparse (void);
-#endif
-
-#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
-#define __yy_bcopy(FROM,TO,COUNT) __builtin_memcpy(TO,FROM,COUNT)
-#else /* not GNU C or C++ */
-#ifndef __cplusplus
-
-/* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
-static void
-__yy_bcopy (from, to, count)
- char *from;
- char *to;
- int count;
-{
- register char *f = from;
- register char *t = to;
- register int i = count;
-
- while (i-- > 0)
- *t++ = *f++;
-}
-
-#else /* __cplusplus */
-
-/* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
-static void
-__yy_bcopy (char *from, char *to, int count)
-{
- register char *f = from;
- register char *t = to;
- register int i = count;
-
- while (i-- > 0)
- *t++ = *f++;
-}
-
-#endif
-#endif
-
-#line 184 "/usr/lib/bison.simple"
-int
-yyparse()
-{
- register int yystate;
- register int yyn;
- register short *yyssp;
- register YYSTYPE *yyvsp;
- int yyerrstatus; /* number of tokens to shift before error messages enabled */
- int yychar1 = 0; /* lookahead token as an internal (translated) token number */
-
- short yyssa[YYINITDEPTH]; /* the state stack */
- YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
-
- short *yyss = yyssa; /* refer to the stacks thru separate pointers */
- YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
-
-#ifdef YYLSP_NEEDED
- YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
- YYLTYPE *yyls = yylsa;
- YYLTYPE *yylsp;
-
-#define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
-#else
-#define YYPOPSTACK (yyvsp--, yyssp--)
-#endif
-
- int yystacksize = YYINITDEPTH;
-
-#ifdef YYPURE
- int yychar;
- YYSTYPE yylval;
- int yynerrs;
-#ifdef YYLSP_NEEDED
- YYLTYPE yylloc;
-#endif
-#endif
-
- YYSTYPE yyval; /* the variable used to return */
- /* semantic values from the action */
- /* routines */
-
- int yylen;
-
-#if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Starting parse\n");
-#endif
-
- yystate = 0;
- yyerrstatus = 0;
- yynerrs = 0;
- yychar = YYEMPTY; /* Cause a token to be read. */
-
- /* Initialize stack pointers.
- Waste one element of value and location stack
- so that they stay on the same level as the state stack.
- The wasted elements are never initialized. */
-
- yyssp = yyss - 1;
- yyvsp = yyvs;
-#ifdef YYLSP_NEEDED
- yylsp = yyls;
-#endif
-
-/* Push a new state, which is found in yystate . */
-/* In all cases, when you get here, the value and location stacks
- have just been pushed. so pushing a state here evens the stacks. */
-yynewstate:
-
- *++yyssp = yystate;
-
- if (yyssp >= yyss + yystacksize - 1)
- {
- /* Give user a chance to reallocate the stack */
- /* Use copies of these so that the &'s don't force the real ones into memory. */
- YYSTYPE *yyvs1 = yyvs;
- short *yyss1 = yyss;
-#ifdef YYLSP_NEEDED
- YYLTYPE *yyls1 = yyls;
-#endif
-
- /* Get the current used size of the three stacks, in elements. */
- int size = yyssp - yyss + 1;
-
-#ifdef yyoverflow
- /* Each stack pointer address is followed by the size of
- the data in use in that stack, in bytes. */
-#ifdef YYLSP_NEEDED
- /* This used to be a conditional around just the two extra args,
- but that might be undefined if yyoverflow is a macro. */
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yyls1, size * sizeof (*yylsp),
- &yystacksize);
-#else
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yystacksize);
-#endif
-
- yyss = yyss1; yyvs = yyvs1;
-#ifdef YYLSP_NEEDED
- yyls = yyls1;
-#endif
-#else /* no yyoverflow */
- /* Extend the stack our own way. */
- if (yystacksize >= YYMAXDEPTH)
- {
- yyerror("parser stack overflow");
- return 2;
- }
- yystacksize *= 2;
- if (yystacksize > YYMAXDEPTH)
- yystacksize = YYMAXDEPTH;
- yyss = (short *) alloca (yystacksize * sizeof (*yyssp));
- __yy_bcopy ((char *)yyss1, (char *)yyss, size * sizeof (*yyssp));
- yyvs = (YYSTYPE *) alloca (yystacksize * sizeof (*yyvsp));
- __yy_bcopy ((char *)yyvs1, (char *)yyvs, size * sizeof (*yyvsp));
-#ifdef YYLSP_NEEDED
- yyls = (YYLTYPE *) alloca (yystacksize * sizeof (*yylsp));
- __yy_bcopy ((char *)yyls1, (char *)yyls, size * sizeof (*yylsp));
-#endif
-#endif /* no yyoverflow */
-
- yyssp = yyss + size - 1;
- yyvsp = yyvs + size - 1;
-#ifdef YYLSP_NEEDED
- yylsp = yyls + size - 1;
-#endif
-
-#if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Stack size increased to %d\n", yystacksize);
-#endif
-
- if (yyssp >= yyss + yystacksize - 1)
- YYABORT;
- }
-
-#if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Entering state %d\n", yystate);
-#endif
-
- goto yybackup;
- yybackup:
-
-/* Do appropriate processing given the current state. */
-/* Read a lookahead token if we need one and don't already have one. */
-/* yyresume: */
-
- /* First try to decide what to do without reference to lookahead token. */
-
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yydefault;
-
- /* Not known => get a lookahead token if don't already have one. */
-
- /* yychar is either YYEMPTY or YYEOF
- or a valid token in external form. */
-
- if (yychar == YYEMPTY)
- {
-#if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Reading a token: ");
-#endif
- yychar = YYLEX;
- }
-
- /* Convert token to internal form (in yychar1) for indexing tables with */
-
- if (yychar <= 0) /* This means end of input. */
- {
- yychar1 = 0;
- yychar = YYEOF; /* Don't call YYLEX any more */
-
-#if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Now at end of input.\n");
-#endif
- }
- else
- {
- yychar1 = YYTRANSLATE(yychar);
-
-#if YYDEBUG != 0
- if (yydebug)
- {
- fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
- /* Give the individual parser a way to print the precise meaning
- of a token, for further debugging info. */
-#ifdef YYPRINT
- YYPRINT (stderr, yychar, yylval);
-#endif
- fprintf (stderr, ")\n");
- }
-#endif
- }
-
- yyn += yychar1;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
- goto yydefault;
-
- yyn = yytable[yyn];
-
- /* yyn is what to do for this token type in this state.
- Negative => reduce, -yyn is rule number.
- Positive => shift, yyn is new state.
- New state is final state => don't bother to shift,
- just return success.
- 0, or most negative number => error. */
-
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrlab;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrlab;
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
- /* Shift the lookahead token. */
-
-#if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
-#endif
-
- /* Discard the token being shifted unless it is eof. */
- if (yychar != YYEOF)
- yychar = YYEMPTY;
-
- *++yyvsp = yylval;
-#ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
-#endif
-
- /* count tokens shifted since error; after three, turn off error status. */
- if (yyerrstatus) yyerrstatus--;
-
- yystate = yyn;
- goto yynewstate;
-
-/* Do the default action for the current state. */
-yydefault:
-
- yyn = yydefact[yystate];
- if (yyn == 0)
- goto yyerrlab;
-
-/* Do a reduction. yyn is the number of a rule to reduce with. */
-yyreduce:
- yylen = yyr2[yyn];
- if (yylen > 0)
- yyval = yyvsp[1-yylen]; /* implement default value of the action */
-
-#if YYDEBUG != 0
- if (yydebug)
- {
- int i;
-
- fprintf (stderr, "Reducing via rule %d (line %d), ",
- yyn, yyrline[yyn]);
-
- /* Print the symbols being reduced, and their result. */
- for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
- fprintf (stderr, "%s ", yytname[yyrhs[i]]);
- fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
- }
-#endif
-
-
- switch (yyn) {
-
-case 3:
-#line 136 "parser.y"
-{
- gCurrentCompiler->SetPackage(*(yyvsp[-1].text));
- delete yyvsp[-1].text;
- ;
- break;}
-case 6:
-#line 147 "parser.y"
-{
- if (!gCurrentCompiler->ImportPackage(*(yyvsp[-3].text))) {
- string errorMessage("Invalid package: ");
- errorMessage += ::UnicodeToUTF(*(yyvsp[-3].text));
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- delete yyvsp[-3].text;
- ;
- break;}
-case 7:
-#line 157 "parser.y"
-{
- if (gCurrentCompiler->ImportClass(*(yyvsp[-1].text)) == 0) {
- string errorMessage("Invalid class: ");
- errorMessage += ::UnicodeToUTF(*(yyvsp[-1].text));
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- delete yyvsp[-1].text;
- ;
- break;}
-case 13:
-#line 179 "parser.y"
-{
- gCurrentCompiler->StartClass(*(yyvsp[-2].text), yyvsp[-4].modifiers, yyvsp[-1].text, yyvsp[0].stringList);
- delete yyvsp[-2].text;
- ;
- break;}
-case 14:
-#line 184 "parser.y"
-{ gCurrentCompiler->EndClass(); ;
- break;}
-case 15:
-#line 189 "parser.y"
-{
- CJavaAccessFlags usedFlags(*(yyvsp[-3].modifiers));
- usedFlags.fPublic = usedFlags.fAbstract = 0;
- yyvsp[-3].modifiers->fAbstract = yyvsp[-3].modifiers->fInterface = 1;
- if (usedFlags.Count() > 0) {
- string errorMessage("Invalid interface modifier use: ");
- errorMessage += usedFlags.FlagNames();
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- gCurrentCompiler->StartInterface(*(yyvsp[-1].text), yyvsp[-3].modifiers, yyvsp[0].stringList);
- ;
- break;}
-case 16:
-#line 202 "parser.y"
-{ gCurrentCompiler->EndClass(); ;
- break;}
-case 17:
-#line 206 "parser.y"
-{ yyval.modifiers = new CJavaAccessFlags; ;
- break;}
-case 18:
-#line 208 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fFinal) {
- yyerror("'final' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fFinal = 1;
- ;
- break;}
-case 19:
-#line 217 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fPublic) {
- yyerror("'public' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fPublic = 1;
- ;
- break;}
-case 20:
-#line 226 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fAbstract) {
- yyerror("'abstract' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fAbstract = 1;
- ;
- break;}
-case 21:
-#line 237 "parser.y"
-{ yyval.text = 0; ;
- break;}
-case 22:
-#line 239 "parser.y"
-{ yyval.text = yyvsp[0].text; ;
- break;}
-case 23:
-#line 243 "parser.y"
-{ yyval.stringList = 0; ;
- break;}
-case 24:
-#line 245 "parser.y"
-{ yyval.stringList = yyvsp[0].stringList; ;
- break;}
-case 25:
-#line 249 "parser.y"
-{ yyval.stringList = 0; ;
- break;}
-case 26:
-#line 251 "parser.y"
-{ yyval.stringList = yyvsp[0].stringList; ;
- break;}
-case 34:
-#line 266 "parser.y"
-{
- CJavaAccessFlags usedFlags(*yyvsp[-1].modifiers);
- usedFlags.fPublic = usedFlags.fProtected = usedFlags.fPrivate =
- usedFlags.fStatic = usedFlags.fFinal = usedFlags.fTransient =
- usedFlags.fVolatile = 0;
- if (usedFlags.Count() > 0) {
- string errorMessage("Invalid modifier use in field declaration: ");
- errorMessage += usedFlags.FlagNames();
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- gCurrentCompiler->AddField(new CDeclarationStatement(yyvsp[0].variableList, yyvsp[-1].modifiers));
- ;
- break;}
-case 36:
-#line 283 "parser.y"
-{
- if (yyvsp[-1].modifiers->fStatic == 0) {
- string errorMessage(
- "Static initialization block requires STATIC modifier");
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- if (yyvsp[-1].modifiers->Count() > 1) {
- yyvsp[-1].modifiers->fStatic = 0;
- string errorMessage("Invalid modifiers before static initializer: ");
- errorMessage += yyvsp[-1].modifiers->FlagNames();
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- gCurrentCompiler->AddStaticCode(yyvsp[0].compoundStatement);
- delete yyvsp[-1].modifiers;
- ;
- break;}
-case 37:
-#line 304 "parser.y"
-{
- if (gCurrentCompiler->GetCurrentClass()->GetName() == *(yyvsp[-5].text)) {
- string errorMessage("Invalid use of return value with constructor.");
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- if (yyvsp[-1].longNumber > 0 && yyvsp[-6].typeSignature->GetBaseType() == CJavaTypeSignature::Void) {
- yyerror("Invalid return value of void array.");
- YYERROR;
- }
- yyvsp[-6].typeSignature->SetArrayBounds(yyvsp[-6].typeSignature->GetArrayBounds() + yyvsp[-1].longNumber);
- CJavaAccessFlags usedFlags = *(yyvsp[-7].modifiers);
- usedFlags.fPublic = usedFlags.fProtected = usedFlags.fPrivate =
- usedFlags.fStatic = usedFlags.fFinal = usedFlags.fAbstract =
- usedFlags.fNative = usedFlags.fSynchronized = 0;
- if (usedFlags.Count() > 0) {
- string errorMessage("Invalid modifier use in method declaration: ");
- errorMessage += usedFlags.FlagNames();
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- gCurrentCompiler->StartFunction(*(yyvsp[-6].typeSignature), *(yyvsp[-5].text), *(yyvsp[-7].modifiers), yyvsp[-3].fieldList, yyvsp[0].stringList);
- delete yyvsp[-6].typeSignature;
- ;
- break;}
-case 38:
-#line 329 "parser.y"
-{
- if (yyvsp[0].compoundStatement != 0) {
- if (yyvsp[-9].modifiers->fAbstract != 0) {
- string errorMessage("Non-empty block used with abstract method ");
- errorMessage += ::UnicodeToString(*(yyvsp[-7].text));
- yyerror(errorMessage.c_str());
- YYERROR;
- } else if (yyvsp[-9].modifiers->fNative != 0) {
- string errorMessage("Non-empty block used with native method ");
- errorMessage += ::UnicodeToString(*(yyvsp[-7].text));
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- }
- gCurrentCompiler->EndFunction(yyvsp[0].compoundStatement);
- delete yyvsp[-9].modifiers;
- delete yyvsp[-7].text;
- ;
- break;}
-case 39:
-#line 350 "parser.y"
-{
- if (!(gCurrentCompiler->GetCurrentClass()->GetShortName() == *(yyvsp[0].text))) {
- string errorMessage("No type given for function: ");
- errorMessage += ::UnicodeToString(*(yyvsp[0].text));
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- delete yyvsp[0].text;
- ;
- break;}
-case 40:
-#line 360 "parser.y"
-{
- CJavaAccessFlags usedFlags(*yyvsp[-7].modifiers);
- usedFlags.fPublic = usedFlags.fProtected = usedFlags.fPrivate = 0;
- if (usedFlags.Count() > 0) {
- string errorMessage("Invalid modifier use in constructor: ");
- errorMessage += usedFlags.FlagNames();
- yyerror(errorMessage.c_str());
- YYERROR;
- }
- gCurrentCompiler->StartConstructor(*yyvsp[-7].modifiers, yyvsp[-3].fieldList, yyvsp[-1].stringList);
- delete yyvsp[-7].modifiers;
- ;
- break;}
-case 41:
-#line 373 "parser.y"
-{
- CCompoundStatement* statement = new CCompoundStatement(yyvsp[-1].statementList);
- gCurrentCompiler->EndFunction(statement);
- ;
- break;}
-case 42:
-#line 380 "parser.y"
-{ yyval.stringList = 0; ;
- break;}
-case 43:
-#line 382 "parser.y"
-{ yyval.stringList = yyvsp[0].stringList; ;
- break;}
-case 44:
-#line 386 "parser.y"
-{ yyval.statementList = new StatementList; ;
- break;}
-case 45:
-#line 388 "parser.y"
-{
- yyval.statementList = yyvsp[0].statementList;
- if (yyvsp[-1].statement != 0) {
- yyval.statementList->push_front(yyvsp[-1].statement);
- }
- ;
- break;}
-case 46:
-#line 395 "parser.y"
-{
- yyval.statementList = yyvsp[0].statementList;
- yyval.statementList->push_front(
- new CExplicitConstructorCall(CExplicitConstructorCall::kSuper, yyvsp[-3].expressionList));
- ;
- break;}
-case 47:
-#line 401 "parser.y"
-{
- yyval.statementList = yyvsp[0].statementList;
- yyval.statementList->push_front(
- new CExplicitConstructorCall(CExplicitConstructorCall::kThis, yyvsp[-3].expressionList));
- ;
- break;}
-case 48:
-#line 409 "parser.y"
-{ yyval.compoundStatement = 0; ;
- break;}
-case 49:
-#line 411 "parser.y"
-{ yyval.compoundStatement = yyvsp[0].compoundStatement; ;
- break;}
-case 50:
-#line 415 "parser.y"
-{ yyval.fieldList = 0; ;
- break;}
-case 51:
-#line 417 "parser.y"
-{ yyval.fieldList = yyvsp[0].fieldList; ;
- break;}
-case 52:
-#line 421 "parser.y"
-{
- yyval.fieldList = new deque<CJavaFieldSignature>(1, *(yyvsp[0].fieldSignature));
- delete yyvsp[0].fieldSignature;
- ;
- break;}
-case 53:
-#line 426 "parser.y"
-{
- yyval.fieldList = yyvsp[-2].fieldList;
- for (deque<CJavaFieldSignature>::iterator parameterIter = yyvsp[-2].fieldList->begin();
- parameterIter != yyvsp[-2].fieldList->end(); ++parameterIter) {
- if ((*parameterIter).GetFieldName() == (*(yyvsp[0].fieldSignature)).GetFieldName()) {
- string errorString("Invalid re-use of parameter name: ");
- errorString += ::UnicodeToString((*(yyvsp[0].fieldSignature)).GetFieldName());
- yyerror(errorString.c_str());
- YYERROR;
- }
- }
- yyval.fieldList->push_back(*(yyvsp[0].fieldSignature));
- delete yyvsp[0].fieldSignature;
- ;
- break;}
-case 54:
-#line 443 "parser.y"
-{
- if (yyvsp[-2].typeSignature->GetBaseType() == CJavaTypeSignature::Void) {
- yyerror("Invalid use of 'void' for a parameter type.");
- YYERROR;
- }
- yyvsp[-2].typeSignature->SetArrayBounds(yyvsp[-2].typeSignature->GetArrayBounds() + yyvsp[0].longNumber);
- yyval.fieldSignature = new CJavaFieldSignature(*(yyvsp[-2].typeSignature), *(yyvsp[-1].text));
- delete yyvsp[-2].typeSignature;
- delete yyvsp[-1].text;
- ;
- break;}
-case 55:
-#line 456 "parser.y"
-{
- yyval.variableList = yyvsp[-1].variableList;
- // take off the bogus entry added in partialVariable
- delete yyval.variableList->front();
- yyval.variableList->pop_front();
- ;
- break;}
-case 56:
-#line 472 "parser.y"
-{
- if (yyvsp[-3].typeSignature->GetBaseType() == CJavaTypeSignature::Void) {
- yyerror("Invalid use of 'void' for a variable type.");
- YYERROR;
- }
- yyval.variableList = new deque<CVariableDeclaration*>;
- // push a bogus entry at the beginning, just to hold the base type of
- // this variable declaration sequence.
- yyval.variableList->push_front(new CVariableDeclaration(*(yyvsp[-3].typeSignature), unicode_string()));
- yyvsp[-3].typeSignature->SetArrayBounds(yyvsp[-3].typeSignature->GetArrayBounds() + yyvsp[-1].longNumber);
- CArrayInitializer* arrayInitializer= DYNAMIC_CAST(CArrayInitializer, yyvsp[0].expression);
- if (arrayInitializer != 0) {
- if (yyvsp[-3].typeSignature->GetArrayBounds() == 0) {
- string errorMessage("Cannot use array initializer with non-array ");
- errorMessage += ::UnicodeToUTF(*yyvsp[-2].text);
- yyerror(errorMessage.c_str());
- YYERROR;
- } else {
- arrayInitializer->SetArrayType(*(yyvsp[-3].typeSignature));
- }
- }
-
- CJavaFieldSignature signature(*(yyvsp[-3].typeSignature), *(yyvsp[-2].text));
- if (gCurrentCompiler->InStatementBlock()) {
- if (gCurrentCompiler->LookupLocalVariable(*yyvsp[-2].text) != 0) {
- string errorMessage = ::UnicodeToUTF(*yyvsp[-2].text);
- errorMessage += " already declared in this scope.";
- yyerror(errorMessage.c_str());
- YYERROR;
- } else {
- gCurrentCompiler->AddLocalVariable(signature);
- }
- }
- CExpression* initializer = yyvsp[0].expression;
- if (initializer != 0) {
- initializer =
- new CBinaryExpression(::InterpretSymbolExpression(*(yyvsp[-2].text)),
- '=', initializer);
- }
- yyval.variableList->push_back(new CVariableDeclaration(*(yyvsp[-3].typeSignature), *(yyvsp[-2].text), initializer));
- delete yyvsp[-3].typeSignature;
- delete yyvsp[-2].text;
- ;
- break;}
-case 57:
-#line 516 "parser.y"
-{
- yyval.variableList = yyvsp[-4].variableList;
- CJavaTypeSignature thisType = (yyval.variableList)->front()->GetType();
- thisType.SetArrayBounds(thisType.GetArrayBounds() + yyvsp[-1].longNumber);
- CArrayInitializer* arrayInitializer= DYNAMIC_CAST(CArrayInitializer, yyvsp[0].expression);
- if (arrayInitializer != 0) {
- if (thisType.GetArrayBounds() == 0) {
- string errorMessage("Cannot use array initializer with non-array ");
- errorMessage += ::UnicodeToUTF(*yyvsp[-2].text);
- yyerror(errorMessage.c_str());
- YYERROR;
- } else {
- arrayInitializer->SetArrayType(thisType);
- }
- }
-
- CJavaFieldSignature signature(thisType, *(yyvsp[-2].text));
- if (gCurrentCompiler->InStatementBlock()) {
- if (gCurrentCompiler->LookupLocalVariable(*yyvsp[-2].text) != 0) {
- string errorMessage = ::UnicodeToUTF(*yyvsp[-2].text);
- errorMessage += " already declared in this scope.";
- yyerror(errorMessage.c_str());
- YYERROR;
- } else {
- gCurrentCompiler->AddLocalVariable(signature);
- }
- }
- CExpression* initializer = yyvsp[0].expression;
- if (initializer != 0) {
- initializer =
- new CBinaryExpression(::InterpretSymbolExpression(*(yyvsp[-2].text)),
- '=', initializer);
- }
- yyval.variableList->push_back(new CVariableDeclaration(thisType, *(yyvsp[-2].text), initializer));
- delete yyvsp[-2].text;
- ;
- break;}
-case 58:
-#line 555 "parser.y"
-{ yyval.expression = 0; ;
- break;}
-case 59:
-#line 557 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 60:
-#line 561 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 61:
-#line 563 "parser.y"
-{ yyval.expression = yyvsp[-1].expression; ;
- break;}
-case 62:
-#line 567 "parser.y"
-{ yyval.expression = new CArrayInitializer(); ;
- break;}
-case 63:
-#line 569 "parser.y"
-{ yyval.expression = new CArrayInitializer(yyvsp[-1].expressionList); ;
- break;}
-case 64:
-#line 573 "parser.y"
-{
- yyval.expressionList = new ExpressionList;
- yyval.expressionList->push_back(yyvsp[0].expression);
- ;
- break;}
-case 65:
-#line 578 "parser.y"
-{
- yyval.expressionList = yyvsp[-2].expressionList;
- yyval.expressionList->push_back(yyvsp[0].expression);
- ;
- break;}
-case 68:
-#line 589 "parser.y"
-{ gCurrentCompiler->PushLocalScope(); ;
- break;}
-case 69:
-#line 591 "parser.y"
-{
- gCurrentCompiler->PopLocalScope();
- yyval.compoundStatement = new CCompoundStatement(yyvsp[-1].statementList);
- ;
- break;}
-case 70:
-#line 598 "parser.y"
-{ yyval.statementList = new StatementList; ;
- break;}
-case 71:
-#line 600 "parser.y"
-{
- yyval.statementList = yyvsp[-1].statementList;
- if (yyvsp[0].statement != 0) {
- yyvsp[-1].statementList->push_back(yyvsp[0].statement);
- }
- ;
- break;}
-case 72:
-#line 609 "parser.y"
-{ yyval.statement = 0; ;
- break;}
-case 73:
-#line 611 "parser.y"
-{ yyval.statement = 0; ;
- break;}
-case 74:
-#line 613 "parser.y"
-{ yyval.statement = 0; ;
- break;}
-case 75:
-#line 615 "parser.y"
-{ yyval.statement = yyvsp[0].compoundStatement; ;
- break;}
-case 76:
-#line 617 "parser.y"
-{ yyval.statement = new CExpressionStatement(yyvsp[-1].expression); ;
- break;}
-case 77:
-#line 619 "parser.y"
-{ yyval.statement = new CDeclarationStatement(yyvsp[0].variableList); ;
- break;}
-case 78:
-#line 621 "parser.y"
-{ yyval.statement = new CIfStatement(yyvsp[-2].expression, yyvsp[0].statement); ;
- break;}
-case 79:
-#line 623 "parser.y"
-{ yyval.statement = new CIfStatement(yyvsp[-4].expression, yyvsp[-2].statement, yyvsp[0].statement); ;
- break;}
-case 80:
-#line 625 "parser.y"
-{ yyval.statement = new CWhileStatement(yyvsp[0].statement, yyvsp[-2].expression); ;
- break;}
-case 81:
-#line 627 "parser.y"
-{ yyval.statement = new CDoStatement(yyvsp[-5].statement, yyvsp[-2].expression); ;
- break;}
-case 82:
-#line 629 "parser.y"
-{ yyval.statement = new CBranchStatement(CBranchStatement::kBreak); ;
- break;}
-case 83:
-#line 631 "parser.y"
-{ yyval.statement = new CBranchStatement(CBranchStatement::kBreak, yyvsp[-1].text); ;
- break;}
-case 84:
-#line 633 "parser.y"
-{ yyval.statement = new CBranchStatement(CBranchStatement::kContinue); ;
- break;}
-case 85:
-#line 635 "parser.y"
-{ yyval.statement = new CBranchStatement(CBranchStatement::kContinue, yyvsp[-1].text); ;
- break;}
-case 86:
-#line 637 "parser.y"
-{ yyval.statement = new CReturnStatement(); ;
- break;}
-case 87:
-#line 639 "parser.y"
-{ yyval.statement = new CReturnStatement(yyvsp[-1].expression); ;
- break;}
-case 88:
-#line 640 "parser.y"
-{ gCurrentCompiler->PushLocalScope(); ;
- break;}
-case 89:
-#line 642 "parser.y"
-{
- yyval.statement = new CForStatement(yyvsp[-5].statement, yyvsp[-4].expression, yyvsp[-2].expressionList, yyvsp[0].statement);
- gCurrentCompiler->PopLocalScope();
- ;
- break;}
-case 90:
-#line 647 "parser.y"
-{ yyval.statement = new CThrowStatement(yyvsp[-1].expression); ;
- break;}
-case 91:
-#line 649 "parser.y"
-{ yyval.statement = new CSynchronized(yyvsp[-2].expression, yyvsp[0].statement, gCurrentCompiler->AddUnnamedVariable()); ;
- break;}
-case 92:
-#line 651 "parser.y"
-{ yyval.statement = new CLabelStatement(yyvsp[-2].text, yyvsp[0].statement); ;
- break;}
-case 93:
-#line 653 "parser.y"
-{
- unsigned short handlerVariable, subroutineVariable;
- if (yyvsp[0].compoundStatement != 0) {
- handlerVariable = gCurrentCompiler->AddUnnamedVariable();
- subroutineVariable = gCurrentCompiler->AddUnnamedVariable();
- }
- yyval.statement = new CTryStatement(yyvsp[-2].compoundStatement, yyvsp[-1].catchList, yyvsp[0].compoundStatement, handlerVariable, subroutineVariable);
- ;
- break;}
-case 94:
-#line 662 "parser.y"
-{
- unsigned short handlerVariable, subroutineVariable;
- handlerVariable = gCurrentCompiler->AddUnnamedVariable();
- subroutineVariable = gCurrentCompiler->AddUnnamedVariable();
- yyval.statement = new CTryStatement(yyvsp[-1].compoundStatement, 0, yyvsp[0].compoundStatement, handlerVariable, subroutineVariable);
- ;
- break;}
-case 95:
-#line 669 "parser.y"
-{ yyval.statement = new CSwitch(yyvsp[-2].expression, yyvsp[0].compoundStatement); ;
- break;}
-case 96:
-#line 671 "parser.y"
-{ yyval.statement = new CLabelStatement(yyvsp[-2].expression, yyvsp[0].statement); ;
- break;}
-case 97:
-#line 673 "parser.y"
-{ yyval.statement = new CLabelStatement(yyvsp[0].statement); ;
- break;}
-case 98:
-#line 677 "parser.y"
-{ yyval.expression = 0; ;
- break;}
-case 99:
-#line 679 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 100:
-#line 683 "parser.y"
-{ yyval.statement = 0; ;
- break;}
-case 101:
-#line 685 "parser.y"
-{
- StatementList* statements = new StatementList;
- for (ExpressionList::iterator i = yyvsp[-1].expressionList->begin(); i != yyvsp[-1].expressionList->end(); ++i) {
- statements->push_back(new CExpressionStatement(*i));
- }
- delete yyvsp[-1].expressionList;
- yyval.statement = new CCompoundStatement(statements);
- ;
- break;}
-case 102:
-#line 694 "parser.y"
-{ yyval.statement = new CDeclarationStatement(yyvsp[0].variableList); ;
- break;}
-case 103:
-#line 698 "parser.y"
-{ yyval.expressionList = 0; ;
- break;}
-case 104:
-#line 700 "parser.y"
-{ yyval.expressionList = yyvsp[0].expressionList; ;
- break;}
-case 105:
-#line 704 "parser.y"
-{
- yyval.expressionList = new ExpressionList;
- yyval.expressionList->push_front(yyvsp[0].expression);
- ;
- break;}
-case 106:
-#line 709 "parser.y"
-{
- yyval.expressionList = yyvsp[-2].expressionList;
- yyval.expressionList->push_back(yyvsp[0].expression);
- ;
- break;}
-case 107:
-#line 716 "parser.y"
-{ yyval.compoundStatement = 0; ;
- break;}
-case 108:
-#line 718 "parser.y"
-{ yyval.compoundStatement = yyvsp[0].compoundStatement; ;
- break;}
-case 109:
-#line 722 "parser.y"
-{ yyval.compoundStatement = yyvsp[0].compoundStatement; ;
- break;}
-case 110:
-#line 726 "parser.y"
-{
- yyval.catchList = new deque<CCatchClause*>;
- yyval.catchList->push_back(yyvsp[0].catchClause);
- ;
- break;}
-case 111:
-#line 731 "parser.y"
-{
- yyval.catchList = yyvsp[-1].catchList;
- yyval.catchList->push_back(yyvsp[0].catchClause);
- ;
- break;}
-case 112:
-#line 738 "parser.y"
-{ gCurrentCompiler->PushLocalScope(); ;
- break;}
-case 113:
-#line 740 "parser.y"
-{
- CJavaFieldSignature signature(*(yyvsp[-1].text), *(yyvsp[0].text));
- if (gCurrentCompiler->LookupLocalVariable(*yyvsp[0].text) != 0) {
- string errorMessage = ::UnicodeToUTF(*yyvsp[0].text);
- errorMessage += " already declared in this scope.";
- yyerror(errorMessage.c_str());
- YYERROR;
- } else {
- yyval.longNumber = gCurrentCompiler->AddLocalVariable(signature);
- }
- ;
- break;}
-case 114:
-#line 752 "parser.y"
-{
- gCurrentCompiler->PopLocalScope();
- CJavaTypeSignature catchType(*(yyvsp[-4].text));
- yyval.catchClause = new CCatchClause(yyvsp[-2].longNumber, catchType, yyvsp[0].compoundStatement);
- ;
- break;}
-case 115:
-#line 760 "parser.y"
-{
- yyval.expression = ::InterpretSymbolExpression(*(yyvsp[0].text));
- delete yyvsp[0].text;
- ;
- break;}
-case 116:
-#line 765 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 117:
-#line 769 "parser.y"
-{
- CExpression* baseExpression = ::InterpretSymbolExpression(*(yyvsp[-2].text));
- delete yyvsp[-2].text;
- yyval.expression = new CArrayIndex(baseExpression, yyvsp[-1].expression);
- ;
- break;}
-case 118:
-#line 776 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 119:
-#line 778 "parser.y"
-{ yyval.expression = new CTrinaryExpression(yyvsp[-4].expression, yyvsp[-2].expression, yyvsp[0].expression); ;
- break;}
-case 120:
-#line 780 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, OR, yyvsp[0].expression); ;
- break;}
-case 121:
-#line 782 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, AND, yyvsp[0].expression); ;
- break;}
-case 122:
-#line 784 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '|', yyvsp[0].expression); ;
- break;}
-case 123:
-#line 786 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '&', yyvsp[0].expression); ;
- break;}
-case 124:
-#line 788 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '^', yyvsp[0].expression); ;
- break;}
-case 125:
-#line 790 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, EQUAL_COMPARE, yyvsp[0].expression); ;
- break;}
-case 126:
-#line 792 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, NOT_EQUAL, yyvsp[0].expression); ;
- break;}
-case 127:
-#line 794 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, LTEQ, yyvsp[0].expression); ;
- break;}
-case 128:
-#line 796 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, GTEQ, yyvsp[0].expression); ;
- break;}
-case 129:
-#line 798 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '<', yyvsp[0].expression); ;
- break;}
-case 130:
-#line 800 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '>', yyvsp[0].expression); ;
- break;}
-case 131:
-#line 802 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, BITSHIFT_RIGHT, yyvsp[0].expression); ;
- break;}
-case 132:
-#line 804 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, FILL_SHIFT_RIGHT, yyvsp[0].expression); ;
- break;}
-case 133:
-#line 806 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, SHIFT_LEFT, yyvsp[0].expression); ;
- break;}
-case 134:
-#line 808 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '+', yyvsp[0].expression); ;
- break;}
-case 135:
-#line 810 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '-', yyvsp[0].expression); ;
- break;}
-case 136:
-#line 812 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '*', yyvsp[0].expression); ;
- break;}
-case 137:
-#line 814 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '/', yyvsp[0].expression); ;
- break;}
-case 138:
-#line 816 "parser.y"
-{ yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '%', yyvsp[0].expression); ;
- break;}
-case 139:
-#line 818 "parser.y"
-{ yyval.expression = new CUnaryExpression(yyvsp[0].expression, '-', CUnaryExpression::kPrefix, false); ;
- break;}
-case 140:
-#line 820 "parser.y"
-{ yyval.expression = new CUnaryExpression(yyvsp[0].expression, '+', CUnaryExpression::kPrefix, false); ;
- break;}
-case 141:
-#line 822 "parser.y"
-{ yyval.expression = new CUnaryExpression(yyvsp[0].expression, '!', CUnaryExpression::kPrefix, false); ;
- break;}
-case 142:
-#line 824 "parser.y"
-{ yyval.expression = new CUnaryExpression(yyvsp[0].expression, '~', CUnaryExpression::kPrefix, false); ;
- break;}
-case 143:
-#line 826 "parser.y"
-{
- yyval.expression = new CInstanceof(yyvsp[-2].expression, *(yyvsp[0].typeSignature));
- delete yyvsp[0].typeSignature;
- ;
- break;}
-case 144:
-#line 831 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 145:
-#line 833 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 146:
-#line 835 "parser.y"
-{ yyval.expression = new CSpecialExpression(CSpecialExpression::kSuper); ;
- break;}
-case 147:
-#line 837 "parser.y"
-{ yyval.expression = new CSpecialExpression(CSpecialExpression::kThis); ;
- break;}
-case 148:
-#line 839 "parser.y"
-{ yyval.expression = new CNull(); ;
- break;}
-case 149:
-#line 843 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 150:
-#line 845 "parser.y"
-{ yyval.expression = yyvsp[-1].expression; ;
- break;}
-case 151:
-#line 847 "parser.y"
-{
- yyval.expression = ::InterpretSymbolExpression(*(yyvsp[-1].text));
- delete yyvsp[-1].text;
- ;
- break;}
-case 152:
-#line 852 "parser.y"
-{ yyval.expression = new CArrayIndex(yyvsp[-3].expression, yyvsp[-1].expression); ;
- break;}
-case 153:
-#line 854 "parser.y"
-{ yyval.expression = new CArrayIndex(yyvsp[-3].expression, yyvsp[-1].expression); ;
- break;}
-case 154:
-#line 856 "parser.y"
-{
- yyval.expression = new CClassFieldExpression(yyvsp[-2].expression, *(yyvsp[0].text));
- delete yyvsp[0].text;
- ;
- break;}
-case 155:
-#line 861 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 156:
-#line 865 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, '=', yyvsp[0].expression);
- ;
- break;}
-case 157:
-#line 874 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, SHIFT_RIGHT_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 158:
-#line 883 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, FILL_SHIFT_RIGHT_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 159:
-#line 892 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, SHIFT_LEFT_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 160:
-#line 901 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, ADD_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 161:
-#line 910 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, SUB_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 162:
-#line 919 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, MUL_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 163:
-#line 928 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, DIV_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 164:
-#line 937 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, MOD_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 165:
-#line 946 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, AND_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 166:
-#line 955 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, XOR_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 167:
-#line 964 "parser.y"
-{
- assert(yyvsp[-2].expression != 0);
- if (! yyvsp[-2].expression->IsLValue()) {
- yyerror("Invalid left hand side of assignment.");
- YYERROR;
- }
- yyval.expression = new CBinaryExpression(yyvsp[-2].expression, OR_EQUALS, yyvsp[0].expression);
- ;
- break;}
-case 168:
-#line 973 "parser.y"
-{ yyval.expression = new CUnaryExpression(yyvsp[0].expression, INCR, CUnaryExpression::kPrefix, true); ;
- break;}
-case 169:
-#line 975 "parser.y"
-{ yyval.expression = new CUnaryExpression(yyvsp[0].expression, DECR, CUnaryExpression::kPrefix, true); ;
- break;}
-case 170:
-#line 977 "parser.y"
-{ yyval.expression = new CUnaryExpression(yyvsp[-1].expression, INCR, CUnaryExpression::kPostfix, true); ;
- break;}
-case 171:
-#line 979 "parser.y"
-{ yyval.expression = new CUnaryExpression(yyvsp[-1].expression, DECR, CUnaryExpression::kPostfix, true); ;
- break;}
-case 172:
-#line 981 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 173:
-#line 983 "parser.y"
-{ yyval.expression = yyvsp[0].expression; ;
- break;}
-case 174:
-#line 987 "parser.y"
-{
- unicode_string::size_type slashPosition = yyvsp[-3].text->find(kSymbolDivider);
- if (slashPosition != unicode_string::npos) {
- unicode_string prefix(*(yyvsp[-3].text), 0, slashPosition);
- const pair<CJavaFieldSignature, CCompiler::LocalVariableIndex>* match =
- gCurrentCompiler->LookupLocalVariable(prefix);
- if (match != 0) {
- unicode_string::size_type lastSlash =
- yyvsp[-3].text->find_last_of(kSymbolDivider);
- prefix.assign(*(yyvsp[-3].text), 0, lastSlash);
- CExpression* baseExpression = ::InterpretSymbolExpression(prefix);
- unicode_string methodName(*(yyvsp[-3].text), lastSlash + 1);
- yyval.expression = new CMethodCall(baseExpression, methodName, yyvsp[-1].expressionList);
- } else {
- yyval.expression = new CMethodCall(0, *(yyvsp[-3].text), yyvsp[-1].expressionList);
- }
- } else {
- yyval.expression = new CMethodCall(0, *(yyvsp[-3].text), yyvsp[-1].expressionList);
- }
- delete yyvsp[-3].text;
- ;
- break;}
-case 175:
-#line 1009 "parser.y"
-{
- yyval.expression = new CMethodCall(yyvsp[-5].expression, *(yyvsp[-3].text), yyvsp[-1].expressionList);
- delete yyvsp[-3].text;
- ;
- break;}
-case 176:
-#line 1016 "parser.y"
-{
- if (yyvsp[-3].typeSignature->GetBaseType() == CJavaTypeSignature::Void) {
- yyerror("Invalid use of 'void' in a cast.");
- YYERROR;
- }
- yyvsp[-3].typeSignature->SetArrayBounds(yyvsp[-2].longNumber);
- yyval.expression = new CCastExpression(*(yyvsp[-3].typeSignature), yyvsp[0].expression);
- delete yyvsp[-3].typeSignature;
- ;
- break;}
-case 177:
-#line 1026 "parser.y"
-{
- yyval.expression = new CCastExpression(*(yyvsp[-2].text), yyvsp[0].expression);
- delete yyvsp[-2].text;
- ;
- break;}
-case 178:
-#line 1032 "parser.y"
-{
- CJavaTypeSignature type(*(yyvsp[-4].text), 1 + yyvsp[-2].longNumber);
- yyval.expression = new CCastExpression(type, yyvsp[0].expression);
- delete yyvsp[-4].text;
- ;
- break;}
-case 179:
-#line 1040 "parser.y"
-{
- if (yyvsp[-2].typeSignature->GetBaseType() == CJavaTypeSignature::Void) {
- yyerror("Invalid array creation using 'void' type.");
- YYERROR;
- }
- yyvsp[-2].typeSignature->SetArrayBounds(yyvsp[0].expressionList->size());
- while (yyvsp[0].expressionList->back() == 0) {
- yyvsp[0].expressionList->pop_back();
- }
- yyval.expression = new CNewArray(*(yyvsp[-2].typeSignature), yyvsp[0].expressionList);
- delete yyvsp[-2].typeSignature;
- ;
- break;}
-case 180:
-#line 1053 "parser.y"
-{
- CJavaTypeSignature tempSignature(*(yyvsp[-2].text), yyvsp[0].expressionList->size());
- while (yyvsp[0].expressionList->back() == 0) {
- yyvsp[0].expressionList->pop_back();
- }
- yyval.expression = new CNewArray(tempSignature, yyvsp[0].expressionList);
- delete yyvsp[-2].text;
- ;
- break;}
-case 181:
-#line 1062 "parser.y"
-{
- yyval.expression = new CNewObject(*(yyvsp[0].text));
- delete yyvsp[0].text;
- ;
- break;}
-case 182:
-#line 1067 "parser.y"
-{
- yyval.expression = new CNewObject(*(yyvsp[-3].text), yyvsp[-1].expressionList);
- delete yyvsp[-3].text;
- ;
- break;}
-case 183:
-#line 1074 "parser.y"
-{
- yyval.expressionList = new ExpressionList;
- yyval.expressionList->push_front(yyvsp[-1].expression);
- ;
- break;}
-case 184:
-#line 1079 "parser.y"
-{
- yyval.expressionList = yyvsp[0].expressionList;
- yyval.expressionList->push_front(yyvsp[-3].expression);
- ;
- break;}
-case 185:
-#line 1084 "parser.y"
-{
- yyval.expressionList = new ExpressionList;
- yyval.expressionList->push_front(yyvsp[-4].expression);
- unsigned long arrayBounds = yyvsp[0].longNumber + 1;
- while (arrayBounds-- > 0) {
- yyval.expressionList->push_back((CExpression*)0);
- }
- ;
- break;}
-case 186:
-#line 1095 "parser.y"
-{ yyval.longNumber = 0; ;
- break;}
-case 187:
-#line 1097 "parser.y"
-{ yyval.longNumber = yyvsp[-2].longNumber + 1; ;
- break;}
-case 188:
-#line 1101 "parser.y"
-{ yyval.expression = new COrdinalLiteral((unsigned long)yyvsp[0].longNumber); ;
- break;}
-case 189:
-#line 1103 "parser.y"
-{
- yyval.expression = new CStringLiteral(*(yyvsp[0].text));
- delete yyvsp[0].text;
- ;
- break;}
-case 190:
-#line 1108 "parser.y"
-{ yyval.expression = new COrdinalLiteral((unsigned short)yyvsp[0].longNumber); ;
- break;}
-case 191:
-#line 1110 "parser.y"
-{ yyval.expression = new COrdinalLiteral(yyvsp[0].doubleLong); ;
- break;}
-case 192:
-#line 1112 "parser.y"
-{ yyval.expression = new CFloatLiteral(yyvsp[0].floatNumber); ;
- break;}
-case 193:
-#line 1114 "parser.y"
-{ yyval.expression = new CFloatLiteral(yyvsp[0].doubleFloat); ;
- break;}
-case 194:
-#line 1116 "parser.y"
-{ yyval.expression = new COrdinalLiteral(true); ;
- break;}
-case 195:
-#line 1118 "parser.y"
-{ yyval.expression = new COrdinalLiteral(false); ;
- break;}
-case 196:
-#line 1122 "parser.y"
-{ yyval.expressionList = 0; ;
- break;}
-case 197:
-#line 1124 "parser.y"
-{ yyval.expressionList = yyvsp[0].expressionList; ;
- break;}
-case 198:
-#line 1128 "parser.y"
-{
- yyval.expressionList = new ExpressionList;
- yyval.expressionList->push_back(yyvsp[0].expression);
- ;
- break;}
-case 199:
-#line 1133 "parser.y"
-{
- yyval.expressionList = yyvsp[-2].expressionList;
- yyval.expressionList->push_back(yyvsp[0].expression);
- ;
- break;}
-case 200:
-#line 1140 "parser.y"
-{
- yyval.typeSignature = new CJavaTypeSignature(*(yyvsp[-2].text), 1 + yyvsp[0].longNumber);
- delete yyvsp[-2].text;
- ;
- break;}
-case 201:
-#line 1145 "parser.y"
-{
- yyval.typeSignature = new CJavaTypeSignature(*(yyvsp[0].text));
- delete yyvsp[0].text;
- ;
- break;}
-case 202:
-#line 1150 "parser.y"
-{
- yyval.typeSignature = yyvsp[-1].typeSignature;
- yyval.typeSignature->SetArrayBounds(yyvsp[0].longNumber);
- if (yyvsp[0].longNumber > 0 && yyval.typeSignature->GetBaseType() == CJavaTypeSignature::Void) {
- yyerror("Invalid use of 'void' type.");
- YYERROR;
- }
- ;
- break;}
-case 203:
-#line 1161 "parser.y"
-{ yyval.text = yyvsp[-1].text; ;
- break;}
-case 204:
-#line 1165 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::Boolean); ;
- break;}
-case 205:
-#line 1167 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::Byte); ;
- break;}
-case 206:
-#line 1169 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::Character); ;
- break;}
-case 207:
-#line 1171 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::Short); ;
- break;}
-case 208:
-#line 1173 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::Integer); ;
- break;}
-case 209:
-#line 1175 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::Float); ;
- break;}
-case 210:
-#line 1177 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::LongInteger); ;
- break;}
-case 211:
-#line 1179 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::Double); ;
- break;}
-case 212:
-#line 1181 "parser.y"
-{ yyval.typeSignature = new CJavaTypeSignature(CJavaTypeSignature::Void); ;
- break;}
-case 213:
-#line 1185 "parser.y"
-{ yyval.modifiers = new CJavaAccessFlags; ;
- break;}
-case 214:
-#line 1187 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fPrivate) {
- yyerror("'private' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fPrivate = 1;
- ;
- break;}
-case 215:
-#line 1196 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fPublic) {
- yyerror("'public' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fPublic = 1;
- ;
- break;}
-case 216:
-#line 1205 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fProtected) {
- yyerror("'protected' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fProtected = 1;
- ;
- break;}
-case 217:
-#line 1214 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fStatic) {
- yyerror("'static' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fStatic = 1;
- ;
- break;}
-case 218:
-#line 1223 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fTransient) {
- yyerror("'transient' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fTransient = 1;
- ;
- break;}
-case 219:
-#line 1232 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fVolatile) {
- yyerror("'volatile' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fVolatile = 1;
- ;
- break;}
-case 220:
-#line 1241 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fFinal) {
- yyerror("'final' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fFinal = 1;
- ;
- break;}
-case 221:
-#line 1250 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fAbstract) {
- yyerror("'abstract' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fAbstract = 1;
- ;
- break;}
-case 222:
-#line 1259 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fNative) {
- yyerror("'native' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fNative = 1;
- ;
- break;}
-case 223:
-#line 1268 "parser.y"
-{
- yyval.modifiers = yyvsp[-1].modifiers;
- if (yyval.modifiers->fSynchronized) {
- yyerror("'synchronized' modifier repeated");
- YYERROR;
- }
- yyval.modifiers->fSynchronized = 1;
- ;
- break;}
-case 224:
-#line 1279 "parser.y"
-{ yyval.text = yyvsp[0].text; ;
- break;}
-case 225:
-#line 1281 "parser.y"
-{
- yyval.text = yyvsp[-2].text;
- *(yyval.text) += kSymbolDivider;
- *(yyval.text) += *(yyvsp[0].text);
- delete yyvsp[0].text;
- ;
- break;}
-case 226:
-#line 1290 "parser.y"
-{
- yyval.stringList = new deque<unicode_string>;
- yyval.stringList->push_back(*(yyvsp[0].text));
- delete yyvsp[0].text;
- ;
- break;}
-case 227:
-#line 1296 "parser.y"
-{
- yyval.stringList = yyvsp[-2].stringList;
- yyval.stringList->push_back(*(yyvsp[0].text));
- delete yyvsp[0].text;
- ;
- break;}
-case 228:
-#line 1304 "parser.y"
-{ yyval.text = yyvsp[0].text; ;
- break;}
-}
- /* the action file gets copied in in place of this dollarsign */
-#line 465 "/usr/lib/bison.simple"
-
- yyvsp -= yylen;
- yyssp -= yylen;
-#ifdef YYLSP_NEEDED
- yylsp -= yylen;
-#endif
-
-#if YYDEBUG != 0
- if (yydebug)
- {
- short *ssp1 = yyss - 1;
- fprintf (stderr, "state stack now");
- while (ssp1 != yyssp)
- fprintf (stderr, " %d", *++ssp1);
- fprintf (stderr, "\n");
- }
-#endif
-
- *++yyvsp = yyval;
-
-#ifdef YYLSP_NEEDED
- yylsp++;
- if (yylen == 0)
- {
- yylsp->first_line = yylloc.first_line;
- yylsp->first_column = yylloc.first_column;
- yylsp->last_line = (yylsp-1)->last_line;
- yylsp->last_column = (yylsp-1)->last_column;
- yylsp->text = 0;
- }
- else
- {
- yylsp->last_line = (yylsp+yylen-1)->last_line;
- yylsp->last_column = (yylsp+yylen-1)->last_column;
- }
-#endif
-
- /* Now "shift" the result of the reduction.
- Determine what state that goes to,
- based on the state we popped back to
- and the rule number reduced by. */
-
- yyn = yyr1[yyn];
-
- yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
- if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
- yystate = yytable[yystate];
- else
- yystate = yydefgoto[yyn - YYNTBASE];
-
- goto yynewstate;
-
-yyerrlab: /* here on detecting error */
-
- if (! yyerrstatus)
- /* If not already recovering from an error, report this error. */
- {
- ++yynerrs;
-
-#ifdef YYERROR_VERBOSE
- yyn = yypact[yystate];
-
- if (yyn > YYFLAG && yyn < YYLAST)
- {
- int size = 0;
- char *msg;
- int x, count;
-
- count = 0;
- /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
- for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof(yytname) / sizeof(char *)); x++)
- if (yycheck[x + yyn] == x)
- size += strlen(yytname[x]) + 15, count++;
- msg = (char *) malloc(size + 15);
- if (msg != 0)
- {
- strcpy(msg, "parse error");
-
- if (count < 5)
- {
- count = 0;
- for (x = (yyn < 0 ? -yyn : 0);
- x < (sizeof(yytname) / sizeof(char *)); x++)
- if (yycheck[x + yyn] == x)
- {
- strcat(msg, count == 0 ? ", expecting `" : " or `");
- strcat(msg, yytname[x]);
- strcat(msg, "'");
- count++;
- }
- }
- yyerror(msg);
- free(msg);
- }
- else
- yyerror ("parse error; also virtual memory exceeded");
- }
- else
-#endif /* YYERROR_VERBOSE */
- yyerror("parse error");
- }
-
- goto yyerrlab1;
-yyerrlab1: /* here on error raised explicitly by an action */
-
- if (yyerrstatus == 3)
- {
- /* if just tried and failed to reuse lookahead token after an error, discard it. */
-
- /* return failure if at end of input */
- if (yychar == YYEOF)
- YYABORT;
-
-#if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
-#endif
-
- yychar = YYEMPTY;
- }
-
- /* Else will try to reuse lookahead token
- after shifting the error token. */
-
- yyerrstatus = 3; /* Each real token shifted decrements this */
-
- goto yyerrhandle;
-
-yyerrdefault: /* current state does not do anything special for the error token. */
-
-#if 0
- /* This is wrong; only states that explicitly want error tokens
- should shift them. */
- yyn = yydefact[yystate]; /* If its default is to accept any token, ok. Otherwise pop it.*/
- if (yyn) goto yydefault;
-#endif
-
-yyerrpop: /* pop the current state because it cannot handle the error token */
-
- if (yyssp == yyss) YYABORT;
- yyvsp--;
- yystate = *--yyssp;
-#ifdef YYLSP_NEEDED
- yylsp--;
-#endif
-
-#if YYDEBUG != 0
- if (yydebug)
- {
- short *ssp1 = yyss - 1;
- fprintf (stderr, "Error: state stack now");
- while (ssp1 != yyssp)
- fprintf (stderr, " %d", *++ssp1);
- fprintf (stderr, "\n");
- }
-#endif
-
-yyerrhandle:
-
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yyerrdefault;
-
- yyn += YYTERROR;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
- goto yyerrdefault;
-
- yyn = yytable[yyn];
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrpop;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrpop;
-
- if (yyn == YYFINAL)
- YYACCEPT;
-
-#if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting error token, ");
-#endif
-
- *++yyvsp = yylval;
-#ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
-#endif
-
- yystate = yyn;
- goto yynewstate;
-}
-#line 1307 "parser.y"
-
-
-void
-yyerror(const char* errorMessage)
-{
- assert(gCurrentCompiler != 0);
- gCurrentCompiler->ParseError(yylineno, errorMessage, yytext);
-}
-
-void
-InitializeParser(const string& parseString, CCompiler* compilerAlias)
-{
- #ifndef NDEBUG
- if (::getenv("YYDEBUG") != 0) {
- yydebug = 1;
- }
- #endif
- gCurrentCompiler = compilerAlias;
- assert(gCurrentCompiler != 0);
- InitializeLexer(parseString);
-}
-
-void
-FinishParser()
-{
- FinishLexer();
- gCurrentCompiler = 0;
- #ifndef NDEBUG
- yydebug = 0;
- #endif
-}
-
-//
-// Function name : InterpretSymbolExpression
-// Description : Used to parse a qualified symbol into a base variable and
-// some sequence of field accesses. So "x" is parsed as the expression
-// representing the variable 'x' but "x.y.z" is parsed as the variable
-// x dereferenced to get field y, dereferenced to get field z.
-//
-CExpression*
-InterpretSymbolExpression(const unicode_string& symbol)
-{
- unicode_string::size_type slashPosition = symbol.find(kSymbolDivider);
- unicode_string baseVariable = symbol;
- CExpression* baseExpression = 0;
- if (slashPosition < symbol.size()) {
- baseVariable.assign(symbol, 0, slashPosition);
- }
- const pair<CJavaFieldSignature, CCompiler::LocalVariableIndex>* match =
- gCurrentCompiler->LookupLocalVariable(baseVariable);
- if (match != 0) {
- baseExpression =
- new CLocalVariableExpression(match->first, match->second);
- if (slashPosition < symbol.size()) {
- do {
- unicode_string::size_type previousPosition = slashPosition + 1;
- slashPosition = symbol.find(kSymbolDivider, previousPosition);
- if (slashPosition >= symbol.size()) {
- slashPosition == symbol.size();
- }
- unicode_string nextField(symbol, previousPosition,
- slashPosition - previousPosition);
- baseExpression = new CClassFieldExpression(baseExpression, nextField);
- } while (slashPosition < symbol.size());
- }
- } else {
- baseExpression = new CClassFieldExpression(symbol);
- }
- return baseExpression;
-}
diff -rup --new-file baseline/contrib/guavac/compiler/parser.h amiga/contrib/guavac/compiler/parser.h
--- baseline/contrib/guavac/compiler/parser.h Fri Aug 2 20:04:42 1996
+++ amiga/contrib/guavac/compiler/parser.h Wed Dec 31 17:00:00 1969
@@ -1,108 +0,0 @@
-typedef union {
- unicode_string* text;
- deque<unicode_string>* stringList;
- unsigned long longNumber; // also used for a single character, etc.
- unsigned long long doubleLong;
- float floatNumber;
- double doubleFloat;
- CJavaAccessFlags* modifiers;
- CJavaTypeSignature* typeSignature;
- CJavaFieldSignature* fieldSignature;
- deque<CJavaFieldSignature>* fieldList;
- CExpression* expression;
- ExpressionList* expressionList;
- deque<CVariableDeclaration*>* variableList;
- CStatement* statement;
- CCompoundStatement* compoundStatement;
- StatementList* statementList;
- deque<CCatchClause*>* catchList;
- CCatchClause* catchClause;
-} YYSTYPE;
-#define ERROR 258
-#define ABSTRACT 259
-#define BOOLEAN 260
-#define BREAK 261
-#define BYTE 262
-#define CASE 263
-#define CATCH 264
-#define CHAR 265
-#define CLASS 266
-#define CONTINUE 267
-#define DEFAULT 268
-#define DO 269
-#define DOUBLE 270
-#define EXTENDS 271
-#define FALSE_TOKEN 272
-#define FINAL 273
-#define FINALLY 274
-#define FLOAT 275
-#define FOR 276
-#define IF 277
-#define IMPLEMENTS 278
-#define IMPORT 279
-#define INSTANCEOF 280
-#define INT 281
-#define INTERFACE 282
-#define LONG 283
-#define NATIVE 284
-#define NULL_TOKEN 285
-#define PACKAGE 286
-#define PRIVATE 287
-#define PROTECTED 288
-#define PUBLIC 289
-#define RETURN 290
-#define SHORT 291
-#define STATIC 292
-#define SUPER 293
-#define SWITCH 294
-#define SYNCHRONIZED 295
-#define THIS 296
-#define THROW 297
-#define THROWS 298
-#define TRANSIENT 299
-#define VOLATILE 300
-#define TRUE_TOKEN 301
-#define TRY 302
-#define VOID 303
-#define WHILE 304
-#define INT_LITERAL 305
-#define CHARACTER_LITERAL 306
-#define LONG_LITERAL 307
-#define FLOAT_LITERAL 308
-#define DOUBLE_LITERAL 309
-#define SYMBOL 310
-#define STRING_LITERAL 311
-#define NOT_AN_OPERATOR 312
-#define SHIFT_RIGHT_EQUALS 313
-#define FILL_SHIFT_RIGHT_EQUALS 314
-#define SHIFT_LEFT_EQUALS 315
-#define ADD_EQUALS 316
-#define SUB_EQUALS 317
-#define MUL_EQUALS 318
-#define DIV_EQUALS 319
-#define MOD_EQUALS 320
-#define AND_EQUALS 321
-#define XOR_EQUALS 322
-#define OR_EQUALS 323
-#define OR 324
-#define AND 325
-#define EQUAL_COMPARE 326
-#define NOT_EQUAL 327
-#define LTEQ 328
-#define GTEQ 329
-#define BITSHIFT_RIGHT 330
-#define FILL_SHIFT_RIGHT 331
-#define SHIFT_LEFT 332
-#define CAST 333
-#define INCR 334
-#define DECR 335
-#define UMINUS 336
-#define UPLUS 337
-#define POST_INCR 338
-#define POST_DECR 339
-#define NEW 340
-#define LOWER_THAN_ELSE 341
-#define ELSE 342
-
-
-extern YYSTYPE yylval;
diff -rup --new-file baseline/contrib/guavac/config.sub amiga/contrib/guavac/config.sub
--- baseline/contrib/guavac/config.sub Wed Dec 31 17:00:00 1969
+++ amiga/contrib/guavac/config.sub Sat Sep 28 00:00:00 1996
@@ -0,0 +1,1110 @@
+#! /bin/sh
+# Configuration validation subroutine script, version 1.1.
+# Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
+# This file is (in principle) common to ALL GNU software.
+# The presence of a machine in this file suggests that SOME GNU software
+# can handle that machine. It does not imply ALL GNU software can.
+#
+# This file is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that program.
+
+# Configuration subroutine to validate and canonicalize a configuration type.
+# Supply the specified configuration type as an argument.
+# If it is invalid, we print an error message on stderr and exit with code 1.
+# Otherwise, we print the canonical config type on stdout and succeed.
+
+# This file is supposed to be the same for all GNU packages
+# and recognize all the CPU types, system types and aliases
+# that are meaningful with *any* GNU software.
+# Each package is responsible for reporting which valid configurations
+# it does not support. The user should be able to distinguish
+# a failure to support a valid configuration from a meaningless
+# configuration.
+
+# The goal of this file is to map all the various variations of a given
+# machine specification into a single specification in the form:
+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
+# It is wrong to echo any other type of specification.
+
+if [ x$1 = x ]
+then
+ echo Configuration name missing. 1>&2
+ echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
+ echo "or $0 ALIAS" 1>&2
+ echo where ALIAS is a recognized configuration type. 1>&2
+ exit 1
+fi
+
+# First pass through any local machine types.
+case $1 in
+ *local*)
+ echo $1
+ exit 0
+ ;;
+ *)
+ ;;
+esac
+
+# Separate what the user gave into CPU-COMPANY and OS (if any).
+basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+if [ $basic_machine != $1 ]
+then os=`echo $1 | sed 's/.*-/-/'`
+else os=; fi
+
+### Let's recognize common machines as not being operating systems so
+### that things like config.sub decstation-3100 work. We also
+### recognize some manufacturers as not being operating systems, so we
+### can provide default operating systems below.
+case $os in
+ -sun*os*)
+ # Prevent following clause from handling this invalid input.
+ ;;
+ -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
+ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
+ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp )
+ os=
+ basic_machine=$1
+ ;;
+ -sim | -cisco | -oki | -wec | -winbond ) # CYGNUS LOCAL
+ os=
+ basic_machine=$1
+ ;;
+ -apple*) # CYGNUS LOCAL
+ os=
+ basic_machine=$1
+ ;;
+ -scout) # CYGNUS LOCAL
+ ;;
+ -wrs) # CYGNUS LOCAL
+ os=vxworks
+ basic_machine=$1
+ ;;
+ -hiux*)
+ os=-hiuxwe2
+ ;;
+ -sco5)
+ os=sco3.2v5
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+ ;;
+ -sco4)
+ os=-sco3.2v4
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+ ;;
+ -sco3.2.[4-9]*)
+ os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+ ;;
+ -sco3.2v[4-9]*)
+ # Don't forget version if it is 3.2v4 or newer.
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+ ;;
+ -sco*)
+ os=-sco3.2v2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+ ;;
+ -isc)
+ os=-isc2.2
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+ ;;
+ -clix*)
+ basic_machine=clipper-intergraph
+ ;;
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-unknown/'`
+ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
+ -windowsnt*)
+ os=`echo $os | sed -e 's/windowsnt/winnt/'`
+ ;;
+ -psos*)
+ os=-psos
+ ;;
+esac
+
+# Decode aliases for certain CPU-COMPANY combinations.
+case $basic_machine in
+ # Recognize the basic CPU types without company name.
+ # Some are omitted here because they have special meanings below.
+ tahoe | i[3456]86 | i860 | m68k | m68000 | m88k | ns32k | arm \
+ | arme[lb] | pyramid \
+ | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
+ | alpha | we32k | ns16k | clipper | i370 | sh \
+ | powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \
+ | pdp11 | mips64el | mips64orion | mips64orionel \
+ | sparc | sparclet | sparclite | sparc64)
+ basic_machine=$basic_machine-unknown
+ ;;
+ m88110 | m680[01234]0 | m683?2 | m68360 | z8k | v70 | h8500 | w65) # CYGNUS LOCAL
+ basic_machine=$basic_machine-unknown
+ ;;
+ mips64vr4300 | mips64vr4300el) # CYGNUS LOCAL jsmith/vr4300
+ basic_machine=$basic_machine-unknown
+ ;;
+ mips64vr4100 | mips64vr4100el) # CYGNUS LOCAL jsmith/vr4100
+ basic_machine=$basic_machine-unknown
+ ;;
+ # Object if more than one company name word.
+ *-*-*)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+ # Recognize the basic CPU types with company name.
+ vax-* | tahoe-* | i[3456]86-* | i860-* | m68k-* | m68000-* | m88k-* \
+ | sparc-* | ns32k-* | fx80-* | arm-* | arme[lb]-* | c[123]* \
+ | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \
+ | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
+ | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
+ | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
+ | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
+ | mips64el-* | mips64orion-* | mips64orionel-*)
+ ;;
+ m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | h8500-*) # CYGNUS LOCAL
+ ;;
+ mips64vr4300-* | mips64vr4300el-*) # CYGNUS LOCAL jsmith/vr4300
+ ;;
+ mips64vr4100-* | mips64vr4100el-*) # CYGNUS LOCAL jsmith/vr4100
+ ;;
+ # Recognize the various machine names and aliases which stand
+ # for a CPU type and a company and sometimes even an OS.
+ 386bsd) # CYGNUS LOCAL
+ basic_machine=i386-unknown
+ os=-bsd
+ ;;
+ 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
+ basic_machine=m68000-att
+ ;;
+ 3b*)
+ basic_machine=we32k-att
+ ;;
+ a29khif) # CYGNUS LOCAL
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ adobe68k) # CYGNUS LOCAL
+ basic_machine=m68010-adobe
+ os=-scout
+ ;;
+ alliant | fx80)
+ basic_machine=fx80-alliant
+ ;;
+ altos | altos3068)
+ basic_machine=m68k-altos
+ ;;
+ am29k)
+ basic_machine=a29k-none
+ os=-bsd
+ ;;
+ amdahl)
+ basic_machine=580-amdahl
+ os=-sysv
+ ;;
+ amiga | amiga-*)
+ basic_machine=m68k-unknown
+ ;;
+ amigaos)
+ basic_machine=m68k-unknown
+ os=-amigaos
+ ;;
+ amigaunix | amix)
+ basic_machine=m68k-cbm
+ os=-sysv4
+ ;;
+ apollo68)
+ basic_machine=m68k-apollo
+ os=-sysv
+ ;;
+ apollo68bsd) # CYGNUS LOCAL
+ basic_machine=m68k-apollo
+ os=-bsd
+ ;;
+ arm | armel | armeb)
+ basic_machine=arm-arm
+ os=-aout
+ ;;
+ aux)
+ basic_machine=m68k-apple
+ os=-aux
+ ;;
+ balance)
+ basic_machine=ns32k-sequent
+ os=-dynix
+ ;;
+ convex-c1)
+ basic_machine=c1-convex
+ os=-bsd
+ ;;
+ convex-c2)
+ basic_machine=c2-convex
+ os=-bsd
+ ;;
+ convex-c32)
+ basic_machine=c32-convex
+ os=-bsd
+ ;;
+ convex-c34)
+ basic_machine=c34-convex
+ os=-bsd
+ ;;
+ convex-c38)
+ basic_machine=c38-convex
+ os=-bsd
+ ;;
+ cray | ymp)
+ basic_machine=ymp-cray
+ os=-unicos
+ ;;
+ cray2)
+ basic_machine=cray2-cray
+ os=-unicos
+ ;;
+ crds | unos)
+ basic_machine=m68k-crds
+ ;;
+ da30 | da30-*)
+ basic_machine=m68k-da30
+ ;;
+ decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
+ basic_machine=mips-dec
+ ;;
+ delta | 3300 | motorola-3300 | motorola-delta \
+ | 3300-motorola | delta-motorola)
+ basic_machine=m68k-motorola
+ ;;
+ delta88)
+ basic_machine=m88k-motorola
+ os=-sysv3
+ ;;
+ dpx20 | dpx20-*)
+ basic_machine=rs6000-bull
+ os=-bosx
+ ;;
+ dpx2* | dpx2*-bull)
+ basic_machine=m68k-bull
+ os=-sysv3
+ ;;
+ ebmon29k)
+ basic_machine=a29k-amd
+ os=-ebmon
+ ;;
+ elxsi)
+ basic_machine=elxsi-elxsi
+ os=-bsd
+ ;;
+ encore | umax | mmax)
+ basic_machine=ns32k-encore
+ ;;
+ es1800 | OSE68k | ose68k | ose | OSE) # CYGNUS LOCAL
+ basic_machine=m68k-ericsson
+ os=-ose
+ ;;
+ fx2800)
+ basic_machine=i860-alliant
+ ;;
+ genix)
+ basic_machine=ns32k-ns
+ ;;
+ gmicro)
+ basic_machine=tron-gmicro
+ os=-sysv
+ ;;
+ h3050r* | hiux*)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ h8300hms)
+ basic_machine=h8300-hitachi
+ os=-hms
+ ;;
+ h8300xray) # CYGNUS LOCAL
+ basic_machine=h8300-hitachi
+ os=-xray
+ ;;
+ h8500hms) # CYGNUS LOCAL
+ basic_machine=h8500-hitachi
+ os=-hms
+ ;;
+ harris)
+ basic_machine=m88k-harris
+ os=-sysv3
+ ;;
+ hp300-*)
+ basic_machine=m68k-hp
+ ;;
+ hp300bsd)
+ basic_machine=m68k-hp
+ os=-bsd
+ ;;
+ hp300hpux)
+ basic_machine=m68k-hp
+ os=-hpux
+ ;;
+ w89k-*) # CYGNUS LOCAL
+ basic_machine=hppa1.1-winbond
+ os=-proelf
+ ;;
+ op50n-*) # CYGNUS LOCAL
+ basic_machine=hppa1.1-oki
+ os=-proelf
+ ;;
+ op60c-*) # CYGNUS LOCAL
+ basic_machine=hppa1.1-oki
+ os=-proelf
+ ;;
+ hppro) # CYGNUS LOCAL
+ basic_machine=hppa1.1-hp
+ os=-proelf
+ ;;
+ hp9k2[0-9][0-9] | hp9k31[0-9])
+ basic_machine=m68000-hp
+ ;;
+ hp9k3[2-9][0-9])
+ basic_machine=m68k-hp
+ ;;
+ hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
+ basic_machine=hppa1.1-hp
+ ;;
+ hp9k8[0-9][0-9] | hp8[0-9][0-9])
+ basic_machine=hppa1.0-hp
+ ;;
+ hppaosf) # CYGNUS LOCAL
+ basic_machine=hppa1.1-hp
+ os=-osf
+ ;;
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ os=-mvs
+ ;;
+# I'm not sure what "Sysv32" means. Should this be sysv3.2?
+ i[3456]86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
+ os=-sysv32
+ ;;
+ i[3456]86v4*)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
+ os=-sysv4
+ ;;
+ i[3456]86v)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
+ os=-sysv
+ ;;
+ i[3456]86sol2)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-unknown/'`
+ os=-solaris2
+ ;;
+ i386mach) # CYGNUS LOCAL
+ basic_machine=i386-mach
+ os=-mach
+ ;;
+ i386-vsta | vsta) # CYGNUS LOCAL
+ basic_machine=i386-unknown
+ os=-vsta
+ ;;
+ i386-go32 | go32) # CYGNUS LOCAL
+ basic_machine=i386-unknown
+ os=-go32
+ ;;
+ iris | iris4d)
+ basic_machine=mips-sgi
+ case $os in
+ -irix*)
+ ;;
+ *)
+ os=-irix4
+ ;;
+ esac
+ ;;
+ isi68 | isi)
+ basic_machine=m68k-isi
+ os=-sysv
+ ;;
+ m88k-omron*)
+ basic_machine=m88k-omron
+ ;;
+ magnum | m3230)
+ basic_machine=mips-mips
+ os=-sysv
+ ;;
+ merlin)
+ basic_machine=ns32k-utek
+ os=-sysv
+ ;;
+ miniframe)
+ basic_machine=m68000-convergent
+ ;;
+ mips3*-*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
+ ;;
+ mips3*)
+ basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
+ ;;
+ monitor) # CYGNUS LOCAL
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ msdos) # CYGNUS LOCAL
+ basic_machine=i386-unknown
+ os=-msdos
+ ;;
+ ncr3000)
+ basic_machine=i486-ncr
+ os=-sysv4
+ ;;
+ netbsd386)
+ basic_machine=i386-unknown # CYGNUS LOCAL
+ os=-netbsd
+ ;;
+ news | news700 | news800 | news900)
+ basic_machine=m68k-sony
+ os=-newsos
+ ;;
+ news1000)
+ basic_machine=m68030-sony
+ os=-newsos
+ ;;
+ news-3600 | risc-news)
+ basic_machine=mips-sony
+ os=-newsos
+ ;;
+ necv70) # CYGNUS LOCAL
+ basic_machine=v70-nec
+ os=-sysv
+ ;;
+ next | m*-next )
+ basic_machine=m68k-next
+ case $os in
+ -nextstep* )
+ ;;
+ -ns2*)
+ os=-nextstep2
+ ;;
+ *)
+ os=-nextstep3
+ ;;
+ esac
+ ;;
+ nh3000)
+ basic_machine=m68k-harris
+ os=-cxux
+ ;;
+ nh[45]000)
+ basic_machine=m88k-harris
+ os=-cxux
+ ;;
+ nindy960)
+ basic_machine=i960-intel
+ os=-nindy
+ ;;
+ mon960)
+ basic_machine=i960-intel
+ os=-mon960
+ ;;
+ np1)
+ basic_machine=np1-gould
+ ;;
+ OSE68000 | ose68000) # CYGNUS LOCAL
+ basic_machine=m68000-ericsson
+ os=-ose
+ ;;
+ os68k) # CYGNUS LOCAL
+ basic_machine=m68k-none
+ os=-os68k
+ ;;
+ pa-hitachi)
+ basic_machine=hppa1.1-hitachi
+ os=-hiuxwe2
+ ;;
+ paragon)
+ basic_machine=i860-intel
+ os=-osf
+ ;;
+ pbd)
+ basic_machine=sparc-tti
+ ;;
+ pbb)
+ basic_machine=m68k-tti
+ ;;
+ pc532 | pc532-*)
+ basic_machine=ns32k-pc532
+ ;;
+ pentium | p5)
+ basic_machine=i586-intel
+ ;;
+ pentiumpro | p6)
+ basic_machine=i686-intel
+ ;;
+ pentium-* | p5-*)
+ basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ pentiumpro-* | p6-*)
+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ k5)
+ # We don't have specific support for AMD's K5 yet, so just call it a Pentium
+ basic_machine=i586-amd
+ ;;
+ nexen)
+ # We don't have specific support for Nexgen yet, so just call it a Pentium
+ basic_machine=i586-nexgen
+ ;;
+ pn)
+ basic_machine=pn-gould
+ ;;
+ power) basic_machine=rs6000-ibm
+ ;;
+ ppc) basic_machine=powerpc-unknown
+ ;;
+ ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ppcle | powerpclittle | ppc-le | powerpc-little)
+ basic_machine=powerpcle-unknown
+ ;;
+ ppcle-* | powerpclittle-*)
+ basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+ ps2)
+ basic_machine=i386-ibm
+ ;;
+ rom68k) # CYGNUS LOCAL
+ basic_machine=m68k-rom68k
+ os=-coff
+ ;;
+ rm[46]00)
+ basic_machine=mips-siemens
+ ;;
+ rtpc | rtpc-*)
+ basic_machine=romp-ibm
+ ;;
+ sa29200) # CYGNUS LOCAL
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ sequent)
+ basic_machine=i386-sequent
+ ;;
+ sh)
+ basic_machine=sh-hitachi
+ os=-hms
+ ;;
+ sparclite-wrs) # CYGNUS LOCAL
+ basic_machine=sparclite-wrs
+ os=-vxworks
+ ;;
+ sps7)
+ basic_machine=m68k-bull
+ os=-sysv2
+ ;;
+ spur)
+ basic_machine=spur-unknown
+ ;;
+ st2000) # CYGNUS LOCAL
+ basic_machine=m68k-tandem
+ ;;
+ stratus) # CYGNUS LOCAL
+ basic_machine=i860-stratus
+ os=-sysv4
+ ;;
+ sun2)
+ basic_machine=m68000-sun
+ ;;
+ sun2os3)
+ basic_machine=m68000-sun
+ os=-sunos3
+ ;;
+ sun2os4)
+ basic_machine=m68000-sun
+ os=-sunos4
+ ;;
+ sun3os3)
+ basic_machine=m68k-sun
+ os=-sunos3
+ ;;
+ sun3os4)
+ basic_machine=m68k-sun
+ os=-sunos4
+ ;;
+ sun4os3)
+ basic_machine=sparc-sun
+ os=-sunos3
+ ;;
+ sun4os4)
+ basic_machine=sparc-sun
+ os=-sunos4
+ ;;
+ sun4sol2)
+ basic_machine=sparc-sun
+ os=-solaris2
+ ;;
+ sun3 | sun3-*)
+ basic_machine=m68k-sun
+ ;;
+ sun4)
+ basic_machine=sparc-sun
+ ;;
+ sun386 | sun386i | roadrunner)
+ basic_machine=i386-sun
+ ;;
+ symmetry)
+ basic_machine=i386-sequent
+ os=-dynix
+ ;;
+ tower | tower-32)
+ basic_machine=m68k-ncr
+ ;;
+ udi29k)
+ basic_machine=a29k-amd
+ os=-udi
+ ;;
+ ultra3)
+ basic_machine=a29k-nyu
+ os=-sym1
+ ;;
+ v810 | necv810) # CYGNUS LOCAL
+ basic_machine=v810-nec
+ os=-none
+ ;;
+ vaxv)
+ basic_machine=vax-dec
+ os=-sysv
+ ;;
+ vms)
+ basic_machine=vax-dec
+ os=-vms
+ ;;
+ vxworks960)
+ basic_machine=i960-wrs
+ os=-vxworks
+ ;;
+ vxworks68)
+ basic_machine=m68k-wrs
+ os=-vxworks
+ ;;
+ vxworks29k)
+ basic_machine=a29k-wrs
+ os=-vxworks
+ ;;
+ w65*) # CYGNUS LOCAL
+ basic_machine=w65-wdc
+ os=-none
+ ;;
+ xmp)
+ basic_machine=xmp-cray
+ os=-unicos
+ ;;
+ xps | xps100)
+ basic_machine=xps100-honeywell
+ ;;
+ z8k-*-coff) # CYGNUS LOCAL
+ basic_machine=z8k-unknown
+ os=-sim
+ ;;
+ none)
+ basic_machine=none-none
+ os=-none
+ ;;
+
+# Here we handle the default manufacturer of certain CPU types. It is in
+# some cases the only manufacturer, in others, it is the most popular.
+ w89k) # CYGNUS LOCAL
+ basic_machine=hppa1.1-winbond
+ ;;
+ op50n) # CYGNUS LOCAL
+ basic_machine=hppa1.1-oki
+ ;;
+ op60c) # CYGNUS LOCAL
+ basic_machine=hppa1.1-oki
+ ;;
+ mips)
+ basic_machine=mips-mips
+ ;;
+ romp)
+ basic_machine=romp-ibm
+ ;;
+ rs6000)
+ basic_machine=rs6000-ibm
+ ;;
+ vax)
+ basic_machine=vax-dec
+ ;;
+ pdp11)
+ basic_machine=pdp11-dec
+ ;;
+ we32k)
+ basic_machine=we32k-att
+ ;;
+ sparc)
+ basic_machine=sparc-sun
+ ;;
+ cydra)
+ basic_machine=cydra-cydrome
+ ;;
+ orion)
+ basic_machine=orion-highlevel
+ ;;
+ orion105)
+ basic_machine=clipper-highlevel
+ ;;
+ mac | mpw | mac-mpw) # CYGNUS LOCAL
+ basic_machine=m68k-apple
+ ;;
+ pmac | pmac-mpw) # CYGNUS LOCAL
+ basic_machine=powerpc-apple
+ ;;
+ *)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+
+# Here we canonicalize certain aliases for manufacturers.
+case $basic_machine in
+ *-digital*)
+ basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
+ ;;
+ *-commodore*)
+ basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
+ ;;
+ *)
+ ;;
+esac
+
+# Decode manufacturer-specific aliases for certain operating systems.
+
+if [ x"$os" != x"" ]
+then
+case $os in
+ # -solaris* is a basic system type, with this one exception.
+ -solaris1 | -solaris1.*)
+ os=`echo $os | sed -e 's|solaris1|sunos4|'`
+ ;;
+ -solaris)
+ os=-solaris2
+ ;;
+ -unixware* | svr4*)
+ os=-sysv4
+ ;;
+ -gnu/linux*)
+ os=`echo $os | sed -e 's|gnu/linux|linux|'`
+ ;;
+ # First accept the basic system types.
+ # The portable systems comes first.
+ # Each alternative MUST END IN A *, to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[3456]* \
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
+ | -amigaos* | -msdos* | -moss* | -newsos* | -unicos* | -aos* | -aof* \
+ | -nindy* | -mon960* | -vxworks* | -ebmon* | -hms* | -mvs* | -clix* \
+ | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
+ | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix* \
+ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -cygwin32* | -pe* | -psos*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ # CYGNUS LOCAL
+ -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
+ | -windows* | -osx | -abug | -netware* | -proelf | -os9* \
+ | -macos* | -mpw* | -magic*)
+ ;;
+ -mac*)
+ os=`echo $os | sed -e 's|mac|macos|'`
+ ;;
+ # END CYGNUS LOCAL
+ -sunos5*)
+ os=`echo $os | sed -e 's|sunos5|solaris2|'`
+ ;;
+ -sunos6*)
+ os=`echo $os | sed -e 's|sunos6|solaris3|'`
+ ;;
+ -osfrose*)
+ os=-osfrose
+ ;;
+ -osf*)
+ os=-osf
+ ;;
+ -utek*)
+ os=-bsd
+ ;;
+ -dynix*)
+ os=-bsd
+ ;;
+ -acis*)
+ os=-aos
+ ;;
+ -386bsd) # CYGNUS LOCAL
+ os=-bsd
+ ;;
+ -ctix* | -uts*)
+ os=-sysv
+ ;;
+ -ns2 )
+ os=-nextstep2
+ ;;
+ # Preserve the version number of sinix5.
+ -sinix5.*)
+ os=`echo $os | sed -e 's|sinix|sysv|'`
+ ;;
+ -sinix*)
+ os=-sysv4
+ ;;
+ -triton*)
+ os=-sysv3
+ ;;
+ -oss*)
+ os=-sysv3
+ ;;
+ -svr4)
+ os=-sysv4
+ ;;
+ -svr3)
+ os=-sysv3
+ ;;
+ -sysvr4)
+ os=-sysv4
+ ;;
+ # This must come after -sysvr4.
+ -sysv*)
+ ;;
+ -ose*) # CYGNUS LOCAL
+ os=-ose
+ ;;
+ -es1800*) # CYGNUS LOCAL
+ os=-ose
+ ;;
+ -xenix)
+ os=-xenix
+ ;;
+ -none)
+ ;;
+ *)
+ # Get rid of the `-' at the beginning of $os.
+ os=`echo $os | sed 's/[^-]*-//'`
+ echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
+ exit 1
+ ;;
+esac
+else
+
+# Here we handle the default operating systems that come with various machines.
+# The value should be what the vendor currently ships out the door with their
+# machine or put another way, the most popular os provided with the machine.
+
+# Note that if you're going to try to match "-MANUFACTURER" here (say,
+# "-sun"), then you have to tell the case statement up towards the top
+# that MANUFACTURER isn't an operating system. Otherwise, code above
+# will signal an error saying that MANUFACTURER isn't an operating
+# system, and we'll never get to this point.
+
+case $basic_machine in
+ *-acorn)
+ os=-riscix1.2
+ ;;
+ arm*-semi)
+ os=-aout
+ ;;
+ pdp11-*)
+ os=-none
+ ;;
+ *-dec | vax-*)
+ os=-ultrix4.2
+ ;;
+ m68*-apollo)
+ os=-domain
+ ;;
+ i386-sun)
+ os=-sunos4.0.2
+ ;;
+ m68000-sun)
+ os=-sunos3
+ # This also exists in the configure program, but was not the
+ # default.
+ # os=-sunos4
+ ;;
+ m68*-cisco) # CYGNUS LOCAL
+ os=-aout
+ ;;
+ mips*-cisco) # CYGNUS LOCAL
+ os=-elf
+ ;;
+ *-tti) # must be before sparc entry or we get the wrong os.
+ os=-sysv3
+ ;;
+ sparc-* | *-sun)
+ os=-sunos4.1.1
+ ;;
+ *-ibm)
+ os=-aix
+ ;;
+ *-wec) # CYGNUS LOCAL
+ os=-proelf
+ ;;
+ *-winbond) # CYGNUS LOCAL
+ os=-proelf
+ ;;
+ *-oki) # CYGNUS LOCAL
+ os=-proelf
+ ;;
+ *-hp)
+ os=-hpux
+ ;;
+ *-hitachi)
+ os=-hiux
+ ;;
+ i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
+ os=-sysv
+ ;;
+ *-cbm)
+ os=-amigaos
+ ;;
+ *-dg)
+ os=-dgux
+ ;;
+ *-dolphin)
+ os=-sysv3
+ ;;
+ m68k-ccur)
+ os=-rtu
+ ;;
+ m88k-omron*)
+ os=-luna
+ ;;
+ *-next )
+ os=-nextstep
+ ;;
+ *-sequent)
+ os=-ptx
+ ;;
+ *-crds)
+ os=-unos
+ ;;
+ *-ns)
+ os=-genix
+ ;;
+ i370-*)
+ os=-mvs
+ ;;
+ *-next)
+ os=-nextstep3
+ ;;
+ *-gould)
+ os=-sysv
+ ;;
+ *-highlevel)
+ os=-bsd
+ ;;
+ *-encore)
+ os=-bsd
+ ;;
+ *-sgi)
+ os=-irix
+ ;;
+ *-siemens)
+ os=-sysv4
+ ;;
+ *-masscomp)
+ os=-rtu
+ ;;
+ *-rom68k) # CYGNUS LOCAL
+ os=-coff
+ ;;
+ *-*bug) # CYGNUS LOCAL
+ os=-coff
+ ;;
+ *-apple) # CYGNUS LOCAL
+ os=-macos
+ ;;
+ *)
+ os=-none
+ ;;
+esac
+fi
+
+# Here we handle the case where we know the os, and the CPU type, but not the
+# manufacturer. We pick the logical manufacturer.
+vendor=unknown
+case $basic_machine in
+ *-unknown)
+ case $os in
+ -riscix*)
+ vendor=acorn
+ ;;
+ -sunos*)
+ vendor=sun
+ ;;
+ -bosx*) # CYGNUS LOCAL
+ vendor=bull
+ ;;
+ -lynxos*)
+ vendor=lynx
+ ;;
+ -aix*)
+ vendor=ibm
+ ;;
+ -hpux*)
+ vendor=hp
+ ;;
+ -hiux*)
+ vendor=hitachi
+ ;;
+ -unos*)
+ vendor=crds
+ ;;
+ -dgux*)
+ vendor=dg
+ ;;
+ -luna*)
+ vendor=omron
+ ;;
+ -genix*)
+ vendor=ns
+ ;;
+ -mvs*)
+ vendor=ibm
+ ;;
+ -ptx*)
+ vendor=sequent
+ ;;
+ -vxworks*)
+ vendor=wrs
+ ;;
+ -aux*)
+ vendor=apple
+ ;;
+ -hms*) # CYGNUS LOCAL
+ vendor=hitachi
+ ;;
+ -mpw* | -macos*) # CYGNUS LOCAL
+ vendor=apple
+ ;;
+ esac
+ basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
+ ;;
+esac
+
+echo $basic_machine$os
diff -rup --new-file baseline/contrib/guavac/configure amiga/contrib/guavac/configure
--- baseline/contrib/guavac/configure Fri Aug 2 19:55:11 1996
+++ amiga/contrib/guavac/configure Mon Sep 30 22:32:07 1996
@@ -1,8 +1,8 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.8
-# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+# Generated automatically using autoconf version 2.10
+# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
@@ -44,6 +44,9 @@ libdir='${exec_prefix}/lib'
includedir='${prefix}/include'
oldincludedir='/usr/include'
infodir='${prefix}/info'
+guidedir='${prefix}/guide'
+psdir='${prefix}/ps'
+dvidir='${prefix}/dvi'
mandir='${prefix}/man'
# Initialize some other variables.
@@ -158,6 +161,9 @@ Directory and file names:
--includedir=DIR C header files in DIR [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
--infodir=DIR info documentation in DIR [PREFIX/info]
+ --guidedir=DIR Amigaguide documentation in DIR [PREFIX/guide]
+ --psdir=DIR postscript documentation in DIR [PREFIX/ps]
+ --dvidir=DIR TeX dvi documentation in DIR [PREFIX/dvi]
--mandir=DIR man documentation in DIR [PREFIX/man]
--srcdir=DIR find the sources in DIR [configure dir or ..]
--program-prefix=PREFIX prepend PREFIX to installed program names
@@ -200,6 +206,18 @@ EOF
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
infodir="$ac_optarg" ;;
+ -guidedir | --guidedir | --guidedi | --guided | --guide | --gui)
+ ac_prev=guidedir ;;
+ -guidedir=* | --guidedir=* | --guidedi=* | --guided=* | --guide=* |--gui=*)+ guidedir="$ac_optarg" ;;
+
+ -psdir | --psdir | --psdi | --psd | --ps)
+ ac_prev=psdir ;;
+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)+ psdir="$ac_optarg" ;;
+
+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
+ ac_prev=dvidir ;;
+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* |--dv=*)+ dvidir="$ac_optarg" ;;
+
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
@@ -330,7 +348,7 @@ EOF
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 2.8"
+ echo "configure generated by autoconf version 2.10"
exit 0 ;;
-with-* | --with-*)
@@ -514,6 +532,130 @@ fi
+# Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ ac_cv_prog_CC="gcc"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+fi
+fi
+CC="$ac_cv_prog_CC"
+if test -n "$CC"; then
+ echo "$ac_t""$CC" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+if test -z "$CC"; then
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
+ ac_prog_rejected=no
+ for ac_dir in $PATH; do
+ test -z "$ac_dir" && ac_dir=.
+ if test -f $ac_dir/$ac_word; then
+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ break
+ fi
+ done
+ IFS="$ac_save_ifs"
+if test $ac_prog_rejected = yes; then
+ # We found a bogon in the path, so make sure we never use it.
+ set dummy $ac_cv_prog_CC
+ shift
+ if test $# -gt 0; then
+ # We chose a different compiler from the bogus one.
+ # However, it has the same basename, so the bogon will be chosen
+ # first if we set CC to just the basename; use the full file name.
+ shift
+ set dummy "$ac_dir/$ac_word" "$@"
+ shift
+ ac_cv_prog_CC="$@"
+ fi
+fi
+fi
+fi
+CC="$ac_cv_prog_CC"
+if test -n "$CC"; then
+ echo "$ac_t""$CC" 1>&6
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
+fi
+
+echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.c <<EOF
+#ifdef __GNUC__
+ yes;
+#endif
+EOF
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+ ac_cv_prog_gcc=yes
+else
+ ac_cv_prog_gcc=no
+fi
+fi
+
+echo "$ac_t""$ac_cv_prog_gcc" 1>&6
+if test $ac_cv_prog_gcc = yes; then
+ GCC=yes
+ if test "${CFLAGS+set}" != set; then
+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
+if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ echo 'void f(){}' > conftest.c
+if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
+ ac_cv_prog_gcc_g=yes
+else
+ ac_cv_prog_gcc_g=no
+fi
+rm -f conftest*
+
+fi
+
+echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
+ if test $ac_cv_prog_gcc_g = yes; then
+ CFLAGS="-g -O2"
+ else
+ CFLAGS="-O2"
+ fi
+ fi
+else
+ GCC=
+ test "${CFLAGS+set}" = set || CFLAGS="-g"
+fi
+
+
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
@@ -529,13 +671,13 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 533 "configure"
+#line 675 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@@ -544,13 +686,13 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 548 "configure"
+#line 690 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
@@ -572,7 +714,7 @@ echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for AIX""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 576 "configure"
+#line 718 "configure"
#include "confdefs.h"
#ifdef _AIX
yes
@@ -619,12 +761,12 @@ if eval "test \"`echo '$''{'ac_cv_header
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 623 "configure"
+#line 765 "configure"
#include "confdefs.h"
#include <minix/config.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -660,12 +802,8 @@ EOF
fi
-ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-
+#Don't specify C++, otherwise many of the tests will fail. FIXME?
+#AC_LANG_CPLUSPLUS
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@@ -720,6 +858,7 @@ ac_configure=$ac_aux_dir/configure # Thi
# SunOS /usr/etc/install
# IRIX /sbin/install
# AIX /bin/install
+# AmigaOS /c/install
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
@@ -732,7 +871,7 @@ else
for ac_dir in $PATH; do
# Account for people who put trailing slashes in PATH elements.
case "$ac_dir/" in
- /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
+ /|./|.//|/etc/*|/c/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
*)
# OSF1 and SCO ODT 3.0 have their own names for install.
for ac_prog in ginstall installbsd scoinst install; do
@@ -794,22 +933,22 @@ fi
echo $ac_n "checking for -lstdc++""... $ac_c" 1>&6
-ac_lib_var=`echo stdc++_main | tr '.-/+' '___p'`
+ac_lib_var=`echo stdc++'_'main | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lstdc++ $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 805 "configure"
+#line 944 "configure"
#include "confdefs.h"
-int main() { return 0; }
+int main() { t(); return 0; }
int t() {
main()
; return 0; }
EOF
-if { (eval echo configure:813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -822,7 +961,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- ac_tr_lib=HAVE_LIB`echo stdc++ | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ ac_tr_lib=HAVE_LIB`echo stdc++ | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
@@ -834,22 +973,22 @@ else
fi
echo $ac_n "checking for -lm""... $ac_c" 1>&6
-ac_lib_var=`echo m_main | tr '.-/+' '___p'`
+ac_lib_var=`echo m'_'main | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lm $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 845 "configure"
+#line 984 "configure"
#include "confdefs.h"
-int main() { return 0; }
+int main() { t(); return 0; }
int t() {
main()
; return 0; }
EOF
-if { (eval echo configure:853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -862,7 +1001,7 @@ LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz+' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
@@ -883,7 +1022,7 @@ if eval "test \"`echo '$''{'ac_cv_header
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 887 "configure"
+#line 1026 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <$ac_hdr>
@@ -892,7 +1031,7 @@ int t() {
DIR *dirp = 0;
; return 0; }
EOF
-if { (eval echo configure:896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_header_dirent_$ac_safe=yes"
else
@@ -916,22 +1055,26 @@ done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for -ldir""... $ac_c" 1>&6
-ac_lib_var=`echo dir_opendir | tr '.-/+' '___p'`
+ac_lib_var=`echo dir'_'opendir | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-ldir $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 927 "configure"
+#line 1066 "configure"
#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char opendir();
-int main() { return 0; }
+int main() { t(); return 0; }
int t() {
opendir()
; return 0; }
EOF
-if { (eval echo configure:935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:1078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -951,22 +1094,26 @@ fi
else
echo $ac_n "checking for -lx""... $ac_c" 1>&6
-ac_lib_var=`echo x_opendir | tr '.-/+' '___p'`
+ac_lib_var=`echo x'_'opendir | tr './+\055' '__p_'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lx $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 962 "configure"
+#line 1105 "configure"
#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char opendir();
-int main() { return 0; }
+int main() { t(); return 0; }
int t() {
opendir()
; return 0; }
EOF
-if { (eval echo configure:970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:1117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -986,39 +1133,6 @@ fi
fi
-echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
-if test -z "$CXXCPP"; then
-if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
- CXXCPP="${CXX-g++} -E"
- cat > conftest.$ac_ext <<EOF
-#line 1002 "configure"
-#include "confdefs.h"
-#include <stdlib.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out`
-if test -z "$ac_err"; then
- :
-else
- echo "$ac_err" >&5
- rm -rf conftest*
- CXXCPP=/lib/cpp
-fi
-rm -f conftest*
- ac_cv_prog_CXXCPP="$CXXCPP"
-fi
-fi
-CXXCPP="$ac_cv_prog_CXXCPP"
-echo "$ac_t""$CXXCPP" 1>&6
-
# If we cannot run a trivial program, we must be cross compiling.
echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
@@ -1028,14 +1142,11 @@ else
ac_cv_c_cross=yes
else
cat > conftest.$ac_ext <<EOF
-#line 1032 "configure"
+#line 1146 "configure"
#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
main(){return(0);}
EOF
-{ (eval echo configure:1039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
+{ (eval echo configure:1150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_cross=no
else
@@ -1053,7 +1164,7 @@ if eval "test \"`echo '$''{'ac_cv_header
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1057 "configure"
+#line 1168 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@@ -1061,7 +1172,7 @@ else
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1076,7 +1187,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 1080 "configure"
+#line 1191 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@@ -1094,7 +1205,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 1098 "configure"
+#line 1209 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@@ -1115,11 +1226,8 @@ if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
-#line 1119 "configure"
+#line 1230 "configure"
#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
@@ -1129,7 +1237,7 @@ if (XOR (islower (i), ISLOWER (i)) || to
exit (0); }
EOF
-{ (eval echo configure:1133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
+{ (eval echo configure:1241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
:
else
@@ -1156,12 +1264,12 @@ if eval "test \"`echo '$''{'ac_cv_header
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1160 "configure"
+#line 1268 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:1165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:1273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -1193,15 +1301,15 @@ if eval "test \"`echo '$''{'ac_cv_header
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1197 "configure"
+#line 1305 "configure"
#include "confdefs.h"
#include <alloca.h>
-int main() { return 0; }
+int main() { t(); return 0; }
int t() {
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
-if { (eval echo configure:1205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:1313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
@@ -1225,7 +1333,7 @@ if eval "test \"`echo '$''{'ac_cv_func_a
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1229 "configure"
+#line 1337 "configure"
#include "confdefs.h"
#ifdef __GNUC__
@@ -1244,12 +1352,12 @@ char *alloca ();
# endif
#endif
-int main() { return 0; }
+int main() { t(); return 0; }
int t() {
char *p = (char *) alloca(1);
; return 0; }
EOF
-if { (eval echo configure:1253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:1361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
ac_cv_func_alloca=yes
else
@@ -1284,7 +1392,7 @@ if eval "test \"`echo '$''{'ac_cv_os_cra
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1288 "configure"
+#line 1396 "configure"
#include "confdefs.h"
#if defined(CRAY) && ! defined(CRAY2)
webecray
@@ -1313,18 +1421,17 @@ if eval "test \"`echo '$''{'ac_cv_func_$
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1317 "configure"
+#line 1425 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
char $ac_func();
-int main() { return 0; }
+int main() { t(); return 0; }
int t() {
/* The GNU C library defines this for functions which it implements
@@ -1338,7 +1445,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:1342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:1449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -1370,11 +1477,8 @@ else
ac_cv_c_stack_direction=0
else
cat > conftest.$ac_ext <<EOF
-#line 1374 "configure"
+#line 1481 "configure"
#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
find_stack_direction ()
{
static char *addr = 0;
@@ -1392,7 +1496,7 @@ main ()
exit (find_stack_direction() < 0);
}
EOF
-{ (eval echo configure:1396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
+{ (eval echo configure:1500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_stack_direction=1
else
@@ -1416,18 +1520,17 @@ if eval "test \"`echo '$''{'ac_cv_func_$
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1420 "configure"
+#line 1524 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
char $ac_func();
-int main() { return 0; }
+int main() { t(); return 0; }
int t() {
/* The GNU C library defines this for functions which it implements
@@ -1441,7 +1544,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:1445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -1497,7 +1600,7 @@ else
ac_cv_c_bigendian=unknown
# See if sys/param.h defines the BYTE_ORDER macro.
cat > conftest.$ac_ext <<EOF
-#line 1501 "configure"
+#line 1604 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@@ -1509,11 +1612,11 @@ int t() {
#endif
; return 0; }
EOF
-if { (eval echo configure:1513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
-#line 1517 "configure"
+#line 1620 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/param.h>
@@ -1525,7 +1628,7 @@ int t() {
#endif
; return 0; }
EOF
-if { (eval echo configure:1529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:1632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_bigendian=yes
else
@@ -1542,11 +1645,8 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 1546 "configure"
+#line 1649 "configure"
#include "confdefs.h"
-#ifdef __cplusplus
-extern "C" void exit(int);
-#endif
main () {
/* Are we little or big endian? From Harbison&Steele. */
union
@@ -1558,7 +1658,7 @@ main () {
exit (u.c[sizeof (long) - 1] == 1);
}
EOF
-{ (eval echo configure:1562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
+{ (eval echo configure:1662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_bigendian=no
else
@@ -1598,12 +1698,47 @@ EOF
-CFLAGS="-g -I. -I.. -I../common"
+CFLAGS="-g -O2"
+# Check for additional host specific CFLAGS.
+
+# Make sure we can run config.sub.
+if $ac_config_sub sun4 >/dev/null 2>&1; then :
+else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
+fi
+
+echo $ac_n "checking host system type""... $ac_c" 1>&6
+
+host_alias=$host
+case "$host_alias" in
+NONE)
+ case $nonopt in
+ NONE)
+ if host_alias=`$ac_config_guess`; then :
+ else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
+ fi ;;
+ *) host_alias=$nonopt ;;
+ esac ;;
+esac
+
+host=`$ac_config_sub $host_alias`
+host_cpu=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
+host_vendor=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
+host_os=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
+echo "$ac_t""$host" 1>&6
+
+echo $ac_n "checking for host dependent CFLAGS""... $ac_c" 1>&6
+other_host_cflags=""
+case "${host}" in
+ m68*-*-amigaos*) other_host_cflags="-mstackextend" ;;
+esac
+test -n "$other_host_cflags" && CFLAGS="$CFLAGS $other_host_cflags"
+echo "$ac_t""$other_host_cflags" 1>&6
cat >> confdefs.h <<EOF
#define CFLAGS "$CFLAGS"
EOF
+
GNUFLAGS="-Wreturn-type -fenum-int-equiv"
cat >> confdefs.h <<EOF
#define GNUFLAGS "$GNUFLAGS"
@@ -1673,7 +1808,9 @@ DEFS=-DHAVE_CONFIG_H
: ${CONFIG_STATUS=./config.status}
echo creating $CONFIG_STATUS
-rm -f $CONFIG_STATUS
+# Some systems, like AmigaOS, won't allow you to remove a script that is
+# being executed, so just move it out of the way instead.
+if test -f $CONFIG_STATUS; then mv $CONFIG_STATUS $CONFIG_STATUS.old; else true; fi
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
@@ -1694,7 +1831,7 @@ do
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "$CONFIG_STATUS generated by autoconf version 2.8"
+ echo "$CONFIG_STATUS generated by autoconf version 2.10"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
@@ -1735,18 +1872,26 @@ s%@libdir@%$libdir%g
s%@includedir@%$includedir%g
s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g
+s%@guidedir@%$guidedir%g
+s%@psdir@%$psdir%g
+s%@dvidir@%$dvidir%g
s%@mandir@%$mandir%g
+s%@CC@%$CC%g
s%@CPP@%$CPP%g
s%@RANLIB@%$RANLIB%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@LN_S@%$LN_S%g
-s%@CXXCPP@%$CXXCPP%g
s%@ALLOCA@%$ALLOCA%g
s%@SET_MAKE@%$SET_MAKE%g
s%@PRODUCT@%$PRODUCT%g
s%@VERSION@%$VERSION%g
s%@CXX@%$CXX%g
+s%@host@%$host%g
+s%@host_alias@%$host_alias%g
+s%@host_cpu@%$host_cpu%g
+s%@host_vendor@%$host_vendor%g
+s%@host_os@%$host_os%g
s%@GNUFLAGS@%$GNUFLAGS%g
s%@TEMPLATEFLAGS@%$TEMPLATEFLAGS%g
@@ -1854,7 +1999,7 @@ rm -f conftest.vals
cat > conftest.hdr <<\EOF
s/[\\&%]/\\&/g
s%[\\$`]%\\&%g
-s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
+s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
s%ac_d%ac_u%gp
s%ac_u%ac_e%gp
EOF
@@ -1902,6 +2047,12 @@ cat >> $CONFIG_STATUS <<\EOF
echo "$ac_file is unchanged"
rm -f conftest.h
else
+ # Remove last slash and all that follows it. Not all systems have dirname.
+ ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
+ if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
+ # The file is in a subdirectory.
+ test ! -d "$ac_dir" && mkdir "$ac_dir"
+ fi
rm -f $ac_file
mv conftest.h $ac_file
fi
@@ -1913,6 +2064,7 @@ test -z "$CONFIG_HEADERS" || date > stam
exit 0
EOF
chmod +x $CONFIG_STATUS
+rm -f CONFIG.STATUS.old
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
diff -rup --new-file baseline/contrib/guavac/configure.in amiga/contrib/guavac/configure.in
--- baseline/contrib/guavac/configure.in Fri Aug 2 20:01:37 1996
+++ amiga/contrib/guavac/configure.in Mon Sep 30 21:54:16 1996
@@ -7,12 +7,16 @@ dnl
AC_INIT(common/CommonInstantiations.C)
AC_CONFIG_HEADER(config.h)
+dnl find out about compiler first thing
+AC_PROG_CC
+
dnl checks for programs
AC_AIX
AC_ISC_POSIX
AC_MINIX
AC_REQUIRE_CPP
-AC_LANG_CPLUSPLUS
+#Don't specify C++, otherwise many of the tests will fail. FIXME?
+#AC_LANG_CPLUSPLUS
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_LN_S
@@ -45,8 +49,20 @@ CXX=gcc
AC_DEFINE_UNQUOTED(CXX, "$CXX")
AC_SUBST(CXX)
-CFLAGS="-g -I. -I.. -I../common"
+dnl begin-ADE-local
+CFLAGS="-g -O2"
+# Check for additional host specific CFLAGS.
+AC_CANONICAL_HOST
+AC_MSG_CHECKING(for host dependent CFLAGS)
+other_host_cflags=""
+case "${host}" in
+ m68*-*-amigaos*) other_host_cflags="-mstackextend" ;;
+esac
+test -n "$other_host_cflags" && CFLAGS="$CFLAGS $other_host_cflags"
+AC_MSG_RESULT($other_host_cflags)
+dnl end-ADE-local
AC_DEFINE_UNQUOTED(CFLAGS, "$CFLAGS")
+
GNUFLAGS="-Wreturn-type -fenum-int-equiv"
AC_DEFINE_UNQUOTED(GNUFLAGS, "$GNUFLAGS")
diff -rup --new-file baseline/contrib/guavac/man/Makefile.in amiga/contrib/guavac/man/Makefile.in
--- baseline/contrib/guavac/man/Makefile.in Fri Jul 12 14:10:38 1996
+++ amiga/contrib/guavac/man/Makefile.in Sat Sep 28 00:00:00 1996
@@ -51,17 +51,21 @@ stamp-vnr: $(PRODUCT).1
date > $(srcdir)/stamp-vnr
install: all
- $(srcdir)/../mkinstalldirs $(mandir) $(mandir)/man1 $(mandir)/cat1
+ $(srcdir)/../mkinstalldirs $(mandir) $(mandir)/man1 $(mandir)/cat1 $(prefix)/ps
cd $(srcdir) && for file in $(PRODUCT).1; do \
$(INSTALL_DATA) $$file $(mandir)/man1/$$file; \
done
cd $(srcdir) && for file in $(PRODUCT).man; do \
$(INSTALL_DATA) $$file $(mandir)/cat1/$$file; \
done
+ cd $(srcdir) && for file in $(PRODUCT).ps; do \
+ $(INSTALL_DATA) $$file $(prefix)/ps/$$file; \
+ done
uninstall:
rm -f $(mandir)/man1/$(PRODUCT).1
rm -f $(mandir)/cat1/$(PRODUCT).man
+ rm -f $(prefix)/ps/$$(PRODUCT).ps
mostlyclean:
rm -f *.tmp
diff -rup --new-file baseline/contrib/guavac/man/guavac.ps amiga/contrib/guavac/man/guavac.ps
--- baseline/contrib/guavac/man/guavac.ps Fri Aug 2 20:40:27 1996
+++ amiga/contrib/guavac/man/guavac.ps Wed Dec 31 17:00:00 1969
@@ -1,300 +0,0 @@
-%!PS-Adobe-3.0
-%%Creator: groff version 1.09
-%%CreationDate: Fri Aug 2 20:40:27 1996
-%%DocumentNeededResources: font Times-Roman
-%%+ font Times-Bold
-%%+ font Times-Italic
-%%DocumentSuppliedResources: procset grops 1.09 0
-%%Pages: 1
-%%PageOrder: Ascend
-%%Orientation: Portrait
-%%EndComments
-%%BeginProlog
-%%BeginResource: procset grops 1.09 0
-/setpacking where{
-pop
-currentpacking
-true setpacking
-}if
-/grops 120 dict dup begin
-/SC 32 def
-/A/show load def
-/B{0 SC 3 -1 roll widthshow}bind def
-/C{0 exch ashow}bind def
-/D{0 exch 0 SC 5 2 roll awidthshow}bind def
-/E{0 rmoveto show}bind def
-/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
-/G{0 rmoveto 0 exch ashow}bind def
-/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
-/I{0 exch rmoveto show}bind def
-/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
-/K{0 exch rmoveto 0 exch ashow}bind def
-/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
-/M{rmoveto show}bind def
-/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
-/O{rmoveto 0 exch ashow}bind def
-/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
-/Q{moveto show}bind def
-/R{moveto 0 SC 3 -1 roll widthshow}bind def
-/S{moveto 0 exch ashow}bind def
-/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
-/SF{
-findfont exch
-[exch dup 0 exch 0 exch neg 0 0]makefont
-dup setfont
-[exch/setfont cvx]cvx bind def
-}bind def
-/MF{
-findfont
-[5 2 roll
-0 3 1 roll
-neg 0 0]makefont
-dup setfont
-[exch/setfont cvx]cvx bind def
-}bind def
-/level0 0 def
-/RES 0 def
-/PL 0 def
-/LS 0 def
-/PLG{
-gsave newpath clippath pathbbox grestore
-exch pop add exch pop
-}bind def
-/BP{
-/level0 save def
-1 setlinecap
-1 setlinejoin
-72 RES div dup scale
-LS{
-90 rotate
-}{
-0 PL translate
-}ifelse
-1 -1 scale
-}bind def
-/EP{
-level0 restore
-showpage
-}bind def
-/DA{
-newpath arcn stroke
-}bind def
-/SN{
-transform
-.25 sub exch .25 sub exch
-round .25 add exch round .25 add exch
-itransform
-}bind def
-/DL{
-SN
-moveto
-SN
-lineto stroke
-}bind def
-/DC{
-newpath 0 360 arc closepath
-}bind def
-/TM matrix def
-/DE{
-TM currentmatrix pop
-translate scale newpath 0 0 .5 0 360 arc closepath
-TM setmatrix
-}bind def
-/RC/rcurveto load def
-/RL/rlineto load def
-/ST/stroke load def
-/MT/moveto load def
-/CL/closepath load def
-/FL{
-currentgray exch setgray fill setgray
-}bind def
-/BL/fill load def
-/LW/setlinewidth load def
-/RE{
-findfont
-dup maxlength 1 index/FontName known not{1 add}if dict begin
-{
-1 index/FID ne{def}{pop pop}ifelse
-}forall
-/Encoding exch def
-dup/FontName exch def
-currentdict end definefont pop
-}bind def
-/DEFS 0 def
-/EBEGIN{
-moveto
-DEFS begin
-}bind def
-/EEND/end load def
-/CNT 0 def
-/level1 0 def
-/PBEGIN{
-/level1 save def
-translate
-div 3 1 roll div exch scale
-neg exch neg exch translate
-0 setgray
-0 setlinecap
-1 setlinewidth
-0 setlinejoin
-10 setmiterlimit
-[]0 setdash
-/setstrokeadjust where{
-pop
-false setstrokeadjust
-}if
-/setoverprint where{
-pop
-false setoverprint
-}if
-newpath
-/CNT countdictstack def
-userdict begin
-/showpage{}def
-}bind def
-/PEND{
-clear
-countdictstack CNT sub{end}repeat
-level1 restore
-}bind def
-end def
-/setpacking where{
-pop
-setpacking
-}if
-%%EndResource
-%%IncludeResource: font Times-Roman
-%%IncludeResource: font Times-Bold
-%%IncludeResource: font Times-Italic
-grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
-def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
-/scaron/zcaron/Ydieresis/trademark/quotesingle/.notdef/.notdef/.notdef
-/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
-/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
-/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
-/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
-/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
-/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
-/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
-/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
-/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
-/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
-/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
-/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
-/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
-/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
-/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
-/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
-/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
-/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
-/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
-/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
-/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
-/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
-/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
-/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
-/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
-/Times-Italic@0 ENC0/Times-Italic RE/Times-Bold@0 ENC0/Times-Bold RE
-/Times-Roman@0 ENC0/Times-Roman RE
-%%EndProlog
-%%Page: 1 1
-%%BeginPageSetup
-BP
-%%EndPageSetup
-/F0 10/Times-Roman@0 SF(GU)72 48 Q -.2 -1.35(AVA C)-.4 H 137.095
-(\(1\) USER)1.35 F 137.095(COMMANDS GU)2.5 F -.2 -1.35(AVA C)-.4 H
-(\(1\))1.35 E/F1 9/Times-Bold@0 SF -.18(NA)72 84 S(ME).18 E F0(gua)108
-96 Q -.25(va)-.2 G 2.5(c\255af).25 G(ree Ja)-2.5 E .5 -.25(va c)-.2 H
-(ompiler).25 E(gua)108 112.8 Q -.25(va)-.2 G 2.5(d\255g).25 G(ua)-2.5 E
--.25(va)-.2 G(c').25 E 2.5(sd)-.55 G(isassembler)-2.5 E F1(SYNOPSIS)72
-129.6 Q/F2 10/Times-Bold@0 SF(gua)108 141.6 Q -.1(va)-.25 G(c).1 E F0([)
-2.5 E F2(-v)2.5 E(ersion)-.1 E F0 2.5(][)2.5 G F2(-classpath)A/F3 10
-/Times-Italic@0 SF(dir)2.5 E(ectory)-.37 E F0 2.5(][)2.5 G F2(-d)A F3
-(output-dir)2.5 E(ectory)-.37 E F0 2.5(][)2.5 G F2(-M)A F0(])2.5 E F3
-(\214lenames)2.5 E F2(gua)108 158.4 Q -.1(va)-.25 G(d).1 E F3
-(\214lename)2.5 E F1(DESCRIPTION)72 175.2 Q F2(Gua)108 187.2 Q -.1(va)
--.25 G(c).1 E F0 .051(is a compiler for the Ja)2.551 F .551 -.25
-(va \007)-.2 H .05(programming language distrib)5.351 F .05
-(uted under the)-.2 F/F4 9/Times-Roman@0 SF .05(GNU GENERAL PUBLIC)2.55
-F(LICENSE.)108 199.2 Q F0 -1.1(Yo)4.574 G 2.574(us)1.1 G .074
-(hould feel free to use, cop)-2.574 F 2.574(ya)-.1 G .075
-(nd modify it, based on the terms in the)-2.574 F F4(COPYING)2.575 E F0
-.075(\214le included)2.325 F .067(in this distrib)108 211.2 R 2.567
-(ution. W)-.2 F 2.567(ea)-.8 G .067(re distrib)-2.567 F(uting)-.2 E F2
-(gua)2.567 E -.1(va)-.25 G(c).1 E F0 .067(free of char)2.567 F .067
-(ge in the hopes that other people will \214nd it use-)-.18 F
-(ful and possibly enhance its utility in turn.)108 223.2 Q .568
-(All materials needed to compile a HotJa)108 240 R -.25(va)-.2 G 6.136
-<076f>.25 G 3.068(rN)-6.136 G 3.636(etscape\007 compliant)-3.068 F .569
-(applet are included in the)3.068 F F2(gua)3.069 E -.1(va)-.25 G(c).1 E
-F0(distrib)108 252 Q 4.117(ution. No)-.2 F 1.617(proprietary code from \
-Sun is needed, so other tool writers should feel free to include)4.117 F
-F2(gua)108 264 Q -.1(va)-.25 G(c).1 E F0(in their systems.)2.5 E F2(Gua)
-108 280.8 Q -.1(va)-.25 G(c).1 E F0 .531
-(is written in C++ to compile on an)3.031 F 3.031(yU)-.15 G .531
-(nix system.)-3.031 F .531
-(This has been tested under Solaris 2.x, SunOS)5.531 F .421
-(4.x, Iris 5.3, HP/UX 9, and Linux 1.x using)108 292.8 R F4(GNU')2.921 E
-(s)-.495 E F0 .421(gcc-2.7.2, libg++-2.7.1 and binutils-2.6, b)2.671 F
-.42(ut other oper)-.2 F(-)-.2 E(ating systems should w)108 304.8 Q
-(ork without an)-.1 E 2.5(ym)-.15 G(ajor changes.)-2.5 E F2(Gua)108
-321.6 Q -.1(va)-.25 G(c).1 E F0 1.734(is not meant to be the de\214nite)
-4.234 F F4 1.734(GNU Ja)4.234 F -.225(va)-.18 G F0(compiler)4.209 E
-4.234(.T)-.55 G(here')-4.234 E -6.733 4.234(sa d)-.55 H(if)-4.234 E
-1.735(ferent project in the w)-.25 F 1.735(orks at)-.1 F
-(Cygnus, that aims at b)108 333.6 Q(uilding a)-.2 E F4(GNU CC)2.5 E F0
-(front-end for Ja)2.25 E -.25(va)-.2 G(.).25 E F1(OPTIONS)72 350.4 Q F2
-(Gua)108 362.4 Q -.1(va)-.25 G(c).1 E F0(recognizes the follo)2.5 E
-(wing options.)-.25 E F2(-classpath)108 379.2 Q F3(dir)2.85 E(ectory)
--.37 E F0 1.815(Set the)144 391.2 R F3(dir)4.315 E(ectory)-.37 E(.)-.55
-E F0 1.815(It maybe contains either the stub classes as distrib)6.815 F
-1.814(uted with)-.2 F F2(gua)4.314 E -.1(va)-.25 G 4.314(ci).1 G 4.314
-(nt)-4.314 G(he)-4.314 E F3(classes.zip)144 403.2 Q F0 .467(\214le. Or)
-2.967 F 2.967(,e)-.4 G -.15(ve)-3.217 G 2.967(nb).15 G(etter)-2.967 E
-2.967(,t)-.4 G .467(he directory where the classes of Sun')-2.967 F
-2.968(sJ)-.55 G -.2(av)-2.968 G 2.968(aD)-.05 G -2.15 -.25(ev e)-2.968 H
-.468(lopment Kit, or).25 F F4(JDK)144 415.2 Q F0(for short, reside.)2.25
-E F2(-d)108 432 Q F3(dir)2.85 E(ectory)-.37 E F0
-(Set the output directory which otherwise def)144 444 Q
-(aults to the current w)-.1 E(orking directory)-.1 E(.)-.65 E F2(-M)108
-460.8 Q F0
-(Prints out dependencies for compiled \214les instead of compiling.)
-23.23 E F2(-v)108 477.6 Q(ersion)-.1 E F0(Prints out the current v)144
-489.6 Q(ersion of gua)-.15 E -.25(va)-.2 G(c.).25 E(Refer to the)108
-506.4 Q F4 -.09(BU)2.5 G(GS).09 E F0(section belo)2.25 E 2.5(wo)-.25 G
-2.5(np)-2.5 G(hilosophical implications of an)-2.5 E 2.5(yc)-.15 G
-(ollection of)-2.5 E F4(OPTIONS.)2.5 E F1(ENVIR)72 523.2 Q(ONMENT)-.27 E
-F2(Gua)108 535.2 Q -.1(va)-.25 G(c).1 E F0 .929(recognizes the)3.429 F
-F4(CLASSP)3.429 E -.999(AT)-.828 G(H).999 E F0(en)3.179 E .928
-(vironment v)-.4 F .928
-(ariable, containing a colon separated list of directories)-.25 F 1.133
-(where to look for compiled Ja)108 547.2 R 1.633 -.25(va c)-.2 H 1.134
-(lasses; much lik).25 F 3.634(et)-.1 G 1.134(he standard)-3.634 F F4
--.828(PA)3.634 G(TH)-.171 E F0 -.25(va)3.384 G 1.134
-(riable used to \214nd e).25 F -.15(xe)-.15 G(cutables.).15 E
-(The setting of)108 559.2 Q F4(CLASSP)2.5 E -.999(AT)-.828 G(H).999 E F0
-(may be o)2.25 E -.15(ve)-.15 G(rriden with the).15 E F2(-classpath)2.5
-E F0(option.)2.5 E F1 -.09(BU)72 576 S(GS).09 E F0 1.642
-(At present, after 11 of)108 588 R 1.642(\214cial releases,)-.25 F F2
-(gua)4.142 E -.1(va)-.25 G(c).1 E F0 1.641(0.2.5 is relati)4.142 F -.15
-(ve)-.25 G 1.641(ly stable.).15 F(Ho)6.641 E(we)-.25 E -.15(ve)-.25 G
-2.441 -.4(r, i).15 H 1.641(ncompatibilities arise).4 F(between gua)108
-600 Q -.25(va)-.2 G 2.5(ca).25 G(nd Sun')-2.5 E 2.5(so)-.55 G -.25(ff)
--2.5 G(erings, most of which are \214x).25 E(ed shortly after disco)-.15
-E -.15(ve)-.15 G(ry).15 E(.)-.65 E F1(SEE ALSO)72 616.8 Q F2(ja)108
-628.8 Q -.1(va)-.25 G(c).1 E F0(\(1\),)A F2(jdb)2.5 E F0(\(1\),)A F2
-(kaffe)2.5 E F0(\(1\))A F1 -.855 -1.305(AV A)72 645.6 T(ILABILITY)1.305
-E F0(The)108 657.6 Q F2(gua)2.5 E -.1(va)-.25 G(c).1 E F0(project')2.5 E
-2.5(sh)-.55 G(omepage is accessible via the W)-2.5 E(orld-W)-.8 E(ide W)
--.4 E(eb at:)-.8 E F3(http://http.cs.berk)144 669.6 Q(ele)-.1 E -.55(y.)
--.3 G(edu/~engber).55 E(g/guavac/)-.37 E F1 -.45(AU)108 698.4 S(THOR).45
-E F0(Cop)144 710.4 Q .764(yright \251 1995, 1996 by Da)-.1 F .764
-(vid Engber)-.2 F 3.264(g\()-.18 G 3.264(geppetto@eecs.com\). Manual)
--3.264 F .765(page written and last)3.264 F
-(upated in August 1996 by J\366r)144 722.4 Q 2.5(gH)-.18 G
-(eitk\366tter \(jok)-2.5 E(e@German)-.1 E -.65(y.)-.15 G(EU.net\).).65 E
--1.11(Ve)72 768 S(rsion 0.2.5)1.11 E(August 1996)155.255 E(1)203.305 E
-EP
-%%Trailer
-end
-%%EOF
diff -rup --new-file baseline/contrib/guavac/manifests/src amiga/contrib/guavac/manifests/src
--- baseline/contrib/guavac/manifests/src Wed Dec 31 17:00:00 1969
+++ amiga/contrib/guavac/manifests/src Sat Sep 28 00:00:00 1996
@@ -0,0 +1,108 @@
+contrib/guavac/COPYING
+contrib/guavac/ChangeLog
+contrib/guavac/Makefile.in
+contrib/guavac/NEWS
+contrib/guavac/Product-Info
+contrib/guavac/README
+contrib/guavac/RELEASE
+contrib/guavac/THANKS
+contrib/guavac/TODO
+contrib/guavac/acconfig.h
+contrib/guavac/checks/Makefile.in
+contrib/guavac/checks/gcok
+contrib/guavac/classes.zip
+contrib/guavac/common/Bitset.C
+contrib/guavac/common/Bitset.h
+contrib/guavac/common/CommandLine.C
+contrib/guavac/common/CommandLine.h
+contrib/guavac/common/CommonInstantiations.C
+contrib/guavac/common/FilePath.C
+contrib/guavac/common/FilePath.h
+contrib/guavac/common/JavaAccessFlags.C
+contrib/guavac/common/JavaAccessFlags.h
+contrib/guavac/common/JavaAttribute.C
+contrib/guavac/common/JavaAttribute.h
+contrib/guavac/common/JavaClassFile.C
+contrib/guavac/common/JavaClassFile.h
+contrib/guavac/common/JavaCodeAttribute.C
+contrib/guavac/common/JavaCodeAttribute.h
+contrib/guavac/common/JavaConstant.C
+contrib/guavac/common/JavaConstant.h
+contrib/guavac/common/JavaExceptionsTable.C
+contrib/guavac/common/JavaExceptionsTable.h
+contrib/guavac/common/JavaFieldInfo.C
+contrib/guavac/common/JavaFieldInfo.h
+contrib/guavac/common/JavaFieldSignature.C
+contrib/guavac/common/JavaFieldSignature.h
+contrib/guavac/common/JavaMethodInfo.C
+contrib/guavac/common/JavaMethodInfo.h
+contrib/guavac/common/JavaMethodSignature.C
+contrib/guavac/common/JavaMethodSignature.h
+contrib/guavac/common/JavaTypeSignature.C
+contrib/guavac/common/JavaTypeSignature.h
+contrib/guavac/common/Makefile.in
+contrib/guavac/common/UnicodeInstantiations.C
+contrib/guavac/common/dynamic_cast.h
+contrib/guavac/common/string.h
+contrib/guavac/common/unicode_string.C
+contrib/guavac/common/unicode_string.h
+contrib/guavac/compiler/BinaryExpression.C
+contrib/guavac/compiler/BinaryExpression.h
+contrib/guavac/compiler/CodeSequence.C
+contrib/guavac/compiler/CodeSequence.h
+contrib/guavac/compiler/CompileContext.C
+contrib/guavac/compiler/CompileContext.h
+contrib/guavac/compiler/CompileError.C
+contrib/guavac/compiler/CompileError.h
+contrib/guavac/compiler/Compiler.C
+contrib/guavac/compiler/Compiler.h
+contrib/guavac/compiler/CompilerInstantiations.C
+contrib/guavac/compiler/CompilerInstantiations2.C
+contrib/guavac/compiler/CompilerInstantiations3.C
+contrib/guavac/compiler/CompilerMain.C
+contrib/guavac/compiler/DisassembleMain.C
+contrib/guavac/compiler/Expression.C
+contrib/guavac/compiler/Expression.h
+contrib/guavac/compiler/FilterMain.C
+contrib/guavac/compiler/IntermediateClass.C
+contrib/guavac/compiler/IntermediateClass.h
+contrib/guavac/compiler/IntermediateFunction.C
+contrib/guavac/compiler/IntermediateFunction.h
+contrib/guavac/compiler/JavaDirectory.C
+contrib/guavac/compiler/JavaDirectory.h
+contrib/guavac/compiler/Makefile.in
+contrib/guavac/compiler/NonlocalBranch.C
+contrib/guavac/compiler/NonlocalBranch.h
+contrib/guavac/compiler/Statement.C
+contrib/guavac/compiler/Statement.h
+contrib/guavac/compiler/VariableDeclaration.C
+contrib/guavac/compiler/VariableDeclaration.h
+contrib/guavac/compiler/lexer.l
+contrib/guavac/compiler/parser.y
+contrib/guavac/compiler/parser_decls.h
+contrib/guavac/compiler/zextract.c
+contrib/guavac/compiler/zextract.h
+contrib/guavac/compiler/zextract.license.terms
+contrib/guavac/config.h.in
+contrib/guavac/config.sub
+contrib/guavac/configure
+contrib/guavac/configure.in
+contrib/guavac/doc/Makefile.in
+contrib/guavac/doc/gpl.texinfo
+contrib/guavac/doc/guavac.info
+contrib/guavac/doc/guavac.texinfo
+contrib/guavac/doc/lgpl.texinfo
+contrib/guavac/doc/stamp-vti
+contrib/guavac/doc/tex3patch
+contrib/guavac/doc/texinfo.tex
+contrib/guavac/doc/version.texi
+contrib/guavac/install-sh
+contrib/guavac/man/Makefile.in
+contrib/guavac/man/guavac.1
+contrib/guavac/man/guavac.man
+contrib/guavac/man/stamp-vnr
+contrib/guavac/man/version.in
+contrib/guavac/man/version.n
+contrib/guavac/manifests/bin
+contrib/guavac/manifests/src
+contrib/guavac/mkinstalldirs