summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-05-31 18:13:00 +0200
committerSergei Golubchik <serg@mariadb.org>2017-07-05 17:15:57 +0200
commit5c30fcfa2fd52df16a7f3202fda9a377a4744c18 (patch)
tree895c60fe2ffca05d77d0afb12c2bcf98734095b8 /sql/sql_yacc.yy
parent05873ffbf76f57f421d800fe571468351724ef79 (diff)
downloadmariadb-git-5c30fcfa2fd52df16a7f3202fda9a377a4744c18.tar.gz
cleanup: C++ comments
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy15
1 files changed, 8 insertions, 7 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 2a9046f0ecc..a09ef5f0281 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -14998,8 +14998,9 @@ set_stmt_option_value_following_option_type_list:
*/
option_value_following_option_type
| set_stmt_option_value_following_option_type_list ',' option_value_following_option_type
+ ;
-// Start of option value list
+/* Start of option value list */
start_option_value_list:
option_value_no_option_type
{
@@ -15024,7 +15025,7 @@ start_option_value_list:
;
-// Start of option value list, option_type was given
+/* Start of option value list, option_type was given */
start_option_value_list_following_option_type:
option_value_following_option_type
{
@@ -15039,13 +15040,13 @@ start_option_value_list_following_option_type:
}
;
-// Remainder of the option value list after first option value.
+/* Remainder of the option value list after first option value. */
option_value_list_continued:
/* empty */
| ',' option_value_list
;
-// Repeating list of option values after first option value.
+/* Repeating list of option values after first option value. */
option_value_list:
{
sp_create_assignment_lex(thd, yychar == YYEMPTY);
@@ -15066,7 +15067,7 @@ option_value_list:
}
;
-// Wrapper around option values following the first option value in the stmt.
+/* Wrapper around option values following the first option value in the stmt. */
option_value:
option_type
{
@@ -15096,7 +15097,7 @@ opt_var_ident_type:
| SESSION_SYM '.' { $$=OPT_SESSION; }
;
-// Option values with preceding option_type.
+/* Option values with preceding option_type. */
option_value_following_option_type:
internal_variable_name equal set_expr_or_default
{
@@ -15120,7 +15121,7 @@ option_value_following_option_type:
}
;
-// Option values without preceding option_type.
+/* Option values without preceding option_type. */
option_value_no_option_type:
internal_variable_name equal set_expr_or_default
{