From 3be9d6602c1daaf9271af6cc4382a520462f38fe Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 26 Sep 2017 17:38:16 +0000 Subject: [PATCH] Improve doc on Lexer::push() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343149 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/parle/parle/lexer/push.xml | 4 ++-- reference/parle/parle/rlexer/push.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/parle/parle/lexer/push.xml b/reference/parle/parle/lexer/push.xml index 01172e3e70..ba4c8a40a3 100644 --- a/reference/parle/parle/lexer/push.xml +++ b/reference/parle/parle/lexer/push.xml @@ -16,7 +16,7 @@ - + Push a pattern for lexeme recognition. @@ -35,7 +35,7 @@ id - Auto assigned token id. + Token id. If the lexer instance is meant to be used standalone, this can be an arbitrary number. If the lexer instance is going to be passed to the parser, it has to be an id returned by Parle\Parser::tokenid. diff --git a/reference/parle/parle/rlexer/push.xml b/reference/parle/parle/rlexer/push.xml index 171d41cf2c..2e56ada8d1 100644 --- a/reference/parle/parle/rlexer/push.xml +++ b/reference/parle/parle/rlexer/push.xml @@ -30,7 +30,7 @@ stringnewState - + Push a pattern for lexeme recognition. @@ -49,7 +49,7 @@ id - Auto assigned token id. + Token id. If the lexer instance is meant to be used standalone, this can be an arbitrary number. If the lexer instance is going to be passed to the parser, it has to be an id returned by Parle\Parser::tokenid.