ruby_parser 3.20.1 → 3.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/ruby25_parser.y CHANGED
@@ -1147,7 +1147,6 @@ rule
1147
1147
  | k_begin
1148
1148
  {
1149
1149
  lexer.cmdarg.push false
1150
- result = self.lexer.lineno
1151
1150
  }
1152
1151
  bodystmt k_end
1153
1152
  {
@@ -1304,9 +1303,6 @@ rule
1304
1303
  result = new_for iter, var, body
1305
1304
  }
1306
1305
  | k_class
1307
- {
1308
- result = self.lexer.lineno
1309
- }
1310
1306
  cpath superclass
1311
1307
  {
1312
1308
  if (self.in_def || self.in_single > 0) then
@@ -1321,9 +1317,6 @@ rule
1321
1317
  self.lexer.ignore_body_comments
1322
1318
  }
1323
1319
  | k_class tLSHFT
1324
- {
1325
- result = self.lexer.lineno
1326
- }
1327
1320
  expr
1328
1321
  {
1329
1322
  result = self.in_def
@@ -1342,9 +1335,6 @@ rule
1342
1335
  self.lexer.ignore_body_comments
1343
1336
  }
1344
1337
  | k_module
1345
- {
1346
- result = self.lexer.lineno
1347
- }
1348
1338
  cpath
1349
1339
  {
1350
1340
  yyerror "module definition in method body" if