mirror of https://github.com/AMT-Cheif/drift.git
Use `_consumeIdentifier` instead of `_consume`
This commit is contained in:
parent
5e26cae5e9
commit
e08bb30585
|
@ -1690,9 +1690,7 @@ class Parser {
|
|||
}
|
||||
|
||||
SingleColumnSetComponent _singleColumnSetComponent() {
|
||||
final columnName =
|
||||
_consume(TokenType.identifier, 'Expected a column name to set')
|
||||
as IdentifierToken;
|
||||
final columnName = _consumeIdentifier('Expected a column name to set');
|
||||
final reference = Reference(columnName: columnName.identifier)
|
||||
..setSpan(columnName, columnName);
|
||||
_consume(TokenType.equal, 'Expected = after the column name');
|
||||
|
|
Loading…
Reference in New Issue