Variable table and column names? wtf?!
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Parser / SQLite.pm
index faa22d2..88302f2 100644 (file)
@@ -459,9 +459,9 @@ string :
 
 nonstring : /[^;\'"]+/
 
-statement_body : (string | nonstring)(s?)
+statement_body : string | nonstring
 
-trigger_step : /(select|delete|insert|update)/i statement_body SEMICOLON
+trigger_step : /(select|delete|insert|update)/i statement_body(s?) SEMICOLON
     {
         $return = join( ' ', $item[1], join ' ', @{ $item[2] || [] } )
     }