Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 代码高亮的一处错误---注释的Pas文件
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 代码高亮的一处错误---注释的Pas文件
superllh
新警察
UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
#1
Post at 2008-7-3 14:42
Profile
|
Blog
|
P.M.
代码高亮的一处错误---注释的Pas文件
附件為出問題的pas文件,我是在繁體xp系統下
Attachment
: [Pas文件]
Unit1.pas
(2008-7-3 14:42, 852 bytes)
Download count 430
superllh
新警察
UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
#2
Post at 2008-7-3 14:53
Profile
|
Blog
|
P.M.
出错的图片
http://docs.google.com/View?docid=dfpp6bk3_38ctg665c2
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#3
Post at 2008-7-3 17:40
Profile
|
Blog
|
P.M.
问题能复现了。我们正想办法。
shenloqi
灌水处处长
UID 34
Digest Posts
1
Credits 287
Posts 179
点点分 287
Reading Access 10
Registered 2003-3-15
Status Offline
#4
Post at 2008-7-4 10:59
Profile
|
P.M.
估计问题出在词法解析器对DBCS/MBCS的支持上,大概 开 这个字的繁体的最后一个字节正好是}
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#5
Post at 2008-7-4 20:55
Profile
|
Blog
|
P.M.
根据shenloqi的提示,在词法分析器碰到注释时,增加了一个判断,遇到一个大于$80的值的时候就多跳过一个字节以完整处理双字节的机制。
407版可下载验证一下。
superllh
新警察
UID 3098
Digest Posts 0
Credits 43
Posts 19
点点分 43
Reading Access 10
Registered 2006-11-1
Status Offline
#6
Post at 2008-7-10 09:41
Profile
|
Blog
|
P.M.
謝謝,已經可以了!
kendling
(小冬)
高级版主
MyvNet
UID 703
Digest Posts
5
Credits 978
Posts 580
点点分 978
Reading Access 101
Registered 2005-2-18
Location 广东
Status Offline
#7
Post at 2008-7-17 10:14
Profile
|
Site
|
Blog
|
P.M.
|
|
QUOTE:
原帖由
shenloqi
于 2008-7-4 10:59 发表
估计问题出在词法解析器对DBCS/MBCS的支持上,大概 开 这个字的繁体的最后一个字节正好是}
是的,我之前使用MySQL Query Browser也出现了这个问题。还导致SQL语句无法执行呢。
小冬
http://MyvNet.com
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-23 12:26
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.007565 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats