1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Get rid of deprecated options for yacc

This commit is contained in:
Ruben S. Montero 2017-10-17 16:30:22 +02:00
parent 91260ef0c1
commit db12ffddd6
7 changed files with 1085 additions and 631 deletions

View File

@ -78,9 +78,9 @@ extern "C"
%defines
%locations
%pure_parser
%name-prefix = "template__"
%output = "template_syntax.cc"
%pure-parser
%name-prefix "template__"
%output "template_syntax.cc"
%token EQUAL COMMA OBRACKET CBRACKET EQUAL_EMPTY CCDATA
%token <val_str> STRING

View File

@ -215,9 +215,9 @@ int get_image_path(VirtualMachine * vm,
%defines
%locations
%pure_parser
%name-prefix = "vm_file_var__"
%output = "vm_file_var_syntax.cc"
%pure-parser
%name-prefix "vm_file_var__"
%output "vm_file_var_syntax.cc"
%token EQUAL COMMA OBRACKET CBRACKET

File diff suppressed because it is too large Load Diff

View File

@ -413,9 +413,9 @@ void insert_vector(VirtualMachine * vm,
%defines
%locations
%pure_parser
%name-prefix = "vm_var__"
%output = "vm_var_syntax.cc"
%pure-parser
%name-prefix "vm_var__"
%output "vm_var_syntax.cc"
%token EQUAL COMMA OBRACKET CBRACKET

View File

@ -83,9 +83,9 @@ extern "C"
%defines
%locations
%pure_parser
%name-prefix = "expr_arith__"
%output = "expr_arith.cc"
%pure-parser
%name-prefix "expr_arith__"
%output "expr_arith.cc"
%left '+' '-'
%left '*' '/'

View File

@ -82,9 +82,9 @@ extern "C"
%defines
%locations
%pure_parser
%name-prefix = "expr_bool__"
%output = "expr_bool.cc"
%pure-parser
%name-prefix "expr_bool__"
%output "expr_bool.cc"
%left '!' '&' '|'
%token <val_int> INTEGER

File diff suppressed because it is too large Load Diff