Skip to content

Commit

Permalink
fixed syntax highlighting bug
Browse files Browse the repository at this point in the history
added rascal directories to .ignore
  • Loading branch information
JJWTimmer committed Jul 16, 2012
1 parent 86906d2 commit 470f981
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
bin

eclipse
std
10 changes: 5 additions & 5 deletions src/Plugin.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import lang::derric::Syntax;
import util::IDE;
import ParseTree;

alias ConcreteFormat = lang::derric::Syntax::Format;

public void main() {
registerLanguage("Derric", "derric", Format(str input, loc org) {
return parse(#start[ConcreteFormat], input, org);
});
registerLanguage("Derric", "derric", parser);
}

public start[Format] parser(str input, loc org) {
return parse(#start[Format], input, org);
}

0 comments on commit 470f981

Please sign in to comment.