Adjust line number before/after #calc{} scanner for improved error messages.

This commit is contained in:
Mark Olesen
2010-01-03 21:45:32 +01:00
parent ebfdafad7f
commit e0ba4cbb02
4 changed files with 16 additions and 8 deletions

View File

@ -1,6 +1,8 @@
.SUFFIXES: .ATG
# handie Coco/R attributed grammars
ATGtoo = Coco -single -frames $(WM_THIRD_PARTY_DIR)/coco-r/src $$SOURCE -o $(OBJECTS_DIR) ; $(CC) $(c++FLAGS) -c $*.cpp -o $@
.SUFFIXES: .atg
.ATG.dep:
atgtoo = Coco -single -frames $(WM_THIRD_PARTY_DIR)/coco-cpp/src $$SOURCE -o $(OBJECTS_DIR) ; $(CC) $(c++FLAGS) -c $*.cpp -o $@
.atg.dep:
$(MAKE_DEP)