summaryrefslogtreecommitdiff
path: root/lang/ccscript/files/patch-src_script.h
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-02-19 17:17:06 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-02-19 17:17:06 +0000
commit7b00c80ee875601d3c49de65d6e57d5485acf8a6 (patch)
treec312eeb2ffbebd57c9bd57890bdaf54550003db0 /lang/ccscript/files/patch-src_script.h
parent- Chase MASTERSITES (diff)
Update to 2.5.7 and unbreak.
PR: ports/77650 Submitted by: Johan van Selst
Notes
Notes: svn path=/head/; revision=129286
Diffstat (limited to '')
-rw-r--r--lang/ccscript/files/patch-src_script.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/lang/ccscript/files/patch-src_script.h b/lang/ccscript/files/patch-src_script.h
new file mode 100644
index 000000000000..158c0b717e41
--- /dev/null
+++ b/lang/ccscript/files/patch-src_script.h
@@ -0,0 +1,51 @@
+--- src/script.h.orig Thu Feb 17 19:01:10 2005
++++ src/script.h Thu Feb 17 19:00:29 2005
+@@ -550,11 +550,6 @@ protected:
+ virtual unsigned long getTrapMask(const char *trapname);
+
+ /**
+- * Default compiler syntax to accept any syntax.
+- */
+- char *chkIgnore(Line *line, ScriptImage *img);
+-
+- /**
+ * Module based script checker.
+ */
+ char *chkModule(Line *line, ScriptImage *img);
+@@ -598,15 +593,6 @@ protected:
+ char *chkNoArgs(Line *line, ScriptImage *img);
+
+ /**
+- * Script compiler syntax check for commands that require
+- * one or more arguments to be present.
+- *
+- * @return syntax error message string or NULL.
+- * @param line statement.
+- */
+- char *chkHasArgs(Line *line, ScriptImage *img);
+-
+- /**
+ * Load a set of keywords into the system keyword table. This
+ * provides a convenient method of initializing and adding to
+ * the keyword indexes.
+@@ -658,6 +644,20 @@ public:
+
+ virtual int mapnicmp(const char *s1, const char *s2, size_t n)
+ {return strnicmp(s1, s2, n);};
++
++ /**
++ * Script compiler syntax check for commands that require
++ * one or more arguments to be present.
++ *
++ * @return syntax error message string or NULL.
++ * @param line statement.
++ */
++ char *chkHasArgs(Line *line, ScriptImage *img);
++
++ /**
++ * Default compiler syntax to accept any syntax.
++ */
++ char *chkIgnore(Line *line, ScriptImage *img);
+ };
+
+ /**