Skip to content

Syntax 0.8, part 6: Parameterized term attributes #313

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

Merged
merged 4 commits into from
Nov 30, 2018

Conversation

stasm
Copy link
Contributor

@stasm stasm commented Nov 27, 2018

Fix part 6 of #303. Depends on #312.

@stasm stasm mentioned this pull request Nov 27, 2018
15 tasks
@stasm stasm force-pushed the zeroeight-part6-macro-attrs branch 2 times, most recently from ab361ba to 7e75668 Compare November 29, 2018 08:54
@stasm stasm changed the base branch from master to zeroeight November 29, 2018 09:04
@stasm stasm force-pushed the zeroeight-part6-macro-attrs branch from 7e75668 to 1c684da Compare November 29, 2018 18:14
Copy link
Contributor

@Pike Pike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I'd like to see changed: there's a "even more optimistic" change in variants parsing, and I'm not that optimistic.

r=me with that.

@@ -378,7 +376,7 @@ export default class FluentResource extends Map {
consumeToken(TOKEN_BRACKET_OPEN, FluentError);
let key = test(RE_NUMBER_LITERAL)
? parseNumberLiteral()
: match(RE_IDENTIFIER);
: match(RE_REFERENCE)[2];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep the level of strictness here that we used to have? i.e., ensure that sigil and attribute are undefined?

@stasm stasm force-pushed the zeroeight-part6-macro-attrs branch from a88d3a6 to cb22f54 Compare November 30, 2018 12:37
@stasm stasm merged commit 2cad174 into projectfluent:zeroeight Nov 30, 2018
@stasm stasm deleted the zeroeight-part6-macro-attrs branch November 30, 2018 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants