﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3026	Au3Check unexpectedly trims Const definitions to 63 characters and reports false errors	Tomasz.Szreder@…	Jos	"In our test automation system we have a number of AutoIt3 script files containing only lots of constant definitions and included elsewhere. They are automatically compiled from application resource files and often contain very long constant names (to avoid collisions and give a hint of their contents).

Below is a trimmed-down example of such a file:
{{{
Global Const $LongLongName3456789_123456789_123456789_123456789_123456789_123  = 123
Global Const $LongLongName3456789_123456789_123456789_123456789_123456789_1234 = 1234
}}}

Now, when I run {{{Au3Check.exe -d -w 7 ""LongConstNames.au3""}}}, I get an error stating a redeclaration.
{{{
AutoIt3 Syntax Checker v3.3.13.20  Copyright (c) 2007-2013 Tylo & AutoIt Team

""(...)LongConstNames.au3""(2,86) : error: $LongLongName3456789_123456789_123456789_123456789_123456789_123 previously declared as a 'Const'.
Global Const $LongLongName3456789_123456789_123456789_123456789_123456789_1234 = 1234
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
(...)LongConstNames.au3 - 1 error(s), 0 warning(s)

}}}

There are no errors when I remove the Const keyword. The latest Beta 3.3.13.20 also exhibits this problem. 

Please raise the internal Const name length limit to something larger, like 255 or so. Should be fairly simple to fix, and also unit-testable. Thanks!

Regards
Tomasz Szreder
Tomasz.Szreder@dynatrace.com
"	Bug	closed	3.3.13.21	Au3Check	3.3.12.0	None	Fixed	Const Au3Check	
