Browse files

Updated language specifications and wrote install script

  • Loading branch information...
1 parent b6566f0 commit 8d0c69e2ea52806943b2ee9dcd94c8b0aa48fde0 @evilsocket committed Apr 28, 2010
Showing with 21 additions and 0 deletions.
  1. +11 −0 hybris.lang
  2. +10 −0 install.sh
View
11 hybris.lang
@@ -91,6 +91,9 @@
<keyword>true</keyword>
<keyword>false</keyword>
<keyword>null</keyword>
+ <keyword>argc</keyword>
+ <keyword>__FILE__</keyword>
+ <keyword>__LINE__</keyword>
<keyword>__VERSION__</keyword>
<keyword>__LIB_PATH__</keyword>
<keyword>__INC_PATH__</keyword>
@@ -169,7 +172,9 @@
<keyword>var_values</keyword>
<keyword>user_functions</keyword>
<keyword>dyn_functions</keyword>
+ <keyword>methods</keyword>
<keyword>call</keyword>
+ <keyword>call_method</keyword>
<keyword>urlencode</keyword>
<keyword>urldecode</keyword>
<keyword>base64encode</keyword>
@@ -213,6 +218,12 @@
<keyword>sqrt</keyword>
<keyword>tan</keyword>
<keyword>tanh</keyword>
+
+ <keyword>__to_string</keyword>
+ <keyword>__size</keyword>
+ <keyword>__attribute</keyword>
+ <keyword>__method</keyword>
+ <keyword>__expire</keyword>
</keyword-list>
<keyword-list _name="Constructors" style="Others 2" case-sensitive="TRUE">
View
10 install.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+if [ "$(id -u)" != "0" ]; then
+ echo "This script must be run as root" 1>&2
+ exit 1
+fi
+
+cp hybris.xml /usr/share/mime/packages/
+update-mime-database /usr/share/mime/
+cp hybris.lang ~/.gnome2/gtksourceview-1.0/language-specs/

0 comments on commit 8d0c69e

Please sign in to comment.