Closed (fixed)
Project:
Grammar Parser
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
1 Aug 2012 at 01:23 UTC
Updated:
15 Aug 2012 at 17:01 UTC
Add support for one-line statement blocks with no braces. The current code adds braces to all block statements (conditionals, for, foreach, etc.). This change is needed to implement complete whitespace and comment preservation.
See patch(es).
Before committing, code will be reviewed, tested against D8 core files, and documentation updated.
Not applicable.
To be completed later.
Comments
Comment #1
solotandem commentedSee commits tagged with this issue (node ID).