update AddSyntaxPattern interface
Merge pull request #354 from wakamori/fix_syntax

update AddSyntaxPattern interface