Commit 03624648 authored by Bruno Guillaume's avatar Bruno Guillaume

replace keyword “match” ==> “pattern”

parent 151b8cb5
......@@ -157,7 +157,10 @@ and standard target = parse
| "feature" { FEATURE }
| "file" { FILE }
| "labels" { Global.label_flag := true; LABELS }
| "match" { MATCH }
| "match" { Log.fwarning "[file %s, line %d]\"match\" is deprecated, please use \"pattern\" instead" !Global.current_file !Global.current_line; PATTERN }
| "pattern" { PATTERN }
| "without" { WITHOUT }
| "commands" { COMMANDS }
......
......@@ -77,7 +77,7 @@ let localize t = (t,get_loc ())
%token FEATURE /* feature */
%token FILE /* file */
%token LABELS /* labels */
%token MATCH /* match */
%token PATTERN /* match */
%token WITHOUT /* without */
%token COMMANDS /* commands */
%token MODULE /* module */
......@@ -377,7 +377,7 @@ var:
| i=AROBAS_ID { i }
pos_item:
| MATCH i=pn_item { i }
| PATTERN i=pn_item { i }
neg_item:
| WITHOUT i=pn_item { i }
......@@ -393,7 +393,7 @@ pn_item:
}
/*=============================================================================================*/
/* MATCH DEFINITION */
/* PATTERN DEFINITION */
/*=============================================================================================*/
pat_item:
/* R [cat=V, lemma=$lemma] */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment