edger8r: Fix small typo

Signed-off-by: Andras Slemmer <andras.slemmer@r3cev.com>
This commit is contained in:
Andras Slemmer 2017-02-06 14:54:18 +00:00
parent 7844d40e00
commit 83300e52a0

View File

@ -390,7 +390,7 @@ param_type: attr_block all_type {
(* thinking about 'user_defined_type var[4]' *) (* thinking about 'user_defined_type var[4]' *)
fun is_ary -> fun is_ary ->
if is_ary then Ast.PTPtr($2, attr) if is_ary then Ast.PTPtr($2, attr)
else failwithf "`%s' is considerred plain type but decorated with pointer attributes" s else failwithf "`%s' is considered a plain type but decorated with pointer attributes" s
| _ -> | _ ->
fun is_ary -> fun is_ary ->
if is_ary then Ast.PTPtr($2, get_ptr_attr $1) if is_ary then Ast.PTPtr($2, get_ptr_attr $1)