diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2012-12-12 11:37:02 +0100 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2012-12-12 11:44:39 +0100 |
commit | 1127a75a72dd15611a11c372222a629e89cfb832 (patch) | |
tree | 47c027bff0d32094f3a09b8ea500ec85295be14e /src/ielr.c | |
parent | fc28638e1c4ef0c41ad52b832b547305ea8c1784 (diff) | |
download | bison-1127a75a72dd15611a11c372222a629e89cfb832.tar.gz |
fix C90 compliance
* data/glr.c, src/graphviz.h, src/ielr.c, src/scan-gram.l,
* src/system.h, tests/actions.at, tests/glr-regression.at: Do not
use // comments.
Do not introduce variables after statements.
Provide "main" with a return value.
Diffstat (limited to 'src/ielr.c')
-rw-r--r-- | src/ielr.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -758,8 +758,8 @@ ielr_compute_state (bitsetv follow_kernel_items, bitsetv always_follows, if (!bitset_empty_p (lookaheads[i])) break; } - // bitset_equal_p uses the size of the first argument, so - // lookaheads[i] must be the second argument. + /* bitset_equal_p uses the size of the first argument, + so lookaheads[i] must be the second argument. */ else if (!bitset_equal_p ((*this_isocorep)->lookaheads[i], lookaheads[i])) break; @@ -1187,8 +1187,8 @@ ielr (void) free (to_state); if (lr_type == LR_TYPE__CANONICAL_LR) { - // Reduction lookaheads are computed in ielr_split_states above but are - // timed as part of phase 4. + /* Reduction lookaheads are computed in ielr_split_states above + but are timed as part of phase 4. */ set_goto_map (); } else |