Open XinyaoYI opened 1 year ago
There may be an approach of splitting the type/var string in the lexer.
Then we can return the type and var as two individual tokens to the parser.
It would be a better solution than this one because we can keep the ompparser grammar the same as OpenMP spec.
There may be an approach of splitting the type/var string in the lexer.
Then we can return the type and var as two individual tokens to the parser.
It would be a better solution than this one because we can keep the ompparser grammar the same as OpenMP spec.