Bug 433738 - wrong error on string ';' in template local variables block
Summary: wrong error on string ';' in template local variables block
Status: NEW
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.5.0   Edit
Hardware: PC Windows XP
: P4 major
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-29 04:51 EDT by Vlad Gheorghe CLA
Modified: 2016-04-13 08:26 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Gheorghe CLA 2014-04-29 04:51:46 EDT
[template public name(arg : OclAny) {
		sc : String = ';' ;
}]
[/template]

Results in errors:
* The variable ''' isn't valid	
* 1:4 "'" unexpected character ignored
Comment 1 Stephane Begaudeau CLA 2014-05-13 03:55:06 EDT
See org.eclipse.acceleo.internal.parser.cst.CSTParser.shiftInitSectionBodyCreatesVariables(int, int, InitSection)
Comment 2 Laurent Goubet CLA 2016-04-13 08:26:16 EDT
This requires breaking changes in the parser. consider for next version