branch : pmacs2
This commit is contained in:
moculus 2009-05-04 21:42:02 +00:00
parent fa5f7908d4
commit affd8f13f4
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ end_rules = [
class PlPgSqlGrammar1(Grammar): pass class PlPgSqlGrammar1(Grammar): pass
class PlPgSqlGrammar2(Grammar): pass class PlPgSqlGrammar2(Grammar): pass
sql_type_rule = NocasePatternRule(r'sql_type', r'(?:void|row|serial|varchar|float|integer|int|text|timestamptz|timestamp|datetz|date|timetz|time|boolean|bool)(?![A-Za-z0-9_])') sql_type_rule = NocasePatternRule(r'sql_type', r'(?:void|row|serial|varchar|float|integer|int|text|timestamptz|timestamp|datetz|date|timetz|time|bytea|boolean|bool)(?![A-Za-z0-9_])')
class FunctionGrammar(Grammar): class FunctionGrammar(Grammar):
rules = base_rules + [ rules = base_rules + [
@ -140,8 +140,8 @@ class SqlTabber(StackTabber):
else: else:
unhandled = True unhandled = True
if self.is_rightmost_token(y, i) and unhandled: #if self.is_rightmost_token(y, i) and unhandled:
self._opt_append('cont', currlvl + w) # self._opt_append('cont', currlvl + w)
return currlvl return currlvl