projects
/
bison.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/maint'
[bison.git]
/
src
/
ielr.c
diff --git
a/src/ielr.c
b/src/ielr.c
index 39e9cb6695c858eeb2ec8cbe6f3a585c8792cf3b..55005231705e38fa5370be6dc21dcbaa3ad9fdb0 100644
(file)
--- a/
src/ielr.c
+++ b/
src/ielr.c
@@
-1,6
+1,6
@@
/* IELR main implementation.
/* IELR main implementation.
- Copyright (C) 2009-201
2
Free Software Foundation, Inc.
+ Copyright (C) 2009-201
3
Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
This file is part of Bison, the GNU Compiler Compiler.
@@
-758,8
+758,8
@@
ielr_compute_state (bitsetv follow_kernel_items, bitsetv always_follows,
if (!bitset_empty_p (lookaheads[i]))
break;
}
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;
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)
{
free (to_state);
if (lr_type == LR_TYPE__CANONICAL_LR)
{
- /
/ Reduction lookaheads are computed in ielr_split_states above but ar
e
- // timed as part of phase 4.
+ /
* Reduction lookaheads are computed in ielr_split_states abov
e
+ but are timed as part of phase 4. */
set_goto_map ();
}
else
set_goto_map ();
}
else