Loading

Paste #pxxnsfmhd

  1.     def p_xxx(p):
  2.         "xxx : xxx2"
  3.         p[0] = [p[1]]
  4.  
  5.     def p_elements2(p):
  6.         "xxx : xxx xxx2"
  7.         p[0] = p[1] + [p[2]]
  8.        
  9.         i would use this as template
  10.         and then have the uncion macro what ever you want to call it
  11.         replace the xxx and xxx2 1 by 1

Comments