[pure-lang-svn] SF.net SVN: pure-lang: [252] pure/trunk/symtable.cc
Status: Beta
Brought to you by:
agraef
From: <ag...@us...> - 2008-06-18 07:23:59
|
Revision: 252 http://pure-lang.svn.sourceforge.net/pure-lang/?rev=252&view=rev Author: agraef Date: 2008-06-18 00:24:07 -0700 (Wed, 18 Jun 2008) Log Message: ----------- Rename '|' -> 'or', '&' -> 'and'. Modified Paths: -------------- pure/trunk/symtable.cc Modified: pure/trunk/symtable.cc =================================================================== --- pure/trunk/symtable.cc 2008-06-18 07:23:39 UTC (rev 251) +++ pure/trunk/symtable.cc 2008-06-18 07:24:07 UTC (rev 252) @@ -158,20 +158,20 @@ symbol& symtable::bitor_sym() { - symbol *_sym = lookup("|"); + symbol *_sym = lookup("or"); if (_sym) return *_sym; else - return sym("|", 6, infixl); + return sym("or", 6, infixl); } symbol& symtable::bitand_sym() { - symbol *_sym = lookup("&"); + symbol *_sym = lookup("and"); if (_sym) return *_sym; else - return sym("&", 7, infixl); + return sym("and", 7, infixl); } symbol& symtable::shl_sym() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |