Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Minor
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
4 Aug 2009 at 06:34 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lyaunzbe commentedI'd like a try at this, though I'll probably need some help wading through and understanding the actual function. Just from taking a quick look, it appears as though $ctok represents the current token being operated on within the foreach loop that is iterating through an array of tokens.
Comment #2
marc delay commentedhit this with the big variable name stick.
$elstk => $element_stack
$ctok => $current_token
$opstk => $operator_stack
$prec => $precedence
$rasc => $right_associativity
$prevsize => $previous_size
okay, maybe the last one wasn't needed, but I was on a roll
Comment #4
marc delay commentedwhoops, i accidentally rolled the patch against an already modified locale.inc file.
hes the right roll up.
Comment #5
aspilicious commentedapplied without conflicts...
RTBC?
Comment #6
iwayman commentedApplied without conflict. Code reviewed; all variables from the _locale_import_parse_arithmetic() function are now descriptive enough.
Comment #7
dries commentedNice clean-up. Committed to CVS HEAD. Thanks.