summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/gnu/java
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-26 20:55:10 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-26 20:55:10 +0000
commit80da8e25e1b3d41423d0f5cd0548086714bf34b5 (patch)
tree70749f6a010e63bca65e3197ff3b0ff5b77be848 /libjava/classpath/gnu/java
parent696e777373d6261773f9df6d6f9a89de5b832d26 (diff)
downloadppe42-gcc-80da8e25e1b3d41423d0f5cd0548086714bf34b5.tar.gz
ppe42-gcc-80da8e25e1b3d41423d0f5cd0548086714bf34b5.zip
* gengtype.h (struct type): Replace 'sc' with boolean, scalar_is_char.
(string_type): Don't declare. (do_scalar_typedef): Declare. (create_scalar_type): Update prototype. * gengtype.c (string_type): Make static. (scalar_nonchar, scalar_char): New. (do_scalar_typedef): Export. Always use scalar_nonchar for the type. (resolve_typedef): Use scalar_nonchar for error recovery. (create_scalar_type): Remove name_len field. Return scalar_char or scalar_nonchar as appropriate. (adjust_field_type): Look at scalar_is_char boolean to decide whether to use string_type. (throughout): Use scalar_nonchar instead of calling create_scalar_type, whenever possible. (main): Initialize scalar_char and scalar_nonchar before calling gen_rtx_next. * gengtype-lex.l: Adjust for removal of second argument to create_scalar_type. Use yylval.s instead of yylval.t when returning SCALAR. * gengtype-yacc.y: Type of SCALAR is string. Call create_scalar_type from type:SCALAR rule. Adjust for removal of second argument to create_scalar_type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123231 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/gnu/java')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud