Commit 3c160f14 authored by Vikram Narayanan's avatar Vikram Narayanan
Browse files

tools/idl: Fix defintion of an identifier



Identifier in C cannot have a '-' symbol. Since our idl file is
sort of compliant to C standard, let's stick to C standards

Signed-off-by: Vikram Narayanan's avatarVikram Narayanan <vikram186@gmail.com>
parent b510dff0
......@@ -199,7 +199,7 @@ Identifier = i1:IdentStart i2:IdentCont* {{
strncpy((char*)value.value, str.c_str(), str.length()+1);
}}
IdentStart = [abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-]
IdentStart = [abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_]
IdentCont = IdentStart | [0123456789]
......@@ -1349,4 +1349,4 @@ OPENA = "<"
CLOSEA = ">"
OPENS = "["
CLOSES = "]"
COMMA = ","
\ No newline at end of file
COMMA = ","
Supports Markdown
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