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

Verificar gramática para detecção de arrays #24

Closed
SouzaJBR opened this issue Nov 30, 2019 · 0 comments
Closed

Verificar gramática para detecção de arrays #24

SouzaJBR opened this issue Nov 30, 2019 · 0 comments
Assignees
Labels
bug Something isn't working parser Syntax and grammar related issues

Comments

@SouzaJBR
Copy link
Collaborator

Alguns testes detectam problemas sintáticos incorretamente.

O código a seguir funciona corretamente:

typedef struct {

    int za;
    int zc;
} myStruct;

myStruct k, *o[899];

Se o k for retirado da declaração, é apontado um erro sintático:

typedef struct {

    int za;
    int zc;
} myStruct;

myStruct  *o[899];

[SYNTAX ERROR] Error(Sync), Token error: LBRACKET

@SouzaJBR SouzaJBR added bug Something isn't working parser Syntax and grammar related issues labels Nov 30, 2019
@joraojr joraojr self-assigned this Dec 2, 2019
@joraojr joraojr closed this as completed Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working parser Syntax and grammar related issues
Projects
None yet
Development

No branches or pull requests

2 participants