Changeset 16008 for lang/actionscript
- Timestamp:
- 07/19/08 02:13:04 (4 months ago)
- Location:
- lang/actionscript/ascss/src
- Files:
-
- 2 modified
-
KyotoDemo.swf (modified) (previous)
-
css/CSSLexer.as (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/ascss/src/css/CSSLexer.as
r15905 r16008 64 64 private static const mRxSingleChars:RegExp = /^[)-+;:{}#.,*>~\[\]=]/ 65 65 private static const mRxNth:RegExp = /^((-?[0-9]*n[\+-][0-9]+)|(-?[0-9]*n))/ 66 private static const mRxNthCheck:RegExp = /^n[_0-9a-zA-Z]/ 66 67 private static const mRxCommnet:RegExp = new RegExp("^\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\/"); 67 68 … … 149 150 return kw; 150 151 152 var no_nth:Boolean = mRxNthCheck.exec(mCurSource) != null; 153 151 154 var rxr:Object; 152 155 if ((rxr = mRxString.exec(mCurSource)) != null) … … 205 208 advance = rxr[0].length; mTokBody = rxr[1]; 206 209 } 207 else if ( (rxr = mRxNth.exec(mCurSource)) != null)210 else if (!no_nth && (rxr = mRxNth.exec(mCurSource)) != null) 208 211 { 209 212 kw = PARSER.NTH;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)