1# Copyright (c) 2003-2005 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 20 unchanged lines hidden (view full) --- 29import os 30import sys 31import re 32import string 33import traceback 34# get type names 35from types import * 36 |
37from ply import lex 38from ply import yacc 39 40##################################################################### 41# 42# Lexer 43# 44# The PLY lexer module takes two things as input: --- 1979 unchanged lines hidden --- |