Skip to content
Browse files

error compiling macros

  • Loading branch information...
1 parent 1ab26aa commit ae94923dbd9bdd5cda2a546c41619b32c7e709b8 @enriquepablo committed Apr 21, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 nl/nlc/utils.py
View
4 nl/nlc/utils.py
@@ -17,11 +17,9 @@
# along with any part of the nlproject.
# If not, see <http://www.gnu.org/licenses/>.
-from nl.nlc.preprocessor import Preprocessor
from nl.nlc import compiler
-def compile(s):
- preprocessor = Preprocessor()
+def parse(s, preprocessor):
preprocessed = preprocessor.parse(s)
return compiler.yacc.parse(preprocessed)

0 comments on commit ae94923

Please sign in to comment.
Something went wrong with that request. Please try again.