Extraneous semicolon in Umple syntax should be ignored #241
Labels
Component-SyntaxAndParsing
Related to the Umple grammar and the parser that builds the abstract syntax tree and analyses models
Diffic-VEasy
Should be obvious how to fix it, likely in just a few lines, and should take less than a day
Priority-Medium
This problem or request is likely to be of significant benefit if dealt with
Type-Defect
Usability
Originally reported on Google Code with ID 342
Owned by @umple
What steps will reproduce the problem?
The following syntax will ignore the dog attribute:
class X {
cat;;
dog;
}
The following wil ignore the b attribute (yet is incredibly easy to do)
class Y {
Integer a;
key{a};
Integer b;
}
The following will also ignore the dog attribute, but is also easy to do
class Z {
sm {
s1 {}
};
dog;
}
In all the above cases, a top level 'lone semicolon' should just be ignored.
Reported by @umple on 2012-10-25 14:02:25
The text was updated successfully, but these errors were encountered: