<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 230: Parsing Error on identifiers with non-ascii characters</title><link href="https://sourceforge.net/p/jedicodeformat/bugs/230/" rel="alternate"/><link href="https://sourceforge.net/p/jedicodeformat/bugs/230/feed.atom" rel="self"/><id>https://sourceforge.net/p/jedicodeformat/bugs/230/</id><updated>2018-09-07T09:26:31.210000Z</updated><subtitle>Recent changes to 230: Parsing Error on identifiers with non-ascii characters</subtitle><entry><title>#230 Parsing Error on identifiers with non-ascii characters</title><link href="https://sourceforge.net/p/jedicodeformat/bugs/230/?limit=25#923f" rel="alternate"/><published>2018-09-07T09:26:31.210000Z</published><updated>2018-09-07T09:26:31.210000Z</updated><author><name>Konstantin Tkachenko</name><uri>https://sourceforge.net/u/kostgr/</uri></author><id>https://sourceforge.net43dc6f1a267c3cc0c8888e42d7de5f5674b5c47f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For me (Delphi2010) the fix for this issue was extending of the checks "CharIsAlpha" and "WideCharIsWordChar" (see attached patch).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Parsing Error on identifiers with non-ascii characters</title><link href="https://sourceforge.net/p/jedicodeformat/bugs/230/" rel="alternate"/><published>2018-09-07T09:24:11.302000Z</published><updated>2018-09-07T09:24:11.302000Z</updated><author><name>Konstantin Tkachenko</name><uri>https://sourceforge.net/u/kostgr/</uri></author><id>https://sourceforge.net3b51ebc0e73322d34876496a38f6ee311b1af1db</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;At least in the Delphi2010 it is possible to use non-ascii Characters as identifiers. Sometimes it happens that one use non-ascii characters without noticing it. Delphi-Compiler doesn't have problems with it (starting from some delphi version), but the jcf2-parser does:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;procedure Einfügen; // german for 'Paste'
begin
end;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Or something like this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nt"&gt;procedure&lt;/span&gt; &lt;span class="nt"&gt;DoIt&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="err"&gt;А&lt;/span&gt;&lt;span class="nt"&gt;Param&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;string&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt; &lt;span class="o"&gt;//&lt;/span&gt; &lt;span class="nt"&gt;notice&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="nt"&gt;that&lt;/span&gt; &lt;span class="nt"&gt;the&lt;/span&gt; &lt;span class="nt"&gt;A-character&lt;/span&gt; &lt;span class="nt"&gt;in&lt;/span&gt; &lt;span class="err"&gt;А&lt;/span&gt;&lt;span class="nt"&gt;Param&lt;/span&gt; &lt;span class="nt"&gt;is&lt;/span&gt; &lt;span class="nt"&gt;a&lt;/span&gt; &lt;span class="nt"&gt;cyrillic&lt;/span&gt; &lt;span class="nt"&gt;one&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry></feed>