Richard Stallman
6126f4db33
(initdcl, notype_initdcl, init): Undo previous change.
...
(init): Use pop_momentary_nofree if the initializer has real data.
From-SVN: r5702
1993-10-10 05:20:15 +00:00
Richard Stallman
ea8daa3ba3
(initdcl, notype_initdcl): Call push_momentary and pop_momentary here.
...
(init): Not here.
From-SVN: r5679
1993-10-08 12:20:44 +00:00
Richard Stallman
d8e29a65dd
(attrib): Support attribute `volatile' with alias `noreturn', and `const'.
...
(stmt): In an expr stmt, call default_conversion for arrays/functions.
From-SVN: r5083
1993-08-06 01:09:27 +00:00
Jim Wilson
7f3d4b2f75
(simple_if, if_prefix, stmt): Undo Jul 7 change.
...
(if_prefix): Store stmt_count in $$ not $1.
(stmt): Add comment explaining why empty-if warning is here.
From-SVN: r5029
1993-07-28 11:06:21 -07:00
Richard Stallman
42e651a63c
(cast_expr): Use new initializer parsing functions.
...
(initdcl, notype_initdcl): Likewise.
(init): Likewise.
(initlist_maybe_comma, initlist1): These replace initlist.
(initelt): New nonterminal.
Change specified index syntax to `[INDEX]='.
Change specified field syntax to `.NAME='.
From-SVN: r4977
1993-07-23 19:19:04 +00:00
Jim Wilson
f5a1436b01
(simple_if): Save stmt_count, and print empty body warning here.
...
(simple_if): Save stmt_count, and print empty body
warning here.
(if_prefix): Don't save stmt_count here.
(stmt): Don't print empty body warning here.
From-SVN: r4880
1993-07-07 15:59:22 -07:00
Richard Stallman
982a975ec6
(primary): In statement expression case,
...
if compstmt returns something other than a BLOCK,
return it unchanged.
From-SVN: r4838
1993-07-04 06:56:42 +00:00
Paul Eggert
2ac3624bab
(label): Use `convert_and_check' when checking for
...
overflow in case labels.
From-SVN: r4824
1993-07-02 01:20:01 +00:00
Richard Stallman
4d06f1a218
(all_iter_stmt_simple): Add missing `else'.
...
From-SVN: r4736
1993-06-26 00:14:16 +00:00
Richard Stallman
074daeb15d
For Objc, expect just 20 conflicts.
...
From-SVN: r4365
1993-05-06 17:41:52 +00:00
Jim Wilson
66b2ba11a6
Delete cond.awk reference.
...
From-SVN: r4310
1993-05-03 16:25:49 -07:00
Richard Stallman
475e85347d
(unary_expr): Delete the alternate REALPART and IMAGPART rules with explicit parens.
...
(unary_expr): Delete the alternate REALPART and IMAGPART
rules with explicit parens. Make the simple REALPART and IMAGPART
rules contain cast_expr.
From-SVN: r4179
1993-04-18 03:37:03 +00:00
Richard Stallman
c47783c0fc
Improve error message for sym undeclared at top level.
...
From-SVN: r4154
1993-04-14 17:47:31 +00:00
Tom Wood
e31c7eec77
*** empty log message ***
...
From-SVN: r4068
1993-04-09 23:12:37 +00:00
Richard Stallman
6544cdba17
(expr_no_commas, from ASSIGN op):
...
Store ERROR_MARK as the original code.
From-SVN: r4019
1993-04-05 06:36:22 +00:00
Richard Stallman
12d073e7c8
(REALPART, IMAGPART): New token types.
...
(unary_expr): Handle REALPART, IMAGPART.
From-SVN: r3780
1993-03-18 21:32:24 +00:00
Michael Meissner
b29e212cdd
Add missing comma.
...
From-SVN: r3626
1993-03-04 15:32:55 +00:00
Richard Stallman
b490c40dbc
(stmt): Allow all_iter_stmt.
...
(expr -> statement expression): Push and pop iterator stack.
(stmt -> expr): Use iterator_expand.
(all_iter_stmt): New rule.
From-SVN: r3580
1993-03-02 02:10:22 +00:00
Richard Stallman
ea3cfc819a
(ivar_decls): Give a pedwarn (instead of a warning) for excess semicolons.
...
From-SVN: r3545
1993-02-26 23:55:35 +00:00
Richard Stallman
ca67f8689b
(program): After extdefs, pop any unpopped binding lvls.
...
From-SVN: r3486
1993-02-18 23:44:20 +00:00
Richard Stallman
5303129fc9
(unary_expr): Warn about overflows in parser-built unary expressions.
...
From-SVN: r3403
1993-02-02 04:39:14 +00:00
Jim Wilson
867b0d7a02
(language_string): Define here for C and Obj-C.
...
From-SVN: r3329
1993-01-25 11:49:15 -08:00
Richard Stallman
e19a77e63b
(unary_expr => ANDAND identifier): Handle lookup_label returning 0.
...
From-SVN: r3325
1993-01-25 06:37:20 +00:00
Richard Stallman
df24d0da45
Use new name objc-act.h.
...
From-SVN: r3316
1993-01-24 00:41:50 +00:00
Richard Stallman
e8f1efb243
(component_declarator): Allow attribute after nameless field.
...
From-SVN: r3100
1993-01-05 09:10:17 +00:00
Jim Wilson
b00e5f0d0f
(label): Use expr_no_commas instead of expr for case labels.
...
From-SVN: r3059
1993-01-02 12:15:58 -08:00
Richard Stallman
d54d8150fe
(stmt, FOR case): Do call position_after_white_space
...
after recording the current lineno for the increment.
From-SVN: r3051
1993-01-02 04:27:50 +00:00
Richard Stallman
ee759b212b
(component_decl_list): Do pedwarn for missing semicolon after last field decl.
...
From-SVN: r2353
1992-10-07 19:42:30 +00:00
Richard Stallman
a50cc0dd8e
Expect 56 conflicts for objc.
...
From-SVN: r2299
1992-10-01 17:38:39 +00:00
Richard Stallman
e4e13a012e
Add mode spec for Emacs.
...
From-SVN: r2295
1992-10-01 09:05:18 +00:00
Richard Stallman
028299c6bf
Initial revision
...
From-SVN: r2293
1992-10-01 09:01:10 +00:00