Skip to content

Commit 7ac1e57

Browse files
committed
parser output
1 parent 7a7eea0 commit 7ac1e57

File tree

1 file changed

+2
-2
lines changed
  • electrum/src/main/java/edu/mit/csail/sdg/alloy4compiler/parser

1 file changed

+2
-2
lines changed

electrum/src/main/java/edu/mit/csail/sdg/alloy4compiler/parser/CompParser.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2638,13 +2638,13 @@ public java_cup.runtime.Symbol do_action(
26382638
for (_done_parsing = false; !_done_parsing; ) {
26392639
act = get_action(((Symbol)stack.peek()).parse_state, cur_token.sym);
26402640
if (act > 0) { // "shift"; thus, we shift to the encoded state by pushing it on the stack
2641-
if (logging) System.out.println("shift " + cur_token.sym);
2641+
// if (logging) System.out.println("shift " + cur_token.sym);
26422642
cur_token.parse_state = act-1;
26432643
stack.push(cur_token);
26442644
tos++;
26452645
cur_token = scan();
26462646
} else if (act<0) { // "reduce"
2647-
if (logging) System.out.println("reduce " + ((-act)-1));
2647+
// if (logging) System.out.println("reduce " + ((-act)-1));
26482648
lhs_sym = do_action((-act)-1, this, stack, tos);
26492649
lhs_sym_num = production_tab[(-act)-1][0];
26502650
handle_size = production_tab[(-act)-1][1];

0 commit comments

Comments
 (0)