Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/lamont/src/compiler/parser/diderot.grm
ViewVC logotype

Diff of /branches/lamont/src/compiler/parser/diderot.grm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1116, Thu May 5 04:49:02 2011 UTC revision 1296, Thu Jun 9 12:42:09 2011 UTC
# Line 35  Line 35 
35    | KW_vec4             ("vec4")    | KW_vec4             ("vec4")
36    | KW_zeros            ("zeros")       (* zero tensor *)    | KW_zeros            ("zeros")       (* zero tensor *)
37    | OP_eq               ("=")    | OP_eq               ("=")
38      | OP_pluseq           ("+=")
39      | OP_minuseq          ("-=")
40      | OP_stareq           ("*=")
41      | OP_slasheq          ("/=")
42    | OP_orelse           ("||")    | OP_orelse           ("||")
43    | OP_andalso          ("&&")    | OP_andalso          ("&&")
44    | OP_lt               ("<")    | OP_lt               ("<")
# Line 218  Line 222 
222                  => (markStmt(FULL_SPAN, PT.S_New(ID, Arguments)))                  => (markStmt(FULL_SPAN, PT.S_New(ID, Arguments)))
223          | ID "=" Expr ";"          | ID "=" Expr ";"
224                  => (markStmt(FULL_SPAN, PT.S_Assign(ID, Expr)))                  => (markStmt(FULL_SPAN, PT.S_Assign(ID, Expr)))
225            | ID "+=" Expr ";"
226                    => (markStmt(FULL_SPAN, PT.S_OpAssign(ID, B.asgn_add, Expr)))
227            | ID "-=" Expr ";"
228                    => (markStmt(FULL_SPAN, PT.S_OpAssign(ID, B.asgn_sub, Expr)))
229            | ID "*=" Expr ";"
230                    => (markStmt(FULL_SPAN, PT.S_OpAssign(ID, B.asgn_mul, Expr)))
231            | ID "/=" Expr ";"
232                    => (markStmt(FULL_SPAN, PT.S_OpAssign(ID, B.asgn_div, Expr)))
233          ;          ;
234    
235  Arguments  Arguments

Legend:
Removed from v.1116  
changed lines
  Added in v.1296

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0