From: Mark Slee Date: Wed, 8 Nov 2006 23:44:59 +0000 (+0000) Subject: Do not print ; in thrift parser X-Git-Tag: 0.2.0~1605 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=ae2bc3c8d6754f7e0fc6d81aae1a35af4c45af08;p=common%2Fthrift.git Do not print ; in thrift parser Reviewed By: bizsys d00dz git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664867 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/compiler/cpp/src/thrift.l b/compiler/cpp/src/thrift.l index 839060e9..e93bd26e 100644 --- a/compiler/cpp/src/thrift.l +++ b/compiler/cpp/src/thrift.l @@ -33,7 +33,7 @@ whitespace ([ \t\r\n]*) multicomm ("/*""/"*([^*/]|[^*]"/"|"*"[^/])*"*"*"*/") comment ("//"[^\n]*) unixcomment ("#"[^\n]*) -symbol ([:\,\{\}\(\)\=<>\[\]]) +symbol ([:;\,\{\}\(\)\=<>\[\]]) literal ("\""[^"]*"\"") %%