Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coevolving std::Layout with std::Whitespace (see issue #86)
- Loading branch information
1 parent
7cef136
commit b42b710
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@license{ | ||
Copyright (c) 2009-2011 CWI | ||
Copyright (c) 2009-2013 CWI | ||
This comment has been minimized.
Sorry, something went wrong. |
||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v1.0 | ||
which accompanies this distribution, and is available at | ||
|
@@ -12,7 +12,7 @@ extend lang::std::Whitespace; | |
extend lang::std::Comment; | ||
|
||
layout Standard | ||
= WhitespaceOrComment* !>> [\ \t\n\f\r] !>> "//"; | ||
= WhitespaceOrComment* !>> [\u0009-\u000D \u0020 \u0085 \u00A0 \u1680 \u180E \u2000-\u200A \u2028 \u2029 \u202F \u205F \u3000] !>> "//"; | ||
This comment has been minimized.
Sorry, something went wrong.
DavyLandman
Member
|
||
|
||
syntax WhitespaceOrComment | ||
= whitespace: Whitespace | ||
|
Future proof Vadim ;-)
(good commit btw!)