Allow dots in scraplang identifiers.
This commit is contained in:
parent
3572803f66
commit
26b912d66c
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ namespace duck { namespace sl {
|
|||
xpath_assignment %= identifier >>
|
||||
-(lit("default") >> '(' >> quoted_string >> ')') >> "=" >>
|
||||
as_string[lexeme[+(graph | char_(" \t"))]];
|
||||
identifier %= lexeme[(alpha | char_('_')) >> *(alnum | char_('_'))];
|
||||
identifier %= lexeme[(alpha | char_('_')) >> *(-char_('.') >> +(alnum | char_('_')))];
|
||||
|
||||
apply_block = lit("apply") >> mustache_like_token >> "to" >> source_info >> +eol >>
|
||||
assignment_list >> +eol >> "end";
|
||||
|
|
Loading…
Reference in a new issue