Browse Source

+ handle unary plus

git-svn-id: trunk@13820 -
florian 16 years ago
parent
commit
41c5735b40
2 changed files with 336 additions and 260 deletions
  1. 332 260
      utils/h2pas/h2pas.pas
  2. 4 0
      utils/h2pas/h2pas.y

File diff suppressed because it is too large
+ 332 - 260
utils/h2pas/h2pas.pas


+ 4 - 0
utils/h2pas/h2pas.y

@@ -2806,6 +2806,10 @@ unary_expr:
      {
      $$:=new(presobject,init_preop('-',$2));
      }|
+     _PLUS unary_expr
+     {
+     $$:=new(presobject,init_preop('+',$2));
+     }|
      _AND unary_expr %prec R_AND
      {
      $$:=new(presobject,init_preop('@',$2));

Some files were not shown because too many files changed in this diff