parsers/java/PPJavaLexicon.st
changeset 437 54b3bc9e3987
parent 436 e1c44b571db9
child 454 a9cd5ea7cc36
equal deleted inserted replaced
436:e1c44b571db9 437:54b3bc9e3987
   179 	^(lineTerminator not) , unicodeInputCharacter ==> #second
   179 	^(lineTerminator not) , unicodeInputCharacter ==> #second
   180 !
   180 !
   181 
   181 
   182 lineTerminator
   182 lineTerminator
   183 
   183 
   184         ^ ((Character codePoint: 10)   asParser) / ((Character codePoint: 13) asParser , ((Character codePoint: 10) asParser ) optional )
   184     self flag: 'Hack alert - should be fixed immediately in PJTraditionalCommentsNode>>comment:'.
   185 
   185 
   186     "Modified: / 21-04-2015 / 16:55:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   186         ^ (((Character codePoint: 10) asParser) ==> [ :lf | Array with: lf with: nil ])
       
   187           / (((Character codePoint: 13) asParser , ((Character codePoint: 10) asParser ) optional )) ==> [ :nodes | Array with: nodes first with: nil ]
       
   188 
       
   189     "Modified: / 21-04-2015 / 17:16:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   187 ! !
   190 ! !
   188 
   191 
   189 !PPJavaLexicon methodsFor:'grammar-literals'!
   192 !PPJavaLexicon methodsFor:'grammar-literals'!
   190 
   193 
   191 literal
   194 literal