Home Download Buy Blog Forum Support

Perl syntax fix*

Perl syntax fix*

Postby SDemonUA on Tue Aug 28, 2012 2:25 pm

Hello, I found that if there are something like $my_var << ($multiplier*$i) inside perl code it cause all text after this to be a string.
For myself I replace 1981 line with <string>((&lt;&lt;) *((?![=\d\$( ])[^;,'"`\s)]*)).*\n?</string> in Perl.tmLanguage. Simply add ( in regex.
Question: can I add this changes somewere else - not in default perl syntax to be safe after future updates ?
Posts: 5
Joined: Tue Aug 28, 2012 2:17 pm
Location: Cherkassy, Ukraine

Re: Perl syntax fix*

Postby FichteFoll on Tue Aug 28, 2012 3:33 pm

Answer: Copy the syntax definition file into your User package, it *should* override the default one. If not, rename the file (also in the "name" property) and if that also does not work, change the uuid. Or you can just delete the "default" definition.
Posts: 960
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 32 guests