Changeset 3239 for proto/pabloj/trunk


Ignore:
Timestamp:
May 30, 2013, 12:17:33 PM (6 years ago)
Author:
ksherdy
Message:

Updated to AdvanceN(X,1) from Advance(X,1). Disallow function overloading.

Location:
proto/pabloj/trunk/input/test/pabloS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/input/test/pabloS/proto/parabix2_pablo_r2797.py

    r3235 r3239  
    321321    v = lex.LAngle | lex.Hyphen
    322322    w = lex.Hyphen | lex.QMark
    323     v1 = pablo.Advance(v,1)
    324     w1 = pablo.Advance(w,1)
     323    v1 = pablo.AdvanceN(v,1)  # pablo.Advance => pablo.AdvanceN
     324    w1 = pablo.AdvanceN(w,1)  # pablo.Advance => pablo.AdvanceN
    325325   
    326326    LAngle_scope = v1 &~ w1  #pablo.Advance(lex.LAngle)
  • proto/pabloj/trunk/input/test/pabloS/test.pablos

    r3192 r3239  
    292292    stream v = (lex.LAngle | lex.Hyphen);
    293293    stream w = (lex.Hyphen | lex.QMark);
    294     stream v1 = pablo.Advance(v, 1);
    295     stream w1 = pablo.Advance(w, 1);
     294    stream v1 = pablo.AdvanceN(v, 1);
     295    stream w1 = pablo.AdvanceN(w, 1);
    296296    stream LAngle_scope = (v1 & (~ w1));
    297297    stream PI_opener = (LAngle_scope & lex.QMark);
Note: See TracChangeset for help on using the changeset viewer.