[refactoring] remove scanner.Lexer.PhpDocComment

This commit is contained in:
Vadym Slizov
2020-05-18 00:23:02 +03:00
parent 5620697cab
commit 8a50bd254a
5 changed files with 701 additions and 734 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,6 @@ import (
node ast.Vertex
token *scanner.Token
list []ast.Vertex
str string
ClassExtends *ast.StmtClassExtends
ClassImplements *ast.StmtClassImplements
@@ -285,8 +284,6 @@ import (
%type <list> method_modifiers variable_modifiers
%type <list> non_empty_member_modifiers name_list class_modifiers
%type <str> backup_doc_comment
%%
/////////////////////////////////////////////////////////////////////////
@@ -4234,12 +4231,6 @@ inline_function:
backup_doc_comment:
/* empty */
{
$$ = yylex.(*Parser).Lexer.GetPhpDocComment()
yylex.(*Parser).Lexer.SetPhpDocComment("")
yylex.(*Parser).returnTokenToPool(yyDollar, &yyVAL)
}
;
returns_ref: