summaryrefslogtreecommitdiff
path: root/Source/Core/parser.frame
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/parser.frame')
-rw-r--r--Source/Core/parser.frame6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Core/parser.frame b/Source/Core/parser.frame
index 81c7e67c..c7818e57 100644
--- a/Source/Core/parser.frame
+++ b/Source/Core/parser.frame
@@ -26,6 +26,10 @@ public class Parser {
errDist = 0;
}
+ public static void SemErr(IToken! tok, string! msg) {
+ Errors.SemErr(tok.filename, tok.line, tok.col, msg);
+ }
+
static void Get() {
for (;;) {
token = t;
@@ -96,4 +100,4 @@ public class Parser {
} // end Parser
} // end namespace
-$$$ \ No newline at end of file
+$$$