Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraneous semicolon in Umple syntax should be ignored #241

Closed
Nava2 opened this issue Aug 26, 2015 · 1 comment
Closed

Extraneous semicolon in Umple syntax should be ignored #241

Nava2 opened this issue Aug 26, 2015 · 1 comment
Assignees
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

Comments

@Nava2
Copy link
Contributor

Nava2 commented Aug 26, 2015

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

@Nava2
Copy link
Contributor Author

Nava2 commented Aug 26, 2015

Fixed as of revision 2146


Reported by @umple on 2012-10-25 14:52:48

  • Status changed: Fixed

@Nava2 Nava2 added Type-Defect Priority-Medium This problem or request is likely to be of significant benefit if dealt with Usability Status-Fixed 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 labels Aug 26, 2015
@Nava2 Nava2 closed this as completed Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants