EOL is now accepted as ';' replacement on lines that look like: feature_xyz(option)
This commit is contained in:
@@ -202,12 +202,11 @@ LibertyAst *LibertyParser::parse()
|
||||
{
|
||||
tok = lexer(str);
|
||||
|
||||
if (tok == ';')
|
||||
// allow both ';' and new lines to
|
||||
// terminate a statement.
|
||||
if ((tok == ';') || (tok == 'n'))
|
||||
break;
|
||||
|
||||
if (tok == 'n')
|
||||
continue;
|
||||
|
||||
if (tok == ':' && ast->value.empty()) {
|
||||
tok = lexer(ast->value);
|
||||
if (tok != 'v')
|
||||
|
||||
Reference in New Issue
Block a user