Changeset 866


Ignore:
Timestamp:
Jan 3, 2011, 6:21:16 PM (8 years ago)
Author:
cameron
Message:

Update for @global struct type declarations.

Location:
proto/parabix2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template.c

    r861 r866  
    202202}
    203203
     204@global
    204205
    205206void do_process(FILE *infile, FILE *outfile) {
  • proto/parabix2/parabix2_pablo.py

    r862 r866  
    448448        tag_Callouts.error = ParseError
    449449
    450         # All remaining "&" must be reference start characters; parse them.
    451 
     450
     451#
     452#  Reference parsing
     453#
     454#def parse_refs(lex, scope1, ctCDPI_Callouts, ref_Callouts):
    452455        ref_Callouts.GenRef_starts = 0
    453456        ref_Callouts.GenRef_ends = 0
     
    459462
    460463        Ref1 = lex.RefStart &~ ctCDPI_Callouts.CtCDPI_mask
     464        # All remaining "&" must be reference start characters; parse them.
    461465        if Ref1:
    462466                scope1.RefStart = bitutil.Advance(Ref1)
Note: See TracChangeset for help on using the changeset viewer.