diff options
Diffstat (limited to 'data/lalr1.java')
-rw-r--r-- | data/lalr1.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/lalr1.java b/data/lalr1.java index a6829d3f..309fc956 100644 --- a/data/lalr1.java +++ b/data/lalr1.java @@ -120,7 +120,7 @@ b4_locations_if([[ private ]b4_location_type[ yylloc (YYStack rhs, int n) { if (n > 0) - return new ]b4_location_type[ (rhs.locationAt (1).begin, rhs.locationAt (n).end); + return new ]b4_location_type[ (rhs.locationAt (n-1).begin, rhs.locationAt (0).end); else return new ]b4_location_type[ (rhs.locationAt (0).end); }]])[ |